/* =========================================================
   科瑞盛电子样册 · H5
   Editorial green / cream system, no external dependencies
   ========================================================= */

:root {
  --ink: #10241c;
  --ink-soft: #2c3d34;
  --muted: #6f7c74;
  --cream: #f7f3e8;
  --paper: #fbf9f2;
  --paper-deep: #efe9d9;
  --green-950: #041c15;
  --green-900: #062f23;
  --green-800: #093e2e;
  --green-700: #0b5e46;
  --green-600: #0a7a58;
  --brand: #008154;
  --lime: #b7d84a;
  --lime-soft: #d8e9a2;
  --line: rgba(16, 36, 28, 0.14);
  --line-light: rgba(247, 243, 232, 0.16);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4.6vw, 64px);
  --shadow: 0 24px 60px rgba(6, 47, 35, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
dt,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--lime);
  color: var(--green-950);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--lime);
  color: var(--green-950);
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1304px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--lime);
  color: var(--green-950);
  box-shadow: 0 14px 34px rgba(183, 216, 74, 0.18);
}

.btn-primary:hover {
  background: #c8e45e;
  box-shadow: 0 18px 40px rgba(183, 216, 74, 0.24);
}

.btn-soft {
  background: rgba(247, 243, 232, 0.06);
  border-color: rgba(247, 243, 232, 0.22);
  color: var(--cream);
  backdrop-filter: blur(12px);
}

.btn-soft:hover {
  background: rgba(247, 243, 232, 0.12);
  border-color: rgba(247, 243, 232, 0.36);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(247, 243, 232, 0.3);
  color: var(--cream);
}

.btn-outline-light:hover {
  background: rgba(247, 243, 232, 0.08);
  border-color: rgba(247, 243, 232, 0.55);
}

.btn-dark {
  background: var(--green-900);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--green-700);
}

.btn-dark-outline {
  background: transparent;
  border-color: rgba(6, 47, 35, 0.26);
  color: var(--green-900);
}

.btn-dark-outline:hover {
  background: rgba(6, 47, 35, 0.06);
  border-color: var(--green-900);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--green-950);
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../img/hero-waves.webp") center / cover no-repeat;
  filter: saturate(0.86) brightness(0.58);
  opacity: 0.7;
  transform: scale(1.03);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 84% 18%, rgba(183, 216, 74, 0.14), transparent 34%),
    linear-gradient(100deg, rgba(4, 28, 21, 0.98) 0%, rgba(4, 28, 21, 0.92) 40%, rgba(4, 28, 21, 0.48) 72%, rgba(3, 24, 17, 0.82) 100%),
    linear-gradient(180deg, rgba(4, 28, 21, 0.15), rgba(4, 28, 21, 0.84));
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -22vw;
  right: -14vw;
  width: 56vw;
  height: 56vw;
  border: 1px solid rgba(247, 243, 232, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(247, 243, 232, 0.05);
  border-radius: 50%;
  inset: 12%;
}

