:root {
  --bg: #f4f0e8;
  --bg-deep: #163b2f;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf8;
  --surface-dark: rgba(15, 34, 28, 0.74);
  --ink: #173129;
  --muted: #5f6f67;
  --line: rgba(27, 59, 47, 0.12);
  --accent: #2b8a5d;
  --accent-strong: #1f6b47;
  --accent-soft: #dff2e6;
  --sand: #e7d5b8;
  --gold: #c99b55;
  --shadow-lg: 0 22px 56px rgba(17, 34, 27, 0.12);
  --shadow-md: 0 12px 30px rgba(22, 36, 29, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223, 242, 230, 0.95), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(201, 155, 85, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(67, 140, 98, 0.17), transparent 26%),
    linear-gradient(180deg, #f7f3eb 0%, #f1ede5 52%, #ece6db 100%);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

.page {
  position: relative;
  overflow: clip;
}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34vw;
  height: 34vw;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.36;
  z-index: -1;
}

.page::before {
  top: -10vw;
  left: -8vw;
  background: rgba(64, 146, 91, 0.18);
}

.page::after {
  right: -8vw;
  bottom: 20vh;
  background: rgba(209, 170, 102, 0.18);
}

.hero-wrap,
.section,
.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero-wrap {
  padding: 22px 0 14px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 26px;
  padding: 28px;
  border-radius: calc(var(--radius-xl) + 6px);
  color: #edf7ee;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(130deg, #15382c 0%, #23523f 52%, #2c6a50 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9efde;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9be5b0, #f0df9a);
  box-shadow: 0 0 18px rgba(206, 229, 148, 0.5);
}

.hero-title {
  margin: 18px 0 12px;
  font-size: clamp(34px, 7vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-title span {
  display: block;
  color: #f2e1bd;
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: rgba(237, 247, 238, 0.84);
  font-size: 16px;
  line-height: 1.8;
}

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

.hero-button,
.ghost-button,
.filter-chip {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2e2ba 0%, #e6c887 100%);
  color: #193528;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(22, 34, 28, 0.18);
}

.hero-button:hover,
.ghost-button:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #edf7ee;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.stat-value {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: rgba(237, 247, 238, 0.7);
  font-size: 13px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.floating-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.92;
}

.floating-stage::before {
  content: "";
  position: absolute;
  inset: 14% 12% auto;
  height: 58%;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-6deg);
}

.floating-case {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 20px 44px rgba(13, 26, 20, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(249, 252, 249, 0.16);
  backdrop-filter: blur(14px);
  animation: drift 8s ease-in-out infinite;
}

.floating-case:nth-child(2) {
  animation-delay: -2.6s;
}

.floating-case:nth-child(3) {
  animation-delay: -5.2s;
}

.floating-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-case::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 41, 33, 0.72);
  color: #f4fbf5;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.floating-case.case-a {
  inset: 2% 24% 32% 2%;
  transform: rotate(-8deg);
}

.floating-case.case-b {
  inset: 18% 4% 10% 34%;
  transform: rotate(7deg);
}

.floating-case.case-c {
  inset: 44% 24% -2% 10%;
  transform: rotate(-2deg);
}

.section {
  padding: 22px 0;
}

.section-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 10px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.value-card {
  min-height: 176px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 241, 233, 0.92));
  border: 1px solid rgba(28, 56, 44, 0.08);
}

.value-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.value-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.value-card p,
.note-list li,
.spotlight-body,
.gallery-caption,
.cta-copy,
.footer-note {
  color: var(--muted);
  line-height: 1.75;
}

.side-note {
  height: 100%;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(223, 242, 230, 0.78), transparent 35%),
    linear-gradient(180deg, #fffdf8 0%, #f2ece2 100%);
  border: 1px solid rgba(29, 67, 52, 0.08);
}

.note-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 700;
}

.note-title {
  margin: 12px 0 10px;
  font-size: 26px;
  line-height: 1.08;
}

.note-list {
  margin: 16px 0 0;
  padding-left: 18px;
}

.note-list li + li {
  margin-top: 10px;
}

.category-shell {
  display: grid;
  gap: 18px;
}

.filter-bar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.86);
  border: 1px solid rgba(23, 49, 41, 0.08);
  box-shadow: 0 12px 24px rgba(28, 43, 36, 0.08);
  backdrop-filter: blur(18px);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  font-weight: 700;
}

