:root {
  --paper: #f7f3ec;
  --surface: #fffdf9;
  --ink: #1f2a26;
  --muted: #718078;
  --accent: #4f7a68;
  --accent-dark: #3e6354;
  --accent-soft: #e4eee8;
  --peach: #e8a87c;
  --peach-soft: #f8e7da;
  --gold: #c9a15e;
  --line: #e8e1d6;
  --radius: 20px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 225, 214, 0.75);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  padding: 76px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 78px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.5;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 30em;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  color: var(--accent-dark);
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.hero-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "∞";
  position: absolute;
  inset: -40px -20px auto auto;
  font-family: var(--serif);
  font-size: 260px;
  line-height: 1;
  color: rgba(79, 122, 104, 0.06);
  pointer-events: none;
}

.orbit {
  width: min(100%, 460px);
  height: auto;
  overflow: visible;
}

.orbit .line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  opacity: 0.7;
}

.orbit .line-soft {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.38;
}

.orbit .dot {
  fill: var(--paper);
  stroke: var(--accent);
  stroke-width: 1.3;
}

.orbit .dot-fill {
  fill: var(--accent);
}

.orbit text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.section {
  padding: 0 0 88px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-label {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section-note {
  max-width: 24em;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-copy {
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-index {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  margin-bottom: 26px;
}

.work-copy h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}

.work-copy p {
  max-width: 24em;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
}

.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.work-shot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 360px;
  padding: 34px 34px 0;
  background: var(--accent-soft);
  overflow: hidden;
}

.work-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 161, 94, 0.18), transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(79, 122, 104, 0.18), transparent 36%);
}

.work-shot img {
  position: relative;
  width: min(58%, 270px);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 38px rgba(31, 42, 38, 0.16);
}

.manifesto {
  padding: clamp(28px, 5vw, 50px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: start;
}

.manifesto blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 4.3vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.manifesto p {
  color: var(--muted);
  font-size: 14px;
}

.manifesto p + p {
  margin-top: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.about-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.about-card p + p {
  margin-top: 12px;
}

.about-name {
  font-family: var(--serif);
  font-size: 27px;
  margin-bottom: 6px;
}

.about-role {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.text-link {
  color: var(--accent-dark);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 122, 104, 0.35);
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 12px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

/* Product page */

.product-hero {
  padding: 66px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.product-hero-copy h1 {
  font-size: clamp(44px, 7vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.product-hero-copy .product-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 27px);
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.product-hero-copy p {
  max-width: 33em;
  color: var(--muted);
  font-size: 14px;
}

.product-icon {
  width: 132px;
  border-radius: 28px;
  box-shadow: 0 20px 36px rgba(31, 42, 38, 0.16);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.feature span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 10px 0 6px;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.shot {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.shot img {
  width: 100%;
  border-radius: 10px;
}

.shot p {
  padding: 10px 2px 2px;
  color: var(--muted);
  font-size: 12px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.trust-item {
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent-dark);
  font-size: 13px;
}

.note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 20px;
}

.product-footer {
  margin-top: 18px;
}

@media (max-width: 820px) {
  .wrap {
    width: min(100% - 32px, 1080px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px 0 64px;
  }

  .hero-art {
    min-height: 260px;
    order: -1;
  }

  .orbit {
    width: min(100%, 340px);
  }

  .hero-art::before {
    font-size: 190px;
    right: 0;
  }

  .section {
    padding-bottom: 62px;
  }

  .section-head {
    display: block;
  }

  .section-note {
    margin-top: 8px;
    text-align: left;
  }

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

  .work-shot {
    min-height: 300px;
    order: -1;
    padding-top: 28px;
  }

  .work-shot img {
    width: min(52%, 220px);
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 0 56px;
  }

  .product-icon {
    width: 96px;
    border-radius: 22px;
    order: -1;
  }

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

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

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

  .footer-row {
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .nav-links {
    gap: 12px;
    flex-shrink: 0;
  }

  .hero-copy,
  .hero-art,
  .work-card,
  .work-copy,
  .work-shot,
  .product-hero-copy {
    min-width: 0;
  }

  .hero-lead {
    max-width: 100%;
  }

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

@media (max-width: 460px) {
  .hero h1 {
    font-size: 48px;
  }
}