.hero-glow::after {
  inset: 27%;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(18px, 2.4vw, 30px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  color: var(--cream);
  text-decoration: none;
}

.brand-en {
  display: block;
  font-family: var(--serif);
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.brand-cn {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.29em;
  line-height: 1.4;
  color: rgba(247, 243, 232, 0.68);
}

.brand-cn i {
  color: var(--lime);
  font-style: normal;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(247, 243, 232, 0.2);
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.045);
  color: rgba(247, 243, 232, 0.86);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ghost-btn:hover {
  background: rgba(247, 243, 232, 0.1);
  border-color: rgba(247, 243, 232, 0.36);
  color: var(--cream);
}

.ghost-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  flex: 1;
  padding-block: clamp(44px, 8vh, 96px) clamp(36px, 6vh, 68px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(247, 243, 232, 0.62);
}

.eyebrow .slash,
.kicker > span {
  color: var(--lime);
  font-weight: 400;
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--lime);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(183, 216, 74, 0.55);
  border-radius: inherit;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero h1 {
  margin: 24px 0 26px;
  font-size: clamp(52px, 7.2vw, 101px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.97;
  color: var(--cream);
}

.hero h1 .accent {
  position: relative;
  white-space: nowrap;
}

.hero h1 .period {
  color: var(--lime);
}

.hero-lead {
  max-width: 555px;
  color: rgba(247, 243, 232, 0.68);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.continue-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 243, 232, 0.13);
  width: fit-content;
  color: rgba(247, 243, 232, 0.52);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.continue-row b {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 14px;
}

.continue-row button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lime);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.continue-row button span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.continue-row button:hover span {
  transform: translateX(3px);
}

.hero-stats {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-top: clamp(38px, 5vh, 56px);
}

.hero-stats > div {
  padding-inline: 0 26px;
  margin-right: 26px;
  border-right: 1px solid rgba(247, 243, 232, 0.13);
}

.hero-stats > div:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero-stats dt {
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-stats dt sup {
  color: var(--lime);
  font-family: var(--sans);
  font-size: 0.42em;
  font-weight: 600;
  vertical-align: super;
}

.hero-stats dd {
  margin-top: 7px;
  color: rgba(247, 243, 232, 0.46);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

/* Cover visual */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 380px;
  padding-right: clamp(0px, 2vw, 28px);
}

.cover-card {
  position: relative;
  width: min(100%, 342px);
  margin-left: auto;
  background: #fff;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(3.4deg);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  animation: coverIn 1.2s var(--ease) 0.25s both;
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(183, 216, 74, 0.45);
  pointer-events: none;
}

.cover-card img {
  width: 100%;
  height: auto;
}

.cover-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 52px 110px rgba(0, 0, 0, 0.46);
}

.cover-stamp {
  position: absolute;
  right: 15px;
  bottom: 15px;
  min-width: 45px;
  padding: 7px 9px;
  background: var(--cream);
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 6px 18px rgba(6, 47, 35, 0.12);
}

.cover-stamp small {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.12em;
}

@keyframes coverIn {
  from { opacity: 0; transform: rotate(8deg) translateY(26px); }
  to { opacity: 1; transform: rotate(3.4deg) translateY(0); }
}

.cover-caption {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  margin-top: 35px;
  padding-right: 2px;
  text-align: right;
}

.caption-line {
  width: 42px;
  height: 1px;
  margin-top: 9px;
  background: var(--lime);
  flex: 0 0 42px;
}

.cover-caption p {
  color: rgba(247, 243, 232, 0.75);
  font-size: 12px;
  letter-spacing: 0.13em;
  line-height: 1.6;
}

.cover-caption small {
  display: block;
  margin-top: 3px;
  color: rgba(247, 243, 232, 0.34);
  font-family: var(--serif);
  font-size: 7.5px;
  letter-spacing: 0.16em;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 19px;
  padding-bottom: clamp(20px, 3vw, 34px);
  border-top: 1px solid rgba(247, 243, 232, 0.13);
  color: rgba(247, 243, 232, 0.46);
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-location span {
  color: var(--lime);
  font-size: 12px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(247, 243, 232, 0.58);
  font-size: 9.5px;
  letter-spacing: 0.14em;
}

.cue-line {
  position: relative;
  width: 58px;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 243, 232, 0.18);
}

.cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-100%);
  animation: cue 2.8s var(--ease) infinite;
}

@keyframes cue {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* hero entrance */
.hero-copy > * {
  animation: heroRise 0.9s var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.48s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Chapters
   ========================================================= */

.chapters {
  padding-top: clamp(76px, 9vw, 124px);
  padding-bottom: clamp(58px, 7vw, 92px);
  background: var(--cream);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.kicker {
  color: var(--green-700);
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--ink);
}

.section-note {
  justify-self: end;
  max-width: 320px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  line-height: 1.9;
  text-align: right;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.chapter-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 28px rgba(6, 47, 35, 0.035);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.chapter-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 47, 35, 0.3);
  box-shadow: 0 24px 50px rgba(6, 47, 35, 0.1);
}

.chapter-card:focus-visible {
  outline-color: var(--green-700);
}

.chapter-media {
  position: relative;
  display: block;
  height: 196px;
  overflow: hidden;
  background: #e9e5d7;
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.96);
  transition: transform 1s var(--ease);
}

