/* Freeform · 孚瑞丰 — freeform.top */

:root {
  --ink: #0c1421;
  --ink-2: #131e2e;
  --paper: #f8f6f2;
  --card: #ffffff;
  --line: #e3ded5;
  --muted: #5b6572;
  --bronze: #a8763a;
  --bronze-l: #d7b283;
  --max: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

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

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 20, 33, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 28px;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: #f2efe8; margin-right: auto;
}

.brand-name {
  font-size: 15px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; line-height: 1.1;
}
.brand-cn {
  display: block; font-size: 11px; letter-spacing: 0.28em;
  color: var(--bronze-l); font-weight: 400; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(242, 239, 232, 0.72); text-decoration: none;
  font-size: 14px; letter-spacing: 0.01em; transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.lang {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 26px; color: var(--bronze-l);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 3px;
  background: var(--bronze); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid var(--bronze);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: #94662f; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #f2efe8;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--paper); border-color: var(--bronze); color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #f2efe8;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}

.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: ""; position: absolute; top: -220px; right: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 118, 58, 0.32), transparent 62%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 22px; font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--bronze-l);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--bronze);
  display: inline-block;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 4.05rem);
  line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 400; margin: 0 0 24px; max-width: 17ch;
}
h1 em { font-style: italic; color: var(--bronze-l); }

.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.75;
  color: rgba(242, 239, 232, 0.76); max-width: 60ch; margin: 0 0 34px;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin: 52px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}
.hero-facts li {
  font-size: 13.5px; color: rgba(242, 239, 232, 0.62);
  padding: 0 30px 0 0; margin: 0 30px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts strong { color: #f2efe8; font-weight: 600; display: block; font-size: 14px; margin-bottom: 2px; }

/* ---------- sections ---------- */

section { padding: clamp(56px, 7vw, 92px) 0; }

.sec-head { max-width: 62ch; margin-bottom: 44px; }
.sec-num {
  font-size: 12px; letter-spacing: 0.2em; color: var(--bronze);
  text-transform: uppercase; font-weight: 600; margin: 0 0 14px;
}
h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.2;
  letter-spacing: -0.015em; margin: 0 0 16px;
}
.sec-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* ---------- capability cards ---------- */

.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--card); padding: 34px 32px 36px;
  transition: background 0.2s;
}
.card:hover { background: #fdfcfa; }
.card .k {
  font-size: 11.5px; letter-spacing: 0.2em; color: var(--bronze);
  font-weight: 600; display: block; margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; margin: 0 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--card); padding: 30px 26px 34px; position: relative; }
.step .n {
  font-family: var(--serif); font-size: 2.1rem; line-height: 1;
  color: var(--bronze-l); margin-bottom: 16px; display: block;
}
.step h3 { font-size: 1rem; margin: 0 0 8px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 13.8px; line-height: 1.65; }

/* ---------- company ---------- */

.company { background: var(--ink); color: #f2efe8; }
.company .sec-num { color: var(--bronze-l); }
.company h2 { color: #fff; }
.company-cols { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.company-cols p { color: rgba(242, 239, 232, 0.68); margin: 0 0 18px; font-size: 15px; line-height: 1.75; }
.company-cols p:last-child { margin-bottom: 0; }

.facts { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.facts div {
  display: grid; grid-template-columns: 168px 1fr; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.facts dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242, 239, 232, 0.45); padding-top: 3px; }
.facts dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: #f2efe8; }
.facts dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; letter-spacing: 0.02em; }

/* ---------- contact ---------- */

.contact-panel {
  border: 1px solid var(--line); background: var(--card);
  display: grid; grid-template-columns: 1.15fr 1fr;
}
.contact-main { padding: 44px 40px; }
.contact-main h2 { margin-bottom: 12px; }
.contact-main p { color: var(--muted); margin: 0 0 26px; max-width: 40ch; }
.contact-side {
  background: var(--paper); border-left: 1px solid var(--line);
  padding: 44px 40px;
}
.contact-side h3 {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 10px; font-weight: 600;
}
.contact-side p { margin: 0 0 26px; font-size: 14.2px; line-height: 1.7; color: #3d4753; }
.contact-side p:last-child { margin-bottom: 0; }
.contact-side a { color: var(--ink); }

.wa-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.wa-num { font-size: 1.32rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- footer ---------- */

.footer { background: #080e18; color: rgba(242, 239, 232, 0.5); padding: 34px 0; font-size: 12.8px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.footer a { color: rgba(242, 239, 232, 0.5); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .company-cols { grid-template-columns: 1fr; gap: 36px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-side { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.lang):not(.btn) { display: none; }
  .hero-facts { flex-direction: column; gap: 14px; }
  .hero-facts li { border-right: 0; margin: 0; padding: 0; }
  .steps { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .contact-main, .contact-side { padding: 32px 26px; }
  .card { padding: 28px 24px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
