/* ===================================================================
   深圳市凯璇网络科技有限公司 · 官网样式
   风格: 清新明亮 / 编辑排版 / 衬线大标题 / 波浪分隔
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --mint: #f3fbf7;
  --peach: #fff3ee;
  --white: #ffffff;
  --ink: #123c36;
  --ink-soft: #567b73;

  --teal: #1fac9c;
  --teal-deep: #0e7d70;
  --teal-tint: #d8f3ee;

  --coral: #ff8e72;
  --coral-tint: #ffe1d6;

  --gold: #f2b545;
  --gold-tint: #fdecc7;

  --line: rgba(18, 60, 54, 0.14);
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: "Work Sans", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

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

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--teal), var(--coral));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: left 0.25s ease, right 0.25s ease;
}

.nav-links a:hover::after {
  left: 0;
  right: 0;
}

.nav-links a.active {
  color: var(--teal-deep);
}

.nav-links a.active::after {
  left: 0;
  right: 0;
  background: var(--coral);
}

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 64px;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}

.hero-quote-mark {
  position: absolute;
  top: -46px;
  left: -18px;
  font-family: "Fraunces", serif;
  font-size: 11rem;
  color: var(--teal);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

h1.display {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  opacity: 0;
  animation: fade-up 0.7s ease 0.1s forwards;
  position: relative;
}

h1.display em {
  font-style: italic;
  color: var(--teal-deep);
}

.hero-side {
  opacity: 0;
  animation: fade-up 0.7s ease 0.25s forwards;
}

.lead-copy {
  font-size: 1.03rem;
  color: var(--ink-soft);
}

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

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

/* vertical timeline of facts, sits in hero-side */
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-tint);
}

.timeline-item:nth-child(2)::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-tint);
}

.timeline-item:nth-child(3)::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-tint);
}

.timeline-item strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.timeline-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* wave divider */
.wave {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: -1px;
}

/* ---------- sections ---------- */
.section {
  padding: 60px 0;
}

.section.bg-white {
  background: var(--white);
}

.section.bg-peach {
  background: var(--peach);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
}

.section-heading .index-no {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--coral);
  font-size: 1.1rem;
}

.section-heading h2 {
  font-size: 1.55rem;
}

/* paragraph card, editorial pull-quote style */
.essay {
  max-width: 760px;
  border-left: 3px solid var(--coral);
  padding-left: 26px;
}

.essay p {
  font-size: 1.05rem;
  color: var(--ink);
}

.essay p + p {
  margin-top: 18px;
}

.pull-quote {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin: 30px 0;
  line-height: 1.5;
}

/* editorial nav list to sub pages */
.editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.editorial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.editorial-row:hover {
  padding-left: 14px;
  color: var(--teal-deep);
}

.editorial-row .num {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--coral);
  width: 60px;
  flex-shrink: 0;
}

.editorial-row .title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  flex: 1;
}

.editorial-row .desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  flex: 1.4;
  padding: 0 20px;
}

.editorial-row .go {
  font-size: 1.2rem;
}

/* contact */
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.contact-block {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 36px rgba(18, 60, 54, 0.06);
  border: 1px solid var(--line);
}

.contact-block .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.contact-block .value {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--teal-deep);
}

.footer-meta {
  text-align: right;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.footer-meta a {
  color: var(--teal-deep);
  text-decoration: underline;
}

.footer-company {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-quote-mark {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px;
    gap: 16px;
    display: none;
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .editorial-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .editorial-row .desc {
    padding: 0;
    order: 3;
    width: 100%;
  }

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

  .footer-meta {
    text-align: left;
  }
}