.chapter-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.9) 100%);
  pointer-events: none;
}

.chapter-card:hover .chapter-media img {
  transform: scale(1.035);
}

.chapter-stamp {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid rgba(6, 47, 35, 0.1);
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.94);
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.chapter-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  padding: 18px 20px 24px;
}

.chapter-kicker {
  color: var(--green-600);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.23em;
  line-height: 1.7;
}

.chapter-title {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.chapter-desc {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.chapter-page {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: rgba(16, 36, 28, 0.34);
  font-family: var(--serif);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.chapter-arrow {
  position: absolute;
  z-index: 3;
  top: 178px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(6, 47, 35, 0.2);
  transition: transform 0.35s var(--ease), background-color 0.35s ease;
}

.chapter-card:hover .chapter-arrow {
  transform: rotate(45deg);
  background: var(--green-700);
}

/* Scroll reveal: content is never hidden if the observer fails. */
.js .reveal.is-visible {
  animation: revealUp 0.8s var(--ease) both;
}

@keyframes revealUp {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

/* =========================================================
   Capability band
   ========================================================= */

.capability-band {
  border-block: 1px solid rgba(16, 36, 28, 0.1);
  background: var(--paper-deep);
}

.capability-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 30px;
}

.capability-label {
  color: var(--green-700);
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.45;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.capability-list li {
  position: relative;
  padding-inline: 23px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.capability-list li:first-child {
  padding-left: 0;
}

.capability-list li:last-child {
  padding-right: 0;
}

.capability-list li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-600);
  transform: translateY(-50%);
  opacity: 0.55;
}

.capability-list li:last-child::after {
  display: none;
}

.capability-note {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  text-align: right;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(76px, 9vw, 124px);
  background: var(--green-950);
  color: var(--cream);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero-waves.webp") center / cover no-repeat;
  filter: saturate(0.7) brightness(0.45);
  opacity: 0.48;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 30%, rgba(183, 216, 74, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(4, 28, 21, 0.95), rgba(4, 28, 21, 0.72));
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}

.kicker.light {
  color: rgba(247, 243, 232, 0.52);
}

.cta-copy h2 {
  margin: 19px 0 22px;
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.cta-copy > p:last-child {
  max-width: 460px;
  color: rgba(247, 243, 232, 0.58);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.9;
}

.cta-action {
  padding-left: clamp(0px, 3vw, 42px);
  border-left: 1px solid rgba(247, 243, 232, 0.16);
}

.cta-label {
  display: block;
  color: rgba(247, 243, 232, 0.44);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.cta-phone {
  display: inline-block;
  margin: 9px 0 24px;
  color: var(--lime);
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.cta-phone:hover {
  color: #d1eb72;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-buttons .btn {
  min-height: 48px;
  padding-inline: 20px;
  font-size: 12px;
}

.cta-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: rgba(247, 243, 232, 0.4);
  font-size: 9.5px;
  letter-spacing: 0.09em;
}

.cta-hours span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 216, 74, 0.1);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding-top: 58px;
  padding-bottom: 20px;
  background: #031711;
  color: rgba(247, 243, 232, 0.55);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 243, 232, 0.1);
}

.footer-brand .brand-en {
  color: var(--cream);
  font-size: 32px;
}

.footer-brand .brand-cn {
  margin-top: 1px;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: 0.34em;
}

.footer-brand p {
  margin-top: 24px;
  color: rgba(247, 243, 232, 0.5);
  font-size: 11px;
  line-height: 1.9;
}

.footer-brand small {
  color: rgba(247, 243, 232, 0.28);
  font-family: var(--serif);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

.footer-contact {
  display: grid;
  gap: 9px;
  align-content: center;
}

.footer-contact p {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: rgba(247, 243, 232, 0.58);
  font-size: 11px;
  line-height: 1.8;
}

.footer-contact p > span:first-child {
  width: 32px;
  flex: 0 0 32px;
  color: rgba(247, 243, 232, 0.36);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer-values {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.footer-slash {
  color: rgba(247, 243, 232, 0.3);
  font-style: normal;
}

.footer-contact a {
  color: rgba(247, 243, 232, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: rgba(247, 243, 232, 0.38);
  font-size: 9px;
  letter-spacing: 0.05em;
}

/* =========================================================
   Viewer
   ========================================================= */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--green-950);
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  overscroll-behavior: none;
}

.viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.viewer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(19, 84, 63, 0.48), transparent 64%),
    linear-gradient(180deg, #031a12 0%, #062f23 48%, #031a12 100%);
}

.viewer-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 9px) clamp(12px, 3vw, 24px) 9px;
  background: linear-gradient(180deg, rgba(3, 23, 17, 0.92), rgba(3, 23, 17, 0));
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 1px solid rgba(247, 243, 232, 0.16);
  border-radius: 50%;
  background: rgba(247, 243, 232, 0.045);
  color: rgba(247, 243, 232, 0.82);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(247, 243, 232, 0.12);
  border-color: rgba(247, 243, 232, 0.34);
  color: var(--cream);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewer-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  text-align: center;
}

.viewer-title-main {
  overflow: hidden;
  max-width: 100%;
  color: rgba(247, 243, 232, 0.9);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-title-sub {
  color: rgba(247, 243, 232, 0.28);
  font-family: var(--serif);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.viewer-tools {
  display: flex;
  gap: 7px;
}

.viewer-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  min-height: 0;
}

.viewer-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 243, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 243, 232, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}

.viewer-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.viewer-track::-webkit-scrollbar {
  display: none;
}

.v-slide {
  display: grid;
  place-items: center;
  flex: 0 0 100%;
  min-width: 0;
  padding: 7px clamp(12px, 4vw, 48px) 16px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.v-page {
  --page-w: min(92vw, calc((100vh - 158px) * 0.7318), 760px);
  --page-w: min(92vw, calc((100svh - 158px) * 0.7318), 760px);
  position: relative;
  width: var(--page-w);
  aspect-ratio: 1000 / 1367;
  overflow: hidden;
  border-radius: 5px;
  background: #0b2c22;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(247, 243, 232, 0.09);
  cursor: grab;
}

.v-page:active {
  cursor: grabbing;
}

.v-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, #0b2c22 18%, #124434 38%, #0b2c22 58%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: opacity 0.35s ease;
}

.v-page.is-loaded::before {
  opacity: 0;
  animation: none;
  pointer-events: none;
}

.v-page.is-error::before {
  opacity: 0;
  animation: none;
}

.page-error {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(6, 47, 35, 0.96);
  color: var(--cream);
  text-align: center;
}

.v-page.is-error .page-error {
  display: flex;
}

.page-error p {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 232, 0.72);
}