.filter-chip span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.filter-chip.active {
  color: #f5fbf6;
  background: linear-gradient(135deg, var(--accent-strong), #2f8a5e);
  box-shadow: 0 10px 22px rgba(34, 99, 68, 0.2);
}

.filter-chip.active span {
  color: rgba(244, 251, 245, 0.8);
}

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

.spotlight-card {
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(248, 244, 236, 0.96));
  border: 1px solid rgba(23, 49, 41, 0.08);
}

.spotlight-card[data-tone="GRS"] {
  background:
    radial-gradient(circle at top right, rgba(223, 242, 230, 0.98), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 251, 246, 0.92));
}

.spotlight-card[data-tone="FSC"] {
  background:
    radial-gradient(circle at top right, rgba(226, 237, 203, 0.94), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 240, 228, 0.94));
}

.spotlight-card[data-tone="OCS"] {
  background:
    radial-gradient(circle at top right, rgba(252, 236, 201, 0.9), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 244, 232, 0.95));
}

.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spotlight-name {
  font-size: 22px;
  font-weight: 800;
}

.spotlight-count {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.spotlight-body {
  margin: 12px 0 0;
  font-size: 14px;
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.gallery-meta {
  color: var(--muted);
  font-size: 14px;
}

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

.case-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(23, 49, 41, 0.08);
  box-shadow: 0 16px 30px rgba(19, 35, 29, 0.08);
}

.case-card button {
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
}

.case-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(223, 242, 230, 0.82), rgba(248, 240, 224, 0.92));
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(12, 28, 22, 0.72);
  color: #eff9f1;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.case-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.case-copy {
  padding: 16px 16px 18px;
}

.case-title {
  margin: 0;
  font-size: 20px;
}

.gallery-caption {
  margin: 8px 0 0;
  font-size: 14px;
}

.empty-state {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 49, 41, 0.12);
  text-align: center;
  color: var(--muted);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  color: #edf7ee;
  background:
    radial-gradient(circle at 0 0, rgba(241, 225, 187, 0.2), transparent 26%),
    linear-gradient(135deg, #173c30 0%, #255641 100%);
  box-shadow: var(--shadow-lg);
}

.cta-kicker {
  color: #f1dfba;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.cta-title {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.03;
}

.cta-copy {
  max-width: 700px;
  color: rgba(237, 247, 238, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  padding: 6px 0 40px;
}

.footer-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 49, 41, 0.08);
}

.footer-note {
  margin: 0;
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 18, 14, 0.78);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
  z-index: 40;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(100%, 1080px);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.98);
  transition: transform 180ms ease;
}

.lightbox.open .lightbox-dialog {
  transform: translateY(0) scale(1);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(18, 37, 30, 0.8);
  color: #f6fcf7;
  font-size: 24px;
  z-index: 2;
}

.lightbox-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
}

.lightbox-media {
  background: #ebe4d7;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 36px);
  object-fit: contain;
}

.lightbox-copy {
  padding: 28px 24px;
}

.lightbox-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.lightbox-title {
  margin: 16px 0 12px;
  font-size: 30px;
  line-height: 1.06;
}

.lightbox-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.lightbox-hint {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(var(--card-rotate, 0deg));
  }

  50% {
    transform: translateY(-10px) rotate(calc(var(--card-rotate, 0deg) + 1deg));
  }
}

.case-a {
  --card-rotate: -8deg;
}

.case-b {
  --card-rotate: 7deg;
}

.case-c {
  --card-rotate: -2deg;
}

@media (max-width: 1080px) {
  .hero,
  .intro-grid,
  .cta-card,
  .lightbox-body {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 300px;
  }

  .value-points,
  .spotlight-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-wrap,
  .section,
  .footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding: 22px 18px;
    border-radius: 30px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-stats,
  .value-points,
  .spotlight-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-card {
    padding: 20px;
    border-radius: 26px;
  }

  .filter-bar {
    top: 10px;
    padding: 10px;
    border-radius: 24px;
  }

  .filter-chip {
    min-height: 40px;
    width: calc(50% - 5px);
    justify-content: space-between;
  }

  .cta-card {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox-dialog {
    border-radius: 24px;
  }

  .lightbox-copy {
    padding: 22px 18px;
  }

  .lightbox-title {
    font-size: 24px;
  }
}
