/* =========================================================
   小勺网络创意设计 — 单页静态站
   拼豆创意图纸展示 · 无 JS · 无外部资源
   ========================================================= */

:root {
  --paper: #f7f3ea;
  --paper-deep: #f1ebdd;
  --surface: #fffefb;
  --ink: #30362f;
  --ink-soft: #565d54;
  --muted: #8b8f88;
  --line: #e5ded0;
  --green: #5f7d5b;
  --green-deep: #435c40;
  --amber: #c67825;
  --max: 1080px;
  --shadow: 0 24px 60px rgba(72, 58, 35, 0.1);
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-display: "Songti SC", "STSong", "SimSun", "Noto Serif SC",
    "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

::selection {
  background: rgba(198, 120, 37, 0.24);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 222, 208, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--green-deep);
}

/* ---------- 通用 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.24;
  text-wrap: balance;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green);
  color: #fffefb;
}

.btn--primary:hover {
  background: var(--green-deep);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(95, 125, 91, 0.16) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 120, 37, 0.14),
    transparent 66%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.mark {
  background: linear-gradient(
    transparent 64%,
    rgba(225, 166, 95, 0.46) 64%
  );
}

.hero-lead {
  max-width: 32em;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(95, 125, 91, 0.14);
}

/* ---------- 首屏图纸 ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #efe7d7;
  transform: translateX(-50%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 96px;
  left: 50%;
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(95, 125, 91, 0.36);
  border-radius: 50%;
  transform: translateX(-50%);
}

.sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 42px 84px rgba(48, 54, 47, 0.2);
  transform: rotate(-1.2deg);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.sheet-figure {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: #fbf8f2;
  background-image: radial-gradient(rgba(48, 54, 47, 0.1) 1px, transparent 1px);
  background-size: 12px 12px;
  text-align: center;
}

.sheet-figure img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.sheet-figure figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.sheet-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- 从想象到实物 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  padding-top: 22px;
  border-top: 2px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.step h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
}

.step p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.78;
}

/* ---------- 图纸 ---------- */

.patterns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pattern-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pattern-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pattern-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 14px;
  background-color: #fbf8f2;
  background-image: radial-gradient(rgba(48, 54, 47, 0.1) 1px, transparent 1px);
  background-size: 12px 12px;
}

.pattern-stage img {
  width: 100%;
  max-width: 210px;
  height: auto;
}

.pattern-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 2px;
}

.pattern-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.pattern-card figcaption span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pattern-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 关于 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 56px;
}

.about-quote {
  padding-left: 22px;
  border-left: 2px solid var(--green);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.about-quote p + p {
  margin-top: 14px;
  color: var(--green-deep);
}

.about-copy .eyebrow {
  margin-bottom: 14px;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 16px;
}

/* ---------- 联系 ---------- */

.contact-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding: 52px;
  border-radius: 28px;
  background: linear-gradient(135deg, #5f7d5b 0%, #4b6648 100%);
  color: #fffefb;
  overflow: hidden;
}

.contact-card .eyebrow {
  color: #cfe0c8;
}

.contact-card h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.28;
  text-wrap: balance;
}

.contact-card p {
  max-width: 36em;
  color: #e4eddf;
  font-size: 15px;
  line-height: 1.9;
}

.contact-card a {
  color: #fffefb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12.5px !important;
  color: #c8d8c2 !important;
}

.contact-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-disc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(20, 30, 18, 0.18);
}

.badge-disc img {
  width: 110px;
  height: auto;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 56px 0 32px;
  background: #2e372d;
  color: #e9e4d8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  flex: none;
  padding: 4px;
  border-radius: 10px;
  background: var(--paper);
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: #a7aa9e;
  font-size: 12.5px;
}

.footer-legal {
  color: #a7aa9e;
  font-size: 12px;
  line-height: 1.95;
}

.footer-legal a {
  color: #e9e4d8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fa398;
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom a {
  color: #e9e4d8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 进场动效 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s ease both;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero-copy > *:nth-child(5) {
    animation-delay: 0.24s;
  }

  .hero-visual {
    animation: rise 0.9s 0.1s ease both;
  }

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

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 56px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 620px;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .badge-disc {
    width: 160px;
    height: 160px;
  }

  .badge-disc img {
    width: 92px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  html {
    scroll-padding-top: 126px;
  }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 8px 16px;
  }

  .site-nav {
    width: 100%;
    gap: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 8.4vw, 44px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-visual::before {
    width: 330px;
    height: 330px;
    top: 50px;
  }

  .hero-visual::after {
    width: 278px;
    height: 278px;
    top: 78px;
  }

  .sheet {
    padding: 14px;
    border-radius: 20px;
  }

  .sheet-figure {
    padding: 12px;
  }

  .sheet-figure img {
    max-width: 160px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .patterns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pattern-stage img {
    max-width: 220px;
  }

  .contact-card {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .contact-badge {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
