:root {
  --ink: #1e211d;
  --muted: #62665c;
  --paper: #f7f3eb;
  --paper-strong: #fffaf1;
  --line: #ded3c1;
  --green: #0f7569;
  --green-dark: #0a4e48;
  --brick: #a64b32;
  --gold: #c59b4a;
  --night: #171a17;
  --white: #ffffff;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 52px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 235, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(30, 33, 29, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/arden-hero-wide.jpg");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 20, 18, 0.98) 0%, rgba(18, 20, 18, 0.86) 42%, rgba(18, 20, 18, 0.36) 68%, rgba(18, 20, 18, 0.1) 100%),
    linear-gradient(180deg, rgba(18, 20, 18, 0.5) 0%, rgba(18, 20, 18, 0.08) 42%, rgba(18, 20, 18, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 132px 24px 68px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--brick);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--white);
}

.hero-signals {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.hero-signals div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-signals dt {
  margin-bottom: 6px;
  font-weight: 800;
}

.hero-signals dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 92px 24px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-band {
  background: var(--paper-strong);
}

.two-column,
.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 68px;
  align-items: start;
}

.prose p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.role-card,
.persona-item,
.audience-panel,
.timeline-item,
.flow-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.66);
}

.role-card {
  min-height: 260px;
  padding: 24px;
}

.card-number {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-weight: 800;
}

.role-card p,
.persona-item p,
.audience-panel p,
.timeline-item p,
.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.persona-section {
  background: #e8efe6;
}

.persona-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.persona-item {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.72);
}

.persona-item h3 {
  margin-bottom: 48px;
}

.proof-section {
  background: #ece4d5;
}

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

.proof-copy {
  max-width: 510px;
  color: var(--muted);
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 22px;
  background: var(--paper-strong);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.system-section {
  background: var(--paper);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  position: relative;
  min-height: 214px;
  padding: 20px;
}

.flow-step span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.flow-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.audience-section {
  background: var(--paper-strong);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.audience-panel {
  padding: 30px;
}

.audience-panel.accent {
  border-color: rgba(15, 117, 105, 0.36);
  background: #eef4ec;
}

.panel-label {
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.audience-panel ul,
.boundary-list,
.contact-copy ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.audience-panel li,
.boundary-list li,
.contact-copy li {
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.text-link::after {
  content: " ->";
}

.boundary-section {
  background: #efe8db;
}

.boundary-list {
  margin-top: 4px;
  color: var(--muted);
  font-size: 18px;
}

.contact-section {
  padding: 96px 24px;
  background: var(--night);
  color: var(--white);
}

.contact-inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.contact-inner h2 {
  max-width: 760px;
}

.contact-inner > p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-actions {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  margin-top: 34px;
  align-items: stretch;
}

.qr-slot {
  position: relative;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.qr-slot img {
  display: none;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.qr-slot.has-qr img {
  display: block;
}

.qr-slot.has-qr .qr-placeholder {
  display: none;
}

.qr-placeholder {
  display: grid;
  height: 100%;
  min-height: 220px;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.qr-placeholder span {
  display: block;
  font-weight: 800;
}

.qr-placeholder small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
}

.contact-copy {
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact-copy h3 {
  margin-bottom: 14px;
}

.contact-copy li {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 52px);
  background: #10120f;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 30px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding-top: 116px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 20, 18, 0.96) 0%, rgba(18, 20, 18, 0.82) 58%, rgba(18, 20, 18, 0.34) 100%),
      linear-gradient(180deg, rgba(18, 20, 18, 0.52) 0%, rgba(18, 20, 18, 0.18) 42%, rgba(18, 20, 18, 0.7) 100%);
  }

  .hero-signals,
  .role-grid,
  .persona-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .proof-layout,
  .persona-layout,
  .boundary-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-bg {
    background-image: url("./assets/arden-portrait.jpg");
    background-position: 58% 20%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(18, 20, 18, 0.22) 0%, rgba(18, 20, 18, 0.72) 44%, rgba(18, 20, 18, 0.98) 100%),
      linear-gradient(90deg, rgba(18, 20, 18, 0.36) 0%, rgba(18, 20, 18, 0.22) 100%);
  }

  .hero-content {
    display: flex;
    min-height: 86svh;
    flex-direction: column;
    justify-content: flex-end;
    padding: 96px 18px 34px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-lede,
  .prose p,
  .proof-copy,
  .boundary-list,
  .contact-inner > p {
    font-size: 16px;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-signals,
  .role-grid,
  .persona-grid,
  .flow,
  .audience-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-section {
    padding: 68px 18px;
  }

  .role-card {
    min-height: auto;
  }

  .persona-item {
    min-height: auto;
  }

  .flow-step {
    min-height: auto;
  }

  .flow-step span,
  .card-number,
  .persona-item h3 {
    margin-bottom: 20px;
  }
}