.page-error button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-size: 11px;
  font-weight: 700;
}

@keyframes shimmer {
  to { background-position: -220% 0; }
}

.v-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-user-select: none;
  user-select: none;
}

.v-page.is-loaded img {
  opacity: 1;
}

.viewer-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(247, 243, 232, 0.18);
  border-radius: 50%;
  background: rgba(3, 23, 17, 0.44);
  color: rgba(247, 243, 232, 0.85);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.viewer-nav:hover {
  background: rgba(247, 243, 232, 0.12);
  border-color: rgba(247, 243, 232, 0.38);
}

.viewer-nav[disabled] {
  opacity: 0.18;
  pointer-events: none;
}

.viewer-nav.prev { left: 22px; }
.viewer-nav.next { right: 22px; }

.viewer-nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewer-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(247, 243, 232, 0.1);
  border-radius: 999px;
  background: rgba(3, 23, 17, 0.54);
  color: rgba(247, 243, 232, 0.5);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transform: translate(-50%, 8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.viewer-hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hint-hand {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.viewer-dock {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 24px);
  padding: 7px clamp(10px, 4vw, 26px) calc(env(safe-area-inset-bottom) + 7px);
  border-top: 1px solid rgba(247, 243, 232, 0.1);
  background: rgba(3, 23, 17, 0.82);
  backdrop-filter: blur(20px);
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58px;
  height: 47px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(247, 243, 232, 0.52);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.dock-btn:hover {
  color: var(--lime);
}

.dock-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewer-pager {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  column-gap: 5px;
  flex: 1;
  max-width: 190px;
}

.pager-current {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.pager-total {
  color: rgba(247, 243, 232, 0.35);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.pager-track {
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(247, 243, 232, 0.14);
}

.pager-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transition: width 0.28s var(--ease);
}

/* =========================================================
   Modals & sheets
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(2, 16, 11, 0.68);
  backdrop-filter: blur(5px);
}

.sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  max-height: 91svh;
  padding: 10px clamp(20px, 5vw, 34px) calc(env(safe-area-inset-bottom) + 24px);
  overflow: auto;
  border-radius: 24px 24px 0 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.36);
  transform: translateY(34px);
  transition: transform 0.4s var(--ease);
  overscroll-behavior: contain;
}

.modal.is-open .sheet {
  transform: translateY(0);
}

.sheet-grabber {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(16, 36, 28, 0.16);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.sheet-head h3 {
  margin-top: 8px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.sheet-head.compact h3 {
  font-size: 28px;
}

.sheet-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 1px solid rgba(16, 36, 28, 0.13);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sheet-close:hover {
  background: rgba(16, 36, 28, 0.06);
  transform: rotate(90deg);
}

.sheet-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.sheet-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.save-options {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.save-option {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(16, 36, 28, 0.11);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(6, 47, 35, 0.025);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.save-option:hover {
  border-color: rgba(6, 47, 35, 0.34);
  box-shadow: 0 12px 26px rgba(6, 47, 35, 0.07);
  transform: translateY(-2px);
}

.save-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  border-radius: 50%;
  background: #edf2e4;
  color: var(--green-700);
}

.save-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.save-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.save-text b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.save-text small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.save-arrow {
  color: rgba(16, 36, 28, 0.3);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.wechat-note {
  margin-top: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(168, 124, 25, 0.24);
  border-radius: 9px;
  background: #fff3d6;
  color: #6c5216;
  font-size: 10.5px;
  line-height: 1.75;
}

.wechat-note b {
  font-weight: 700;
}

/* image modal */
.image-modal {
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  background: #02100b;
}

.image-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 18px 10px;
  color: rgba(247, 243, 232, 0.68);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.image-scroll {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 0;
  padding: 4px 12px;
  overflow: auto;
  overscroll-behavior: contain;
}

.image-scroll img {
  width: auto;
  max-width: min(100%, 780px);
  max-height: calc(100svh - 134px);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  -webkit-touch-callout: default;
  cursor: zoom-in;
  transition: width 0.25s var(--ease);
}

.image-scroll.is-zoomed {
  display: block;
  padding: 4px 0;
}

.image-scroll.is-zoomed img {
  width: 200%;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  cursor: zoom-out;
}

.image-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px calc(env(safe-area-inset-bottom) + 12px);
  border-top: 1px solid rgba(247, 243, 232, 0.1);
  background: rgba(2, 16, 11, 0.92);
}

.image-tip {
  flex: 1;
  color: rgba(247, 243, 232, 0.48);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.image-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.image-download,
.image-zoom {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(247, 243, 232, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
}

.image-download:hover,
.image-zoom:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* thumbs */
.thumbs-sheet {
  width: min(100%, 820px);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.thumb-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 1367;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 28, 0.12);
  border-radius: 5px;
  background-color: #fff;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.thumb-item:hover {
  transform: translateY(-2px);
  border-color: var(--green-700);
}

.thumb-item.is-active {
  border-color: var(--green-700);
  box-shadow: 0 0 0 2px var(--green-700);
}

.thumb-item span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  min-width: 20px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(4, 28, 21, 0.78);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
}

/* contact */
.contact-sheet {
  width: min(100%, 560px);
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.contact-sheet h3 {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.contact-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 24px;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--green-600);
}

.contact-phone small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-list > div {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
}

.contact-list dt {
  width: 38px;
  flex: 0 0 38px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.contact-list dd {
  color: var(--ink-soft);
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 36, 28, 0.18);
}

.contact-list a:hover {
  color: var(--green-700);
  border-color: var(--green-700);
}

.contact-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.contact-actions .btn {
  flex: 1;
  min-height: 48px;
  font-size: 12px;
}

.copy-address {
  display: block;
  margin: 14px auto 0;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-address:hover {
  color: var(--green-700);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 26px);
  z-index: 400;
  max-width: min(88vw, 440px);
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green-950);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-showing {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* no script */
.noscript {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 500;
  padding: 14px 18px;
  border: 1px solid rgba(16, 36, 28, 0.16);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.noscript a {
  color: var(--green-700);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 760px) {
  .viewer-nav {
    display: grid;
  }
}

@media (min-width: 900px) {
  .modal {
    align-items: center;
    padding: 28px;
  }

  .sheet {
    max-height: 86vh;
    padding-top: 22px;
    padding-bottom: 30px;
    border-radius: 20px;
    transform: translateY(22px) scale(0.985);
  }

  .modal.is-open .sheet {
    transform: translateY(0) scale(1);
  }

  .sheet-grabber {
    display: none;
  }

  .image-scroll img {
    max-height: calc(100vh - 130px);
  }
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.6fr);
    gap: 36px;
  }

  .hero-visual {
    max-width: 330px;
  }

  .chapter-grid {
    gap: 12px;
  }

  .chapter-media {
    height: 170px;
  }

  .chapter-arrow {
    top: 152px;
  }

  .chapter-card {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    display: none;
  }

  .hero::before {
    background:
      radial-gradient(circle at 82% 12%, rgba(183, 216, 74, 0.12), transparent 32%),
      linear-gradient(180deg, rgba(4, 28, 21, 0.5) 0%, rgba(4, 28, 21, 0.82) 48%, rgba(4, 28, 21, 0.97) 100%);
  }

  .hero h1 {
    font-size: clamp(52px, 10vw, 78px);
  }

  .chapter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapter-media {
    height: 218px;
  }

  .chapter-arrow {
    top: 200px;
  }

  .chapter-card {
    min-height: 320px;
  }

  .capability-inner {
    grid-template-columns: 1fr auto;
    row-gap: 16px;
  }

  .capability-label {
    grid-column: 1 / -1;
  }

  .capability-note {
    text-align: right;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-action {
    padding-left: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(247, 243, 232, 0.16);
    border-left: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .section-note {
    justify-self: start;
    text-align: left;
  }

  .chapter-media {
    height: 160px;
  }

  .chapter-arrow {
    top: 142px;
  }

  .chapter-card {
    min-height: 300px;
  }

  .chapter-body {
    padding: 15px 15px 22px;
  }

  .chapter-title {
    font-size: 19px;
  }

  .chapter-desc {
    font-size: 9.5px;
  }

  .chapter-page {
    right: 15px;
    bottom: 18px;
  }

  .capability-list li {
    padding-inline: 15px;
    font-size: 12.5px;
  }

  .capability-note {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .viewer-title-sub {
    display: none;
  }

  .viewer-title-main {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .brand-en {
    font-size: 25px;
  }

  .brand-cn {
    font-size: 8px;
    letter-spacing: 0.24em;
  }

  .ghost-btn {
    min-height: 38px;
    padding: 0 13px;
    font-size: 10px;
  }

  .ghost-btn svg {
    width: 14px;
    height: 14px;
  }

  .hero-inner {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    margin-top: 20px;
    margin-bottom: 22px;
    font-size: clamp(48px, 14.4vw, 64px);
    letter-spacing: -0.06em;
  }

  .hero-lead {
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    min-height: 49px;
    padding-inline: 19px;
    font-size: 12px;
  }

  .hero-stats {
    margin-top: 36px;
  }

  .hero-stats > div {
    padding-right: 17px;
    margin-right: 17px;
  }

  .hero-stats dt {
    font-size: 27px;
  }

  .hero-stats dd {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .hero-bottom {
    padding-bottom: 20px;
  }

  .hero-location {
    font-size: 8px;
  }

  .scroll-cue {
    gap: 8px;
    font-size: 8px;
  }

  .cue-line {
    width: 35px;
  }

  .chapters {
    padding-top: 70px;
    padding-bottom: 54px;
  }

  .section-head h2 {
    font-size: 36px;
  }

  .chapter-grid {
    gap: 10px;
  }

  .chapter-media {
    height: 138px;
  }

  .chapter-arrow {
    top: 120px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .chapter-card {
    min-height: 270px;
  }

  .chapter-stamp {
    top: 10px;
    left: 10px;
    min-width: 27px;
    min-height: 22px;
    font-size: 9px;
  }

  .chapter-body {
    padding: 13px 13px 22px;
  }

  .chapter-kicker {
    font-size: 7.5px;
  }

  .chapter-title {
    font-size: 18px;
  }

  .chapter-desc {
    font-size: 9px;
    line-height: 1.6;
  }

  .chapter-page {
    right: 13px;
    bottom: 16px;
    font-size: 8.5px;
  }

  .capability-inner {
    display: block;
    padding-block: 24px;
  }

  .capability-label {
    margin-bottom: 12px;
  }

  .capability-list {
    gap: 7px 0;
  }

  .capability-list li {
    padding-inline: 12px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }

  .capability-list li:first-child {
    padding-left: 0;
  }

  .cta-band {
    padding-block: 70px;
  }

  .cta-copy h2 {
    font-size: 40px;
  }

  .cta-phone {
    font-size: 33px;
  }

  .cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    padding-top: 44px;
  }

  .footer-brand .brand-en {
    font-size: 28px;
  }

  .footer-contact p {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    font-size: 10.5px;
  }

  .footer-contact p > span:first-child {
    width: auto;
    flex: none;
  }

  .footer-values {
    display: block;
    width: auto;
    flex: none;
  }

  .viewer-bar {
    gap: 7px;
  }

  .icon-btn {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .viewer-tools {
    gap: 5px;
  }

  .viewer-dock {
    gap: 3px;
    padding-inline: 7px;
  }

  .dock-btn {
    width: 50px;
  }

  .viewer-pager {
    max-width: 130px;
  }

  .viewer-hint {
    font-size: 8.5px;
    padding: 6px 11px;
    gap: 6px;
  }

  .v-slide {
    padding-inline: 13px;
    padding-bottom: 13px;
  }

  .v-page {
    --page-w: min(92vw, calc((100vh - 158px) * 0.7318));
    --page-w: min(92vw, calc((100svh - 158px) * 0.7318));
  }

  .thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .sheet {
    padding-inline: 20px;
  }

  .save-text b {
    font-size: 12px;
  }

  .save-text small {
    font-size: 9px;
  }

  .contact-phone {
    font-size: 31px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .image-toolbar {
    padding-inline: 14px;
  }

  .image-tip {
    font-size: 9px;
  }

  .image-download,
  .image-zoom {
    padding: 7px 10px;
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 46px;
  }

  .hero-stats > div {
    padding-right: 12px;
    margin-right: 12px;
  }

  .hero-stats dt {
    font-size: 24px;
  }

  .hero-stats dd {
    font-size: 8px;
  }

  .chapter-media {
    height: 122px;
  }

  .chapter-arrow {
    top: 104px;
  }

  .chapter-card {
    min-height: 250px;
  }

  .chapter-title {
    font-size: 17px;
  }

  .chapter-desc {
    display: none;
  }

  .viewer-title-main {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
