/* Orbit Farm v1.0 static multi-page layout */

:root {
  --forest: #102f22;
  --forest-2: #173f2c;
  --green: #2f6b45;
  --leaf: #799c61;
  --cream: #fbf7ee;
  --warm: #f1e5d1;
  --sage: #e6efe0;
  --white: #ffffff;
  --ink: #1d2c25;
  --muted: #627166;
  --line: #d9e3d4;
  --shadow: 0 18px 48px rgba(16, 47, 34, 0.1);
  --shadow-strong: 0 28px 80px rgba(16, 47, 34, 0.18);
  --radius: 18px;
  --radius-small: 10px;
  --container: 1180px;
  --section: 92px;
  --motion-ease: cubic-bezier(0.19, 1, 0.22, 1);
  --motion-distance: 14px;
  --motion-duration: 720ms;
  --motion-section-duration: 640ms;
  --motion-delay-start: 80ms;
  --motion-delay-step: 64ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(121, 156, 97, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--cream), #f8f2e8 52%, #fbf8f1);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.68;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* Shared layout */
.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section) 0;
}

body[data-page="about"] #about {
  scroll-margin-top: 110px;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--container)) / 2));
  background: rgba(230, 239, 224, 0.5);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2,
h3 {
  color: var(--forest);
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.7rem, 8vw, 6rem);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.long-copy {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 16px 32px rgba(47, 107, 69, 0.2);
}

.button-secondary {
  color: var(--forest);
  background: var(--white);
  border-color: var(--line);
}

.button-ghost {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(217, 227, 212, 0.9);
}

.has-photo {
  background-color: var(--sage);
  background-image: var(--photo-url), linear-gradient(135deg, rgba(16, 47, 34, 0.12), rgba(121, 156, 97, 0.22));
  background-position: var(--photo-position, center center), center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

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

.reveal[data-motion-section] {
  transition: opacity var(--motion-section-duration) ease, transform var(--motion-section-duration) var(--motion-ease);
}

.reveal[data-motion-section] [data-motion-item] {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  will-change: opacity, transform;
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease),
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.reveal[data-motion-section].is-visible [data-motion-item] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--motion-delay-start) + (var(--motion-order, 0) * var(--motion-delay-step)));
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 227, 212, 0.82);
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo-wrap {
  position: relative;
  width: 48px;
  min-width: 42px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-grid;
  place-items: center;
}

.brand-logo-img {
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-img[hidden] {
  display: none !important;
}

.brand-mark {
  display: none !important;
}

.nav-panel,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.language-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.language-button {
  min-width: 42px;
  border: 0;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-button.active,
.language-button:hover {
  color: var(--white);
  background: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--forest);
}

/* Hero */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.hero-copy {
  min-width: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

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

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chips span {
  padding: 8px 12px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow-strong);
}

.hero-media.has-video {
  isolation: isolate;
  background: #dce8d2;
}

.hero-media.has-video::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 47, 34, 0.12), transparent 46%),
    linear-gradient(180deg, transparent 58%, rgba(16, 47, 34, 0.22));
}

.hero-media.has-video::after {
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after,
.media-mini::after,
.story-photo::after,
.product-image::after,
.process-image::after,
.gallery-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 47, 34, 0.62));
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  padding: 18px;
  color: var(--white);
  background: rgba(16, 47, 34, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 650px;
  margin-top: 30px;
  border-top: 1px solid rgba(47, 107, 69, 0.2);
}

.hero-trust-item {
  display: grid;
  gap: 6px;
  padding: 14px 10px 0 0;
}

.hero-trust-item strong {
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-trust-item span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

body[data-page="home"] {
  min-height: 100dvh;
  background: #f7f1e4;
}

body[data-page="home"] .site-header {
  position: fixed;
  right: 0;
  left: 0;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(251, 247, 238, 0.88), rgba(251, 247, 238, 0.36) 74%, transparent);
}

body[data-page="home"] .hero-scene {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(118px, 12vh, 150px) max(28px, calc((100% - var(--container)) / 2)) clamp(42px, 6vh, 72px);
}

body[data-page="home"] .hero-scene.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 640ms ease;
}

body[data-page="home"] .hero-scene::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 9%, rgba(255, 224, 152, 0.18), transparent 26rem),
    radial-gradient(ellipse at 18% 44%, rgba(251, 247, 238, 0.5) 0%, rgba(251, 247, 238, 0.28) 32%, transparent 62%),
    linear-gradient(90deg, rgba(251, 247, 238, 0.76) 0%, rgba(251, 247, 238, 0.46) 32%, rgba(251, 247, 238, 0.1) 58%, transparent 100%),
    linear-gradient(180deg, rgba(251, 247, 238, 0.14) 0%, transparent 48%, rgba(12, 42, 29, 0.2) 100%);
}

body[data-page="home"] .hero-scene::after {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 2;
  width: min(42vw, 560px);
  height: min(30vh, 280px);
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(7, 35, 25, 0.96) 0%, rgba(8, 42, 29, 0.8) 20%, rgba(16, 66, 43, 0.42) 44%, rgba(251, 247, 238, 0.06) 62%, transparent 78%),
    radial-gradient(ellipse at 88% 82%, rgba(7, 35, 25, 0.32) 0%, rgba(14, 65, 42, 0.18) 24%, rgba(251, 247, 238, 0.06) 48%, transparent 72%);
}

body[data-page="home"] .hero-scene .hero-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(142, 178, 66, 0.55), transparent 24rem),
    linear-gradient(135deg, #fbf1d9 0%, #dfe8c5 44%, #315d3a 100%);
  box-shadow: none;
}

body[data-page="home"] .hero-scene .hero-media::before {
  display: none;
}

body[data-page="home"] .hero-scene .hero-media::after {
  display: block;
  z-index: 1;
  height: min(34vh, 310px);
  background:
    linear-gradient(180deg, transparent 0%, rgba(247, 241, 228, 0.12) 48%, rgba(247, 241, 228, 0.82) 100%);
}

body[data-page="home"] .hero-scene .hero-video {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.008);
  transform-origin: 74% 52%;
  object-position: 74% center;
  animation:
    homeHeroVideoSettle 1600ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
    homeHeroSceneBreath 18000ms ease-in-out 1600ms infinite alternate;
}

body[data-page="home"] .hero-scene .hero-copy {
  position: relative;
  z-index: 3;
  width: min(600px, 100%);
  padding-top: 6px;
}

body[data-page="home"] .hero-scene .hero-copy .eyebrow {
  margin-bottom: 18px;
  color: #0d4b33;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 18px rgba(251, 247, 238, 0.72);
}

body[data-page="home"] .hero-scene .hero-copy h1 {
  max-width: 8.6ch;
  color: #053f2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.35rem, 8.1vw, 8.35rem);
  font-weight: 800;
  line-height: 0.9;
  text-shadow: 0 12px 34px rgba(251, 247, 238, 0.44);
}

body[data-page="home"] .hero-scene .hero-intro {
  max-width: 540px;
  margin-top: 22px;
  color: #173f2c;
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.58;
  text-shadow: 0 2px 18px rgba(251, 247, 238, 0.7);
}

body[data-page="home"] .hero-scene .hero-intro span {
  display: block;
}

body[data-page="home"] .hero-scene .hero-actions {
  gap: 14px;
  margin-top: 30px;
}

body[data-page="home"] .hero-scene .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 178px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
  transition: transform 240ms var(--motion-ease), box-shadow 240ms var(--motion-ease), background-color 240ms ease, border-color 240ms ease;
}

body[data-page="home"] .hero-scene .button::before {
  position: absolute;
  inset: -42% -72%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.08) 43%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.12) 57%, transparent 68%);
  transform: translateX(-72%);
  animation: homeCtaLightSweep 4.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

body[data-page="home"] .hero-scene .button-primary {
  background: linear-gradient(135deg, #0a4b31, #167346);
  box-shadow: 0 20px 38px rgba(15, 90, 56, 0.28);
}

body[data-page="home"] .hero-scene .button-primary::before {
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.1) 43%, rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0.16) 57%, transparent 68%);
}

body[data-page="home"] .hero-scene .button-primary:hover,
body[data-page="home"] .hero-scene .button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(15, 90, 56, 0.32);
}

body[data-page="home"] .hero-scene .button:hover::before,
body[data-page="home"] .hero-scene .button:focus-visible::before {
  animation-duration: 3.4s;
}

body[data-page="home"] .hero-scene .button:active {
  transition-duration: 120ms;
}

body[data-page="home"] .hero-scene .button-secondary {
  background: rgba(251, 247, 238, 0.42);
  border-color: rgba(16, 47, 34, 0.38);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
}

body[data-page="home"] .hero-scene .button-secondary::before {
  opacity: 0.74;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.08) 57%, transparent 68%);
  animation-delay: 1.1s;
}

body[data-page="home"] .hero-scene .button-secondary:hover,
body[data-page="home"] .hero-scene .button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(16, 47, 34, 0.5);
  background: rgba(251, 247, 238, 0.56);
  box-shadow: 0 18px 34px rgba(16, 47, 34, 0.12);
}

body[data-page="home"] .hero-scene .button:active {
  transform: translateY(0);
}

body[data-page="home"] .hero-scene .hero-trust-strip {
  width: min(690px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(34px, 5.5vh, 60px);
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 16px;
  background: rgba(251, 247, 238, 0.48);
  box-shadow: 0 26px 72px rgba(16, 47, 34, 0.14);
  backdrop-filter: blur(20px);
}

body[data-page="home"] .hero-scene .hero-trust-item {
  display: block;
  min-width: 0;
  padding: 0 18px 0 0;
}

body[data-page="home"] .hero-scene .hero-trust-item + .hero-trust-item {
  border-left: 1px solid rgba(16, 47, 34, 0.16);
  padding-left: 20px;
}

body[data-page="home"] .hero-scene .hero-trust-item strong,
body[data-page="home"] .hero-scene .hero-trust-item span {
  color: #123b2a;
}

body[data-page="home"] .hero-scene .hero-trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  line-height: 1.2;
}

body[data-page="home"] .hero-scene .hero-trust-item span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
}

body[data-page="home"] .hero-scroll-cue {
  position: absolute;
  left: clamp(740px, 60vw, calc(100% - 190px));
  bottom: clamp(6px, 1vh, 10px);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(13, 75, 51, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(251, 247, 238, 0.78);
  transform: translateX(-50%);
  animation: homeScrollCueDrift 3.8s ease-in-out 1.2s infinite;
  cursor: pointer;
  text-decoration: none;
  outline-offset: 8px;
}

body[data-page="home"] .hero-scroll-cue::before {
  width: 1px;
  height: 28px;
  content: "";
  background: linear-gradient(180deg, rgba(13, 75, 51, 0.1), rgba(13, 75, 51, 0.7), rgba(13, 75, 51, 0.12));
}

body[data-page="home"] .hero-scroll-cue::after {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: rgba(13, 75, 51, 0.58);
  box-shadow: 0 0 0 5px rgba(251, 247, 238, 0.2);
}

body[data-page="home"] .hero-scroll-cue span {
  white-space: nowrap;
}

body[data-page="home"] .hero-scene .hero-copy .eyebrow,
body[data-page="home"] .hero-scene .hero-copy h1,
body[data-page="home"] .hero-scene .hero-intro,
body[data-page="home"] .hero-scene .hero-actions,
body[data-page="home"] .hero-scene .hero-trust-strip {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

body[data-page="home"] .hero-scene .hero-copy .eyebrow {
  animation: homeHeroReveal 680ms var(--motion-ease) 60ms forwards;
}

body[data-page="home"] .hero-scene .hero-copy h1 {
  animation: homeHeroReveal 860ms var(--motion-ease) 150ms forwards;
}

body[data-page="home"] .hero-scene .hero-intro {
  animation: homeHeroReveal 760ms var(--motion-ease) 330ms forwards;
}

body[data-page="home"] .hero-scene .hero-actions {
  animation: homeHeroReveal 720ms var(--motion-ease) 500ms forwards;
}

body[data-page="home"] .hero-scene .hero-trust-strip {
  animation: homeHeroTrustReveal 780ms var(--motion-ease) 660ms forwards;
}

html[lang="zh-CN"] body[data-page="home"] .hero-scene .hero-copy h1 {
  max-width: 6ch;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
  line-height: 0.98;
}

html[lang="zh-CN"] body[data-page="home"] .hero-scene .hero-intro {
  max-width: 580px;
}

@keyframes homeHeroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeHeroTrustReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeHeroVideoSettle {
  from {
    opacity: 0.94;
    transform: scale(1.018);
  }

  to {
    opacity: 1;
    transform: scale(1.008);
  }
}

@keyframes homeHeroSceneBreath {
  from {
    transform: scale(1.008);
  }

  to {
    transform: scale(1.014);
  }
}

@keyframes homeCtaLightSweep {
  0%,
  38% {
    transform: translateX(-72%);
  }

  64%,
  100% {
    transform: translateX(72%);
  }
}

@keyframes homeScrollCueDrift {
  0%,
  100% {
    opacity: 0.62;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 6px);
  }
}

body[data-page="home"] .site-footer,
body[data-page="home"] .ask-widget {
  display: none;
}

body[data-page="home"] .whatsapp-float {
  right: clamp(12px, 1vw, 18px);
  bottom: clamp(18px, 3vh, 34px);
  isolation: isolate;
  min-width: 148px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #0e5f38, #1f8f4d);
  box-shadow: 0 18px 42px rgba(8, 36, 24, 0.28), 0 0 0 6px rgba(251, 247, 238, 0.12);
  letter-spacing: 0;
}

body[data-page="home"] .whatsapp-float::before {
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: radial-gradient(ellipse at 70% 55%, rgba(251, 247, 238, 0.2), rgba(251, 247, 238, 0.08) 54%, transparent 74%);
  pointer-events: none;
}

body[data-page="home"] .home-premium-flow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(121, 156, 97, 0.12), transparent 28rem),
    linear-gradient(180deg, #f7f1e4 0%, #fbf7ee 28%, #f4ead9 100%);
}

body[data-page="home"] .home-section {
  padding-top: clamp(74px, 9vw, 118px);
  padding-bottom: clamp(74px, 9vw, 118px);
}

body[data-page="home"] .home-section:first-child {
  padding-top: clamp(86px, 10vw, 132px);
}

body[data-page="home"] .home-section + .home-section {
  border-top: 1px solid rgba(16, 47, 34, 0.08);
}

body[data-page="home"] .home-section.section-soft {
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.64), transparent 24rem),
    linear-gradient(135deg, rgba(230, 239, 224, 0.76), rgba(251, 247, 238, 0.9));
}

body[data-page="home"] .home-section .section-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

body[data-page="home"] .home-section .section-heading h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

body[data-page="home"] .home-section .section-heading > p:not(.eyebrow) {
  max-width: 68ch;
  color: #405246;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.78;
}

body[data-page="home"] .home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

body[data-page="home"] .home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

body[data-page="home"] .home-section .button {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
}

body[data-page="home"] .home-value-grid {
  gap: 16px;
}

body[data-page="home"] .home-value-grid .value-card,
body[data-page="home"] .home-visit-facts .fact-card,
body[data-page="home"] .home-contact-panel {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(217, 227, 212, 0.9);
  box-shadow: 0 20px 56px rgba(16, 47, 34, 0.08);
}

body[data-page="home"] .home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

body[data-page="home"] .home-product-card {
  border-radius: 16px;
}

body[data-page="home"] .home-product-card .product-image {
  min-height: clamp(210px, 22vw, 300px);
}

body[data-page="home"] .home-product-card .product-body {
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
}

body[data-page="home"] .home-product-card .product-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.14;
}

body[data-page="home"] .home-process-grid {
  gap: clamp(16px, 2vw, 24px);
}

body[data-page="home"] .home-process-card {
  grid-template-columns: 156px minmax(0, 1fr);
  border-radius: 16px;
}

body[data-page="home"] .home-process-card .process-image {
  min-height: 180px;
}

body[data-page="home"] .home-story-panel {
  gap: clamp(34px, 5vw, 72px);
}

body[data-page="home"] .home-story-panel .story-photo {
  min-height: clamp(360px, 42vw, 560px);
}

body[data-page="home"] .home-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

body[data-page="home"] .home-gallery-grid .gallery-item {
  grid-column: auto;
  border-radius: 16px;
}

body[data-page="home"] .home-gallery-grid .gallery-image {
  min-height: clamp(230px, 23vw, 330px);
}

body[data-page="home"] .home-visit-split {
  align-items: start;
}

body[data-page="home"] .home-visit-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] .home-contact-section {
  padding-bottom: clamp(86px, 10vw, 132px);
}

body[data-page="home"] .home-contact-panel {
  max-width: 900px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: 18px;
}

html[lang="zh-CN"] body[data-page="home"] .home-section .section-heading h2 {
  max-width: 9ch;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1.08;
}

html[lang="zh-CN"] body[data-page="home"] .home-section .section-heading > p:not(.eyebrow),
html[lang="zh-CN"] body[data-page="home"] .home-product-card .product-body > p,
html[lang="zh-CN"] body[data-page="home"] .home-process-card p,
html[lang="zh-CN"] body[data-page="home"] .home-visit-facts p {
  line-height: 1.85;
}

body[data-page="contact"] .hero-copy h1 {
  max-width: 13.5ch;
  font-size: clamp(2.7rem, 6.4vw, 5.05rem);
  line-height: 1;
  overflow-wrap: break-word;
}

body[data-page="contact"] .hero-card {
  right: 22px;
  bottom: clamp(205px, 30vh, 240px);
  padding-right: 22px;
  overflow-wrap: anywhere;
}

body[data-page="contact"] .hero-card span,
body[data-page="contact"] .hero-card strong {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Home sections */
.media-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-mini {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-mini span,
.product-image span,
.process-image span,
.gallery-image span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(16, 47, 34, 0.7);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.route-grid,
.value-grid,
.chapter-grid,
.visit-facts,
.process-grid {
  display: grid;
  gap: 18px;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid,
.chapter-grid,
.visit-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-card,
.value-card,
.chapter-card,
.fact-card,
.process-card {
  min-width: 0;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 47, 34, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.route-card:hover,
.value-card:hover,
.chapter-card:hover,
.fact-card:hover,
.process-card:hover,
.product-card:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 69, 0.34);
  box-shadow: var(--shadow);
}

.route-card p,
.value-card p,
.chapter-card p,
.fact-card p,
.process-card p {
  color: var(--muted);
}

.value-card span,
.fact-card strong {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 900;
}

.visit-landmark-section {
  overflow: hidden;
}

.visit-page-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
}

.visit-hero-copy {
  align-self: center;
}

.visit-hero-map {
  min-width: 0;
}

.visit-hero-map .visit-map-frame,
.visit-hero-map .visit-map-frame iframe {
  min-height: clamp(360px, 48vh, 520px);
}

.visit-hero-cards {
  margin-top: 22px;
}

.visit-landmark-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.visit-landmark-copy {
  min-width: 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 47, 34, 0.08);
}

.visit-landmark-copy h2 {
  max-width: 12ch;
  margin-bottom: 14px;
}

.visit-landmark-copy > p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.75;
}

.visit-landmark-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.visit-landmark-card {
  min-width: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(217, 227, 212, 0.92);
  border-radius: 18px;
}

.visit-landmark-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.visit-landmark-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.visit-landmark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.visit-map-frame {
  min-height: 390px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(230, 237, 220, 0.95), rgba(246, 241, 229, 0.95));
  border: 1px solid rgba(217, 227, 212, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visit-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.story-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-copy {
  min-width: 0;
}

.story-copy p:not(.eyebrow) {
  color: var(--muted);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  align-items: stretch;
  gap: 28px;
}

.product-card {
  min-width: 0;
  scroll-margin-top: 110px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 47, 34, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-image,
.process-image,
.gallery-image {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 18px;
}

.product-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  line-height: 1.68;
}

.product-body h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.16;
}

.product-body > p {
  max-width: 68ch;
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin: 10px 0 18px;
}

.product-detail-grid,
.product-detail-grid article,
.product-process,
.product-process li {
  min-width: 0;
}

.product-detail-grid article {
  min-height: 0;
  padding: 18px;
  overflow: visible;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  height: auto;
  line-height: 1.62;
}

.product-detail-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  line-height: 1.25;
}

.product-detail-grid p {
  margin: 0;
  color: var(--muted);
}

.product-process {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
  white-space: normal;
}

.product-process li {
  white-space: normal;
}

/* Process */
.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.process-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.process-image {
  min-height: 220px;
}

.process-card > div:last-child {
  min-width: 0;
  padding: 24px;
}

/* Gallery and lightbox */
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  padding: 9px 14px;
  color: var(--forest);
  background: var(--white);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(16, 47, 34, 0.04);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--motion-ease);
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 14px 28px rgba(16, 103, 64, 0.18);
  transform: translateY(-1px);
}

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

.gallery-item {
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-featured {
  grid-column: span 3;
}

.gallery-wide {
  grid-column: span 4;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-open {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.gallery-image {
  min-height: 250px;
  aspect-ratio: 4 / 3;
}

.gallery-open > p {
  min-height: 72px;
  padding: 16px 18px;
  color: var(--muted);
}

.gallery-story-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.gallery-story-card .gallery-image {
  overflow: hidden;
}

.gallery-story-card .gallery-image::before {
  transition: transform 240ms ease;
}

.gallery-story-card:hover .gallery-image::before {
  transform: scale(1.04);
}

.gallery-card-copy {
  min-width: 0;
  padding: 18px;
}

.gallery-card-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card-copy h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.gallery-card-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 47, 34, 0.62);
  backdrop-filter: blur(8px);
}

.story-lightbox {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  background: linear-gradient(135deg, var(--white), var(--cream));
}

.story-lightbox-photo {
  min-height: 100%;
  background-color: var(--sage);
}

.story-lightbox-copy {
  min-width: 0;
  overflow: auto;
  padding: 34px;
}

.story-lightbox-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.story-lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.story-simple-text {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.story-page-use {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: var(--forest);
  background: rgba(230, 239, 224, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.story-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}

.story-info-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: rgba(251, 247, 238, 0.9);
  border: 1px solid rgba(217, 227, 212, 0.95);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(16, 47, 34, 0.08);
}

.story-info-card h3 {
  margin: 0 0 6px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-info-card p,
.story-info-card ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.story-info-card ul {
  padding-left: 18px;
}

.story-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--cream);
  background: var(--forest);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.story-icon-story::before {
  content: "S";
}

.story-icon-why::before {
  content: "?";
}

.story-icon-future::before {
  content: "+";
}

.story-icon-notes::before {
  content: "N";
}

.story-icon-map::before {
  content: "M";
}

.story-icon-privacy::before {
  content: "P";
}

.story-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lightbox {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.lightbox-image {
  min-height: 440px;
}

.lightbox-copy {
  padding: 28px;
}

.lightbox.story-lightbox {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  background: linear-gradient(135deg, var(--white), var(--cream));
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  color: var(--forest);
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

/* Inquiry */
.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.inquiry-form {
  min-width: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(217, 227, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.inquiry-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

.message-field {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius-small);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 69, 0.12);
}

textarea {
  resize: vertical;
}

.error-message {
  display: none;
  color: #a4472b;
  font-size: 0.83rem;
  font-weight: 800;
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: #a4472b;
}

.field-error .error-message {
  display: block;
}

.form-success {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  color: var(--forest);
  background: #e4f0df;
  border: 1px solid #c8ddbf;
  border-radius: var(--radius-small);
  font-weight: 900;
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  padding: 48px 20px 140px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--forest-2), var(--forest));
}

.footer-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(160px, 0.55fr) minmax(260px, 0.9fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.footer-grid > * {
  min-width: 0;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer-grid p,
.copyright {
  overflow-wrap: anywhere;
  word-break: normal;
}

.footer-brand,
.footer-links a:hover {
  color: var(--white);
}

.footer-links {
  flex-wrap: wrap;
  align-items: flex-start;
}

.copyright {
  width: min(var(--container), 100%);
  margin: 24px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

/* Floating contact */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: #1f8f4d;
  border-radius: 999px;
  box-shadow: var(--shadow-strong);
  font-weight: 900;
}

.ask-widget {
  position: fixed;
  right: 28px;
  bottom: 92px;
  z-index: 56;
  width: min(360px, calc(100vw - 56px));
}

.ask-toggle {
  width: 100%;
  min-height: 48px;
  border: 0;
  color: var(--forest);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-strong);
  font-weight: 900;
}

.ask-panel {
  display: flex;
  flex-direction: column;
  max-height: min(520px, calc(100vh - 180px));
  overflow: hidden;
  margin-bottom: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.ask-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--forest);
}

.ask-head button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 50%;
}

.helper-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.chat-topics {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  max-height: min(340px, calc(100dvh - 310px));
  overflow: auto;
  padding: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.chat-message {
  max-width: 88%;
  min-width: 0;
}

.chat-message span {
  display: block;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.chat-message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.chat-message-assistant {
  align-self: flex-start;
}

.chat-message-assistant p {
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-message-user {
  align-self: flex-end;
}

.chat-message-user span {
  text-align: right;
}

.chat-message-user p {
  color: var(--white);
  background: var(--forest);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.chat-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.chat-form button {
  min-height: 44px;
  border: 0;
  padding: 0 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: var(--radius-small);
  font-weight: 900;
}

.chat-reply {
  margin-top: 14px;
  padding: 14px;
  background: var(--sage);
  border-radius: var(--radius-small);
}

/* Chinese readability */
html[lang="zh-CN"],
html[lang="zh-CN"] body {
  line-height: 1.82;
}

html[lang="zh-CN"] .product-body,
html[lang="zh-CN"] .product-detail-grid article,
html[lang="zh-CN"] .footer-grid,
html[lang="zh-CN"] .inquiry-form label,
html[lang="zh-CN"] .ask-panel {
  line-height: 1.85;
}

html[lang="zh-CN"] .product-body h2,
html[lang="zh-CN"] .product-body p,
html[lang="zh-CN"] .gallery-card-copy h3,
html[lang="zh-CN"] .gallery-card-copy p,
html[lang="zh-CN"] .story-lightbox-copy h2,
html[lang="zh-CN"] .story-lede,
html[lang="zh-CN"] .story-page-use,
html[lang="zh-CN"] .story-info-card p,
html[lang="zh-CN"] .story-info-card li,
html[lang="zh-CN"] .footer-grid p,
html[lang="zh-CN"] .ask-panel p {
  word-break: keep-all;
  overflow-wrap: normal;
}

html[lang="zh-CN"] .product-detail-grid {
  align-items: start;
}

html[lang="zh-CN"] .product-detail-grid article,
html[lang="zh-CN"] .product-detail-grid strong,
html[lang="zh-CN"] .product-detail-grid p,
html[lang="zh-CN"] .product-process,
html[lang="zh-CN"] .product-process li {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

html[lang="zh-CN"] .product-detail-grid p,
html[lang="zh-CN"] .product-process li {
  line-height: 1.85;
}

html[lang="zh-CN"] .nav-link,
html[lang="zh-CN"] .language-button,
html[lang="zh-CN"] .button {
  line-height: 1.35;
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .route-card,
  .product-card,
  .process-card,
  .gallery-item {
    transition: none;
  }

  .reveal[data-motion-section],
  .reveal[data-motion-section] [data-motion-item] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  body[data-page="home"] .hero-scene .hero-copy .eyebrow,
  body[data-page="home"] .hero-scene .hero-copy h1,
  body[data-page="home"] .hero-scene .hero-intro,
  body[data-page="home"] .hero-scene .hero-actions,
  body[data-page="home"] .hero-scene .hero-trust-strip {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  body[data-page="home"] .hero-scene .hero-video {
    transform: none;
    animation: none !important;
  }

  body[data-page="home"] .hero-scene .button::before {
    animation: none !important;
    opacity: 0;
  }

  body[data-page="home"] .hero-scroll-cue {
    animation: none !important;
  }
}

@media (max-width: 1120px) {
  .page-hero,
  .inquiry-layout,
  .visit-landmark-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 460px;
  }

  body[data-page="home"] .page-hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 100dvh;
  }

  body[data-page="home"] .hero-scene {
    align-items: flex-start;
    padding-top: 118px;
  }

  body[data-page="home"] .hero-scene .hero-media {
    min-height: 100%;
  }

  body[data-page="home"] .hero-scene .hero-video {
    object-position: 70% center;
  }

  body[data-page="home"] .home-split,
  body[data-page="home"] .home-story-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-page-hero {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
  }

  .product-detail-grid,
  .process-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --section: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
  }

  body.menu-open .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-toggle {
    align-self: flex-start;
  }

  .media-card-row,
  .route-grid,
  .value-grid,
  .chapter-grid,
  .visit-facts,
  .process-grid,
  .footer-grid,
  .story-panel {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-featured,
  .gallery-wide {
    grid-column: auto;
  }

  .lightbox.story-lightbox {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .story-lightbox-photo {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }

  .story-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .product-grid,
  .form-grid,
  .visit-landmark-cards {
    grid-template-columns: 1fr;
  }

  .product-body,
  .inquiry-form {
    padding: 24px;
  }

  .product-image,
  .process-image,
  .gallery-image {
    min-height: 230px;
  }

  .site-footer {
    padding-bottom: 150px;
  }

  .visit-landmark-copy {
    padding: 24px;
  }

  .visit-map-frame,
  .visit-map-frame iframe {
    min-height: 300px;
  }

  .visit-hero-map .visit-map-frame,
  .visit-hero-map .visit-map-frame iframe {
    min-height: 320px;
  }

  body[data-page="home"] .home-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section: 60px;
  }

  .section,
  .navbar {
    width: min(var(--container), calc(100% - 28px));
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .hero-chips,
  .gallery-controls {
    flex-direction: column;
  }

  .button,
  .hero-chips span,
  .filter-button,
  .visit-landmark-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-trust-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(47, 107, 69, 0.16);
  }

  body[data-page="home"] .hero-scene .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.45rem, 12vw, 4.35rem);
  }

  body[data-page="home"] .hero-media {
    min-height: clamp(260px, 68vw, 360px);
  }

  body[data-page="home"] .hero-scene .hero-media {
    min-height: 100%;
  }

  body[data-page="home"] .hero-scene {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }

  body[data-page="home"] .hero-scene .hero-actions {
    margin-top: 24px;
  }

  body[data-page="home"] .hero-scene .hero-trust-strip {
    margin-top: 24px;
    padding: 16px;
  }

  body[data-page="home"] .hero-scene .hero-trust-item {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body[data-page="home"] .hero-scene::before {
    background:
      linear-gradient(180deg, rgba(251, 247, 238, 0.88) 0%, rgba(251, 247, 238, 0.58) 42%, rgba(251, 247, 238, 0.1) 78%, rgba(16, 47, 34, 0.22) 100%),
      linear-gradient(90deg, rgba(251, 247, 238, 0.78), rgba(251, 247, 238, 0.18));
  }

  body[data-page="home"] .hero-scene::after {
    width: min(82vw, 350px);
    height: min(34vh, 280px);
    background:
      radial-gradient(ellipse at 100% 100%, rgba(7, 35, 25, 0.96) 0%, rgba(8, 42, 29, 0.78) 22%, rgba(16, 66, 43, 0.4) 46%, rgba(251, 247, 238, 0.06) 64%, transparent 78%),
      radial-gradient(ellipse at 90% 88%, rgba(7, 35, 25, 0.34) 0%, rgba(14, 65, 42, 0.2) 28%, rgba(251, 247, 238, 0.06) 54%, transparent 78%);
  }

  body[data-page="home"] .hero-scroll-cue {
    left: 50%;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    gap: 5px;
    font-size: 0.62rem;
  }

  body[data-page="home"] .whatsapp-float {
    min-width: 136px;
    min-height: 48px;
    padding: 0 18px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  body[data-page="home"] .home-section {
    width: min(var(--container), calc(100% - 28px));
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body[data-page="home"] .home-section:first-child {
    padding-top: 72px;
  }

  body[data-page="home"] .home-section .section-heading {
    margin-bottom: 24px;
  }

  body[data-page="home"] .home-section .section-heading h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 11vw, 3.35rem);
    line-height: 1.03;
  }

  html[lang="zh-CN"] body[data-page="home"] .home-section .section-heading h2 {
    max-width: 10ch;
    font-size: clamp(1.85rem, 9.6vw, 3rem);
  }

  body[data-page="home"] .home-product-grid,
  body[data-page="home"] .home-visit-facts {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-process-card {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-process-card .process-image,
  body[data-page="home"] .home-product-card .product-image,
  body[data-page="home"] .home-gallery-grid .gallery-image {
    min-height: 220px;
  }

  body[data-page="home"] .home-product-card .product-body .button,
  body[data-page="home"] .home-cta-row .button {
    width: 100%;
  }

  body[data-page="home"] .home-contact-panel {
    padding: 24px;
  }

  body[data-page="contact"] .hero-copy h1 {
    max-width: 15.5ch;
    font-size: clamp(2.05rem, 10.2vw, 3.15rem);
    line-height: 1.03;
  }

  body[data-page="contact"] .hero-card {
    right: 18px;
    bottom: 275px;
    left: 18px;
    padding: 16px;
  }

  .visit-hero-map .visit-map-frame,
  .visit-hero-map .visit-map-frame iframe {
    min-height: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-image {
    min-height: 300px;
  }

  .story-lightbox-photo {
    min-height: 240px;
  }

  .story-lightbox-copy {
    padding: 20px;
  }

  .story-info-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px;
  }

  .story-icon {
    width: 34px;
    height: 34px;
  }

  .story-cta-row .button {
    width: 100%;
  }

  .brand [data-site-brand] {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
  }

  .ask-widget {
    right: 16px;
    bottom: 82px;
    width: calc(100vw - 32px);
  }

  .ask-panel {
    max-height: min(480px, calc(100vh - 166px));
  }
}

/* Orbit Farm mobile UI/UX stability patch */
@media (max-width: 980px) {
  .site-header {
    z-index: 70;
  }

  .navbar {
    min-height: 68px;
    gap: 12px;
  }

  .brand-logo-wrap {
    width: 42px;
    min-width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-logo-img {
    max-height: 38px;
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  body.menu-open::before {
    position: fixed;
    inset: 68px 0 0;
    z-index: 42;
    content: "";
    background: rgba(16, 47, 34, 0.22);
    backdrop-filter: blur(2px);
  }

  .nav-panel {
    top: 76px;
    right: 14px;
    left: 14px;
    z-index: 45;
    max-height: calc(100dvh - 96px);
    overflow: auto;
    gap: 16px;
    padding: 18px;
  }

  .nav-links {
    width: 100%;
    gap: 4px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: normal;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--forest);
    background: var(--sage);
  }

  .language-toggle {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 6px;
  }

  .language-button {
    min-height: 40px;
    flex: 1;
  }
}

@media (max-width: 640px) {
  :root {
    --section: 52px;
  }

  .navbar {
    min-height: 66px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo-wrap {
    width: 40px;
    min-width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-logo-img {
    max-height: 36px;
  }

  .brand [data-site-brand] {
    max-width: 52vw;
  }

  .page-hero {
    gap: 28px;
    padding-top: 48px;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 11.5vw, 3.65rem);
    line-height: 1.03;
    overflow-wrap: break-word;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-media {
    min-height: 320px;
    border-radius: 22px;
  }

  body[data-page="home"] .page-hero {
    gap: 24px;
    min-height: 100dvh;
    padding-top: 106px;
    padding-bottom: 110px;
  }

  body[data-page="home"] .hero-media {
    min-height: clamp(250px, 72vw, 330px);
  }

  body[data-page="home"] .hero-scene .hero-media {
    min-height: 100%;
  }

  body[data-page="home"] .hero-scene .hero-copy h1 {
    max-width: 8.5ch;
    font-size: clamp(3.2rem, 16vw, 4.9rem);
  }

  body[data-page="home"] .hero-scene .hero-intro {
    max-width: 22rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  html[lang="zh-CN"] body[data-page="home"] .hero-scene .hero-copy h1 {
    max-width: 6ch;
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  body[data-page="home"] .hero-scene .button {
    width: 100%;
  }

  .hero-trust-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 26px;
  }

  body[data-page="home"] .hero-scene .hero-trust-strip {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(251, 247, 238, 0.58);
  }

  body[data-page="home"] .hero-scene .hero-trust-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(16, 47, 34, 0.16);
  }

  body[data-page="home"] .hero-scene .hero-trust-item + .hero-trust-item {
    padding-left: 0;
    border-left: 0;
  }

  .hero-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
    overflow-wrap: anywhere;
  }

  body[data-page="contact"] .hero-card {
    right: 16px;
    bottom: 245px;
    left: 16px;
  }

  .product-body,
  .inquiry-form,
  .route-card,
  .value-card,
  .chapter-card,
  .fact-card,
  .process-card,
  .story-panel {
    padding: 22px;
  }

  .product-card,
  .route-card,
  .value-card,
  .chapter-card,
  .fact-card,
  .process-card,
  .gallery-item,
  .inquiry-form,
  .footer-grid > * {
    min-width: 0;
  }

  .product-card p,
  .route-card p,
  .value-card p,
  .chapter-card p,
  .fact-card p,
  .process-card p,
  .gallery-card-copy h3,
  .gallery-card-copy p,
  .footer-grid p {
    overflow-wrap: break-word;
  }

  .gallery-open,
  .gallery-card-copy,
  .gallery-card-copy * {
    min-width: 0;
    max-width: 100%;
  }

  html[lang="zh-CN"] .gallery-card-copy h3,
  html[lang="zh-CN"] .gallery-card-copy p {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .whatsapp-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    min-height: 44px;
    padding: 0 16px;
  }

  .ask-widget {
    right: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: calc(100vw - 28px);
  }

  .ask-toggle {
    width: auto;
    min-width: 154px;
    min-height: 44px;
    padding: 0 16px;
  }

  .ask-widget.is-open {
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
  }

  .ask-widget.is-open .ask-toggle {
    width: 100%;
  }

  .ask-panel {
    width: 100%;
    max-height: min(520px, calc(100dvh - 150px));
    overflow: hidden;
  }

  .site-footer {
    padding-bottom: 180px;
  }
}

/* Mobile Fix Pack 1: header, language switch, and floating contact comfort */
@media (max-width: 980px) {
  .site-header {
    z-index: 80;
  }

  .navbar {
    width: min(var(--container), calc(100% - 28px));
    min-height: 66px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand-logo-wrap {
    width: 40px;
    min-width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-logo-img {
    max-height: 36px;
  }

  .menu-toggle {
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    box-shadow: 0 10px 28px rgba(16, 47, 34, 0.08);
  }

  .menu-toggle span {
    margin: 0;
  }

  body.menu-open::before {
    inset: 66px 0 0;
    background: rgba(16, 47, 34, 0.2);
  }

  .nav-panel {
    top: 72px;
    right: 14px;
    left: 14px;
    max-height: calc(100dvh - 88px);
    border-radius: 16px;
    gap: 14px;
    padding: 14px;
  }

  .nav-links {
    gap: 3px;
  }

  .nav-link {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
  }

  .nav-link.active {
    border-color: rgba(47, 107, 69, 0.16);
    box-shadow: inset 4px 0 0 var(--green);
  }

  .language-toggle {
    min-height: 48px;
    align-items: center;
    border-radius: 16px;
    background: var(--cream);
  }

  .language-button {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid transparent;
  }

  .language-button.active {
    border-color: rgba(16, 47, 34, 0.1);
    box-shadow: 0 8px 18px rgba(16, 47, 34, 0.12);
  }
}

@media (max-width: 640px) {
  .navbar {
    width: calc(100% - 24px);
    min-height: 64px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 38px;
    min-width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-logo-img {
    max-height: 34px;
  }

  .brand [data-site-brand] {
    max-width: calc(100vw - 132px);
    font-size: 0.96rem;
  }

  .nav-panel {
    top: 70px;
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 84px);
  }

  .nav-link {
    font-size: 0.92rem;
  }

  .language-button {
    font-size: 0.84rem;
  }

  .whatsapp-float {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .ask-widget {
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 24px);
  }

  .ask-toggle {
    min-width: 142px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .ask-panel {
    max-height: min(500px, calc(100dvh - 142px));
    padding: 16px;
  }

  body:not([data-page="home"]) .site-footer {
    padding-bottom: 196px;
  }
}

@media (max-width: 380px) {
  .brand [data-site-brand] {
    max-width: calc(100vw - 126px);
    font-size: 0.92rem;
  }

  .ask-toggle,
  .whatsapp-float {
    min-height: 40px;
    font-size: 0.82rem;
  }
}

/* Mobile Fix Pack 2: page content, hero, cards, images, map, and lightbox */
@media (max-width: 780px) {
  .page-hero:not(.hero-scene) {
    gap: 24px;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .hero-copy > p:not(.eyebrow),
  .hero-intro,
  .long-copy,
  .section-heading p,
  .story-copy p:not(.eyebrow),
  .visit-landmark-copy > p:not(.eyebrow) {
    line-height: 1.72;
  }

  .hero-actions,
  .visit-landmark-actions,
  .story-cta-row {
    gap: 10px;
  }

  .hero-actions .button,
  .visit-landmark-actions .button,
  .story-cta-row .button,
  .product-body .button {
    width: 100%;
    min-width: 0;
  }

  .hero-media {
    min-height: clamp(260px, 68vw, 380px);
    border-radius: 22px;
  }

  .hero-card {
    padding: 14px;
    font-size: 0.92rem;
  }

  .media-mini,
  .story-photo,
  .product-image,
  .process-image,
  .gallery-image {
    min-height: clamp(190px, 56vw, 260px);
    border-radius: 16px;
  }

  .story-panel {
    gap: 20px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-detail-grid article {
    padding: 15px;
  }

  .product-body {
    gap: 12px;
  }

  .product-process {
    padding-left: 17px;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .process-card > div:last-child {
    padding: 22px;
  }

  .visit-map-frame,
  .visit-map-frame iframe,
  .visit-hero-map .visit-map-frame,
  .visit-hero-map .visit-map-frame iframe {
    min-height: clamp(260px, 72vw, 340px);
  }

  .visit-landmark-layout {
    gap: 20px;
  }

  .visit-landmark-copy h2 {
    max-width: 100%;
  }

  .inquiry-layout {
    gap: 24px;
  }

  .lightbox-backdrop {
    align-items: stretch;
    padding: 12px;
  }

  .lightbox.story-lightbox,
  .story-lightbox {
    width: 100%;
    max-height: calc(100dvh - 24px);
    grid-template-columns: 1fr;
    overflow: auto;
    border-radius: 18px;
  }

  .simple-story-lightbox .story-lightbox-photo,
  .story-lightbox-photo {
    min-height: clamp(220px, 62vw, 300px);
    aspect-ratio: 4 / 3;
  }

  .story-lightbox-copy {
    overflow: visible;
    padding: 22px;
  }

  .story-lightbox-copy h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    line-height: 1.12;
  }

  .story-simple-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .page-hero:not(.hero-scene) {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  h1 {
    max-width: 13.5ch;
    font-size: clamp(2.1rem, 10.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  h3 {
    line-height: 1.24;
  }

  body[data-page="home"] .hero-scene {
    min-height: 100dvh;
    padding-top: 94px;
    padding-bottom: 78px;
  }

  body[data-page="home"] .hero-scene .hero-copy h1 {
    max-width: 8.2ch;
    font-size: clamp(2.9rem, 14.8vw, 4.35rem);
    line-height: 0.94;
  }

  body[data-page="home"] .hero-scene .hero-intro {
    max-width: 24rem;
    line-height: 1.58;
  }

  body[data-page="home"] .hero-scene .hero-trust-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
    padding: 10px 14px;
  }

  body[data-page="home"] .hero-scene .hero-trust-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 47, 34, 0.16);
  }

  body[data-page="home"] .hero-scene .hero-trust-item + .hero-trust-item {
    padding-left: 0;
    border-left: 0;
  }

  body[data-page="home"] .hero-scene .hero-trust-item:last-child {
    border-bottom: 0;
  }

  .hero-media {
    min-height: clamp(230px, 64vw, 320px);
  }

  body[data-page="contact"] .hero-card {
    right: 14px;
    bottom: 220px;
    left: 14px;
    padding: 14px;
  }

  .route-card,
  .value-card,
  .chapter-card,
  .fact-card,
  .process-card,
  .story-panel,
  .product-body,
  .inquiry-form,
  .visit-landmark-copy,
  .gallery-card-copy {
    padding: 20px;
  }

  .product-image,
  .process-image,
  .gallery-image {
    min-height: clamp(180px, 54vw, 235px);
  }

  .process-card > div:last-child {
    padding: 20px;
  }

  .visit-landmark-card {
    padding: 15px;
  }

  .gallery-card-copy h3 {
    font-size: 1rem;
  }

  .gallery-card-copy p:last-child {
    line-height: 1.62;
  }

  .gallery-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-button {
    min-width: 0;
    white-space: normal;
  }

  .lightbox-backdrop {
    padding: 10px;
  }

  .story-lightbox-copy {
    padding: 20px;
  }

  html[lang="zh-CN"] .hero-copy p,
  html[lang="zh-CN"] .long-copy,
  html[lang="zh-CN"] .route-card p,
  html[lang="zh-CN"] .value-card p,
  html[lang="zh-CN"] .chapter-card p,
  html[lang="zh-CN"] .fact-card p,
  html[lang="zh-CN"] .process-card p,
  html[lang="zh-CN"] .visit-landmark-card p,
  html[lang="zh-CN"] .story-simple-text {
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.82;
  }
}

@media (max-width: 430px) {
  .hero-copy > p:not(.eyebrow),
  .hero-intro,
  .long-copy,
  .section-heading p {
    font-size: 0.98rem;
  }

  .product-body h2 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .visit-map-frame,
  .visit-map-frame iframe,
  .visit-hero-map .visit-map-frame,
  .visit-hero-map .visit-map-frame iframe {
    min-height: 260px;
  }

  .simple-story-lightbox .story-lightbox-photo,
  .story-lightbox-photo {
    min-height: 210px;
  }
}

/* V2 hero system alignment: keep Home as reference, align other page heroes */
body:not([data-page="home"]) .page-hero {
  min-height: min(740px, calc(100dvh - 76px));
  gap: clamp(32px, 5vw, 68px);
  padding-top: clamp(78px, 9vw, 116px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

body:not([data-page="home"]) .hero-copy {
  width: min(620px, 100%);
}

body:not([data-page="home"]) .hero-copy .eyebrow {
  margin-bottom: 18px;
  color: #0d4b33;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body:not([data-page="home"]) .hero-copy h1 {
  max-width: 12.4ch;
  color: #053f2b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 5.9vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
}

body:not([data-page="home"]) .visit-page-hero .hero-copy h1 {
  font-size: clamp(3.38rem, 5.7vw, 6.25rem);
}

body:not([data-page="home"]) .hero-copy > p:not(.eyebrow),
body:not([data-page="home"]) .hero-intro {
  max-width: 560px;
  margin-top: 22px;
  color: #173f2c;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.62;
}

body:not([data-page="home"]) .hero-actions {
  gap: 14px;
  margin-top: 30px;
}

body:not([data-page="home"]) .hero-actions .button {
  min-width: 174px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  letter-spacing: 0;
  transition: transform 240ms var(--motion-ease), box-shadow 240ms var(--motion-ease), background-color 240ms ease, border-color 240ms ease;
}

body:not([data-page="home"]) .hero-actions .button-primary {
  background: linear-gradient(135deg, #0a4b31, #167346);
  box-shadow: 0 20px 38px rgba(15, 90, 56, 0.24);
}

body:not([data-page="home"]) .hero-actions .button-primary:hover,
body:not([data-page="home"]) .hero-actions .button-primary:focus-visible {
  box-shadow: 0 24px 42px rgba(15, 90, 56, 0.3);
}

body:not([data-page="home"]) .hero-actions .button-secondary {
  background: rgba(251, 247, 238, 0.58);
  border-color: rgba(16, 47, 34, 0.28);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
}

body:not([data-page="home"]) .hero-actions .button-secondary:hover,
body:not([data-page="home"]) .hero-actions .button-secondary:focus-visible {
  border-color: rgba(16, 47, 34, 0.42);
  background: rgba(251, 247, 238, 0.74);
  box-shadow: 0 18px 34px rgba(16, 47, 34, 0.12);
}

body:not([data-page="home"]) .hero-media,
body:not([data-page="home"]) .visit-hero-map .visit-map-frame {
  min-height: clamp(440px, 48vh, 570px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: clamp(22px, 3.4vw, 34px);
  box-shadow: var(--shadow-strong);
}

body:not([data-page="home"]) .hero-card {
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px;
  background: rgba(16, 47, 34, 0.74);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(16, 47, 34, 0.16);
}

body:not([data-page="home"]) .hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

body:not([data-page="home"]) .visit-page-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
}

html[lang="zh-CN"] body:not([data-page="home"]) .hero-copy h1 {
  max-width: 8.5ch;
  font-size: clamp(3.1rem, 5.6vw, 6.1rem);
  line-height: 1;
}

html[lang="zh-CN"] body:not([data-page="home"]) .hero-copy > p:not(.eyebrow),
html[lang="zh-CN"] body:not([data-page="home"]) .hero-intro {
  max-width: 600px;
  line-height: 1.76;
}

@media (max-width: 1120px) {
  body:not([data-page="home"]) .page-hero,
  body:not([data-page="home"]) .visit-page-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body:not([data-page="home"]) .page-hero {
    gap: 26px;
    padding-top: 50px;
    padding-bottom: 52px;
  }

  body:not([data-page="home"]) .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 12.8vw, 4.25rem);
    line-height: 0.96;
  }

  body:not([data-page="home"]) .hero-copy > p:not(.eyebrow),
  body:not([data-page="home"]) .hero-intro {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  body:not([data-page="home"]) .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  body:not([data-page="home"]) .hero-media,
  body:not([data-page="home"]) .visit-hero-map .visit-map-frame {
    min-height: clamp(260px, 70vw, 380px);
    border-radius: 22px;
  }

  html[lang="zh-CN"] body:not([data-page="home"]) .hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(2.55rem, 11.4vw, 3.8rem);
    line-height: 1.04;
  }
}

@media (max-width: 430px) {
  body:not([data-page="home"]) .page-hero {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  body:not([data-page="home"]) .hero-copy .eyebrow {
    margin-bottom: 14px;
    letter-spacing: 0.14em;
  }

  body:not([data-page="home"]) .hero-copy h1 {
    font-size: clamp(2.45rem, 12.4vw, 3.55rem);
  }

  html[lang="zh-CN"] body:not([data-page="home"]) .hero-copy h1 {
    font-size: clamp(2.28rem, 10.8vw, 3.25rem);
  }
}

/* V2 footer polish and collapsible Ask widget */
body:not([data-page="home"]) .site-footer {
  position: relative;
  padding: 28px 20px 20px;
  background:
    radial-gradient(circle at 8% 12%, rgba(251, 247, 238, 0.08), transparent 28rem),
    linear-gradient(180deg, #123b2a, #0b2f20);
}

body:not([data-page="home"]) .footer-grid {
  grid-template-columns: minmax(280px, 1.18fr) minmax(250px, 0.9fr) minmax(270px, 0.92fr);
  gap: clamp(18px, 3vw, 40px);
}

body:not([data-page="home"]) .footer-grid h3 {
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body:not([data-page="home"]) .footer-grid p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.52;
}

body:not([data-page="home"]) .footer-brand {
  width: fit-content;
  margin-bottom: 10px;
  color: var(--cream);
}

body:not([data-page="home"]) .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}

body:not([data-page="home"]) .footer-links li {
  list-style: none;
}

body:not([data-page="home"]) .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: rgba(251, 247, 238, 0.9);
  background: rgba(251, 247, 238, 0.08);
  border: 1px solid rgba(251, 247, 238, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.15;
  transition: transform 180ms var(--motion-ease), color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

body:not([data-page="home"]) .footer-links a:hover,
body:not([data-page="home"]) .footer-links a:focus-visible {
  color: var(--forest);
  background: var(--cream);
  border-color: rgba(251, 247, 238, 0.72);
  transform: translateY(-1px);
}

body:not([data-page="home"]) .copyright {
  margin-top: 12px;
  padding-top: 10px;
  border-top-color: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.58);
}

body:not([data-page="home"]) .whatsapp-float {
  right: 24px;
  bottom: 24px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(8, 36, 24, 0.22);
}

body:not([data-page="home"]) .ask-widget {
  right: 24px;
  bottom: 86px;
  width: 56px;
  transition: width 260ms var(--motion-ease), right 260ms var(--motion-ease), bottom 260ms var(--motion-ease);
}

body:not([data-page="home"]) .ask-widget.is-open {
  width: min(360px, calc(100vw - 48px));
}

body:not([data-page="home"]) .ask-toggle {
  width: 56px;
  min-width: 56px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  overflow: hidden;
  color: var(--forest);
  background: rgba(251, 247, 238, 0.94);
  border: 1px solid rgba(16, 47, 34, 0.1);
  box-shadow: 0 18px 42px rgba(8, 36, 24, 0.18), 0 0 0 7px rgba(251, 247, 238, 0.12);
  transition: width 260ms var(--motion-ease), min-width 260ms var(--motion-ease), background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body:not([data-page="home"]) .ask-toggle:hover,
body:not([data-page="home"]) .ask-toggle:focus-visible {
  transform: translateY(-1px);
  background: var(--cream);
}

body:not([data-page="home"]) .ask-widget.is-open .ask-toggle {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  padding: 0 18px;
}

.ask-toggle-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  color: var(--forest);
  background: rgba(251, 247, 238, 0.86);
  border: 1px solid rgba(16, 47, 34, 0.12);
  border-radius: 50%;
  font-weight: 900;
  overflow: hidden;
}

.ask-toggle-logo {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.ask-toggle-fallback {
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.ask-toggle-label {
  width: 0;
  max-width: 0;
  flex: 0 0 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transform: translateX(-8px);
  transition: width 260ms var(--motion-ease), max-width 260ms var(--motion-ease), opacity 180ms ease 70ms, transform 220ms var(--motion-ease);
}

body:not([data-page="home"]) .ask-widget.is-open .ask-toggle-label {
  width: auto;
  max-width: 220px;
  flex: 0 1 auto;
  opacity: 1;
  transform: translateX(0);
}

body:not([data-page="home"]) .ask-panel {
  margin-bottom: 12px;
  max-height: min(500px, calc(100dvh - 166px));
  border-color: rgba(251, 247, 238, 0.72);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(8, 36, 24, 0.22);
}

@media (max-width: 980px) {
  body:not([data-page="home"]) .site-footer {
    padding-bottom: 76px;
  }

  body:not([data-page="home"]) .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body:not([data-page="home"]) .site-footer {
    padding: 28px 18px 72px;
  }

  body:not([data-page="home"]) .footer-links {
    gap: 8px;
  }

  body:not([data-page="home"]) .footer-links a {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  body:not([data-page="home"]) .whatsapp-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  body:not([data-page="home"]) .ask-widget {
    right: 14px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    width: 50px;
    max-width: calc(100vw - 28px);
  }

  body:not([data-page="home"]) .ask-widget.is-open {
    right: 14px;
    left: 14px;
    width: auto;
  }

  body:not([data-page="home"]) .ask-toggle {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
  }

  body:not([data-page="home"]) .ask-panel {
    width: 100%;
    max-height: min(500px, calc(100dvh - 148px));
  }

  .chat-log {
    min-height: 170px;
    max-height: min(330px, calc(100dvh - 300px));
  }
}

/* V2 inner-page hero ambient polish: Home remains the reference only */
body:not([data-page="home"]) .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-inline: clamp(24px, 3vw, 40px);
  border-radius: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(ellipse at 16% 24%, rgba(251, 247, 238, 0.78), rgba(251, 247, 238, 0.34) 34%, transparent 68%),
    radial-gradient(circle at 84% 16%, rgba(238, 201, 126, 0.14), transparent 28rem),
    radial-gradient(ellipse at 92% 78%, rgba(47, 107, 69, 0.11), transparent 34rem),
    linear-gradient(135deg, rgba(251, 247, 238, 0.52), rgba(230, 239, 224, 0.32) 52%, rgba(255, 255, 255, 0.1));
}

body:not([data-page="home"]) .page-hero::before,
body:not([data-page="home"]) .page-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

body:not([data-page="home"]) .page-hero::before {
  inset: -18% -10% auto auto;
  z-index: -1;
  width: min(42vw, 560px);
  height: min(36vh, 360px);
  background:
    radial-gradient(ellipse at 58% 44%, rgba(255, 232, 177, 0.22), rgba(251, 247, 238, 0.11) 42%, transparent 72%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.2), transparent 42%);
  filter: blur(2px);
}

body:not([data-page="home"]) .page-hero::after {
  inset: auto -8% -20% 42%;
  z-index: -1;
  height: min(32vh, 280px);
  background:
    radial-gradient(ellipse at 82% 100%, rgba(16, 47, 34, 0.1), rgba(47, 107, 69, 0.06) 38%, transparent 74%),
    linear-gradient(90deg, transparent, rgba(251, 247, 238, 0.16));
  filter: blur(1px);
}

body:not([data-page="home"]) .hero-copy,
body:not([data-page="home"]) .hero-media,
body:not([data-page="home"]) .visit-hero-map {
  position: relative;
  z-index: 1;
}

body:not([data-page="home"]) .hero-media,
body:not([data-page="home"]) .visit-hero-map .visit-map-frame {
  box-shadow:
    0 30px 80px rgba(16, 47, 34, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.66) inset;
}

body:not([data-page="home"]) .hero-copy .eyebrow {
  text-shadow: 0 2px 18px rgba(251, 247, 238, 0.64);
}

body:not([data-page="home"]) .hero-copy h1,
body:not([data-page="home"]) .hero-copy > p:not(.eyebrow),
body:not([data-page="home"]) .hero-intro {
  text-shadow: 0 2px 22px rgba(251, 247, 238, 0.54);
}

@media (max-width: 780px) {
  body:not([data-page="home"]) .page-hero {
    padding-inline: clamp(20px, 5vw, 28px);
    border-radius: 26px;
    background:
      radial-gradient(ellipse at 22% 18%, rgba(251, 247, 238, 0.76), rgba(251, 247, 238, 0.32) 38%, transparent 70%),
      radial-gradient(circle at 92% 20%, rgba(238, 201, 126, 0.12), transparent 18rem),
      linear-gradient(145deg, rgba(251, 247, 238, 0.56), rgba(230, 239, 224, 0.3) 56%, rgba(255, 255, 255, 0.12));
  }

  body:not([data-page="home"]) .page-hero::before {
    width: 74vw;
    height: 220px;
    opacity: 0.8;
  }

  body:not([data-page="home"]) .page-hero::after {
    inset: auto -20% -18% 10%;
    height: 180px;
    opacity: 0.72;
  }
}

body[data-page="gallery"] .filter-button:hover,
body[data-page="gallery"] .filter-button:focus-visible,
body[data-page="gallery"] .filter-button.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 14px 28px rgba(16, 103, 64, 0.18);
  transform: translateY(-1px);
}

/* Gallery page CTA and filter light-bar polish only */
body[data-page="gallery"] .hero-actions .button-primary,
body[data-page="gallery"] .filter-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="gallery"] .hero-actions .button-primary::before,
body[data-page="gallery"] .filter-button::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 43%, rgba(255, 255, 255, 0.66) 50%, rgba(255, 255, 255, 0.18) 57%, transparent 70%);
  opacity: 0;
  transform: translateX(-56%) rotate(4deg);
}

body[data-page="gallery"] .hero-actions .button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

body[data-page="gallery"] .filter-button:not(.active) {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(47, 107, 69, 0.34);
}

body[data-page="gallery"] .hero-actions .button-primary::before {
  opacity: 0.42;
  animation: galleryButtonLightBar 6.8s ease-in-out infinite;
}

body[data-page="gallery"] .hero-actions .button-primary:hover,
body[data-page="gallery"] .hero-actions .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="gallery"] .hero-actions .button-primary:hover::before,
body[data-page="gallery"] .hero-actions .button-primary:focus-visible::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.78) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
  opacity: 0.7;
}

body[data-page="gallery"] .filter-button.active::before {
  opacity: 0.5;
  animation: galleryButtonLightBar 7.4s ease-in-out infinite;
}

body[data-page="gallery"] .filter-button:hover::before,
body[data-page="gallery"] .filter-button:focus-visible::before {
  opacity: 0.7;
  animation: galleryButtonLightBar 6.4s ease-in-out infinite;
}

@keyframes galleryButtonLightBar {
  0%,
  38% {
    transform: translateX(-56%) rotate(4deg);
  }

  68%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="gallery"] .hero-actions .button-primary::before,
  body[data-page="gallery"] .filter-button::before,
  body[data-page="gallery"] .filter-button.active::before,
  body[data-page="gallery"] .filter-button:hover::before,
  body[data-page="gallery"] .filter-button:focus-visible::before {
    animation: none;
    opacity: 0;
  }
}

/* About page hero CTA polish only */
body[data-page="about"] .hero-actions .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="about"] .hero-actions .button::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 43%, rgba(255, 255, 255, 0.64) 50%, rgba(255, 255, 255, 0.2) 57%, transparent 70%);
  opacity: 0.44;
  transform: translateX(-50%) rotate(4deg);
  animation: aboutHeroCtaLightBar 6.9s ease-in-out infinite;
}

body[data-page="about"] .hero-actions .button:hover::before,
body[data-page="about"] .hero-actions .button:focus-visible::before {
  opacity: 0.72;
}

body[data-page="about"] .hero-actions .button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

body[data-page="about"] .hero-actions .button-primary:hover,
body[data-page="about"] .hero-actions .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="about"] .hero-actions .button-secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(47, 107, 69, 0.58);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
}

body[data-page="about"] .hero-actions .button-secondary::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.74) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
}

body[data-page="about"] .hero-actions .button-secondary:hover,
body[data-page="about"] .hero-actions .button-secondary:focus-visible {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.2);
}

@keyframes aboutHeroCtaLightBar {
  0%,
  42% {
    transform: translateX(-56%) rotate(4deg);
  }

  72%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="about"] .hero-actions .button::before {
    animation: none;
    opacity: 0;
  }
}

/* Story page hero CTA polish only */
body[data-page="story"] .hero-actions .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="story"] .hero-actions .button::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 43%, rgba(255, 255, 255, 0.64) 50%, rgba(255, 255, 255, 0.2) 57%, transparent 70%);
  opacity: 0.44;
  transform: translateX(-50%) rotate(4deg);
  animation: storyHeroCtaLightBar 6.9s ease-in-out infinite;
}

body[data-page="story"] .hero-actions .button:hover::before,
body[data-page="story"] .hero-actions .button:focus-visible::before {
  opacity: 0.72;
}

body[data-page="story"] .hero-actions .button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

body[data-page="story"] .hero-actions .button-primary:hover,
body[data-page="story"] .hero-actions .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="story"] .hero-actions .button:nth-child(2) {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(47, 107, 69, 0.58);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
}

body[data-page="story"] .hero-actions .button:nth-child(2)::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.74) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
}

body[data-page="story"] .hero-actions .button:nth-child(2):hover,
body[data-page="story"] .hero-actions .button:nth-child(2):focus-visible {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.2);
}

@keyframes storyHeroCtaLightBar {
  0%,
  42% {
    transform: translateX(-56%) rotate(4deg);
  }

  72%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="story"] .hero-actions .button::before {
    animation: none;
    opacity: 0;
  }
}

/* Process page hero CTA polish only */
body[data-page="process"] .hero-actions .button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="process"] .hero-actions .button-primary::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 43%, rgba(255, 255, 255, 0.64) 50%, rgba(255, 255, 255, 0.2) 57%, transparent 70%);
  opacity: 0.44;
  transform: translateX(-50%) rotate(4deg);
  animation: processHeroCtaLightBar 6.9s ease-in-out infinite;
}

body[data-page="process"] .hero-actions .button-primary:hover,
body[data-page="process"] .hero-actions .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="process"] .hero-actions .button-primary:hover::before,
body[data-page="process"] .hero-actions .button-primary:focus-visible::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.78) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
  opacity: 0.72;
}

@keyframes processHeroCtaLightBar {
  0%,
  42% {
    transform: translateX(-56%) rotate(4deg);
  }

  72%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="process"] .hero-actions .button-primary::before {
    animation: none;
    opacity: 0;
  }
}

/* Products page CTA polish only */
body[data-page="products"] .hero-actions .button-primary,
body[data-page="products"] .product-body > .button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="products"] .hero-actions .button-primary::before,
body[data-page="products"] .product-body > .button-primary::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 43%, rgba(255, 255, 255, 0.64) 50%, rgba(255, 255, 255, 0.2) 57%, transparent 70%);
  opacity: 0.42;
  transform: translateX(-50%) rotate(4deg);
  animation: productsCtaLightBar 7s ease-in-out infinite;
}

body[data-page="products"] .hero-actions .button-primary:hover,
body[data-page="products"] .hero-actions .button-primary:focus-visible,
body[data-page="products"] .product-body > .button-primary:hover,
body[data-page="products"] .product-body > .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="products"] .hero-actions .button-primary:hover::before,
body[data-page="products"] .hero-actions .button-primary:focus-visible::before,
body[data-page="products"] .product-body > .button-primary:hover::before,
body[data-page="products"] .product-body > .button-primary:focus-visible::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.78) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
  opacity: 0.72;
}

@keyframes productsCtaLightBar {
  0%,
  42% {
    transform: translateX(-56%) rotate(4deg);
  }

  72%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="products"] .hero-actions .button-primary::before,
  body[data-page="products"] .product-body > .button-primary::before {
    animation: none;
    opacity: 0;
  }
}

/* Contact page CTA polish only */
body[data-page="contact"] .hero-actions .button,
body[data-page="contact"] .inquiry-form > .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="contact"] .hero-actions .button::before,
body[data-page="contact"] .inquiry-form > .button::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.24) 43%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.22) 57%, transparent 70%);
  opacity: 0.48;
  transform: translateX(-46%) rotate(4deg);
  animation: contactCtaLightBar 6.8s ease-in-out infinite;
}

body[data-page="contact"] .hero-actions .button:hover::before,
body[data-page="contact"] .hero-actions .button:focus-visible::before,
body[data-page="contact"] .inquiry-form > .button:hover::before,
body[data-page="contact"] .inquiry-form > .button:focus-visible::before {
  opacity: 0.72;
}

body[data-page="contact"] .hero-actions .button-primary,
body[data-page="contact"] .inquiry-form > .button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

body[data-page="contact"] .hero-actions .button-primary:hover,
body[data-page="contact"] .hero-actions .button-primary:focus-visible,
body[data-page="contact"] .inquiry-form > .button-primary:hover,
body[data-page="contact"] .inquiry-form > .button-primary:focus-visible {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.18);
}

body[data-page="contact"] .hero-actions .button-secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(47, 107, 69, 0.58);
}

body[data-page="contact"] .hero-actions .button-secondary::before {
  background:
    linear-gradient(105deg, transparent 30%, rgba(47, 107, 69, 0.08) 43%, rgba(255, 255, 255, 0.72) 50%, rgba(47, 107, 69, 0.08) 57%, transparent 70%);
}

body[data-page="contact"] .hero-actions .button-secondary:hover,
body[data-page="contact"] .hero-actions .button-secondary:focus-visible {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.2);
}

@keyframes contactCtaLightBar {
  0%,
  42% {
    transform: translateX(-56%) rotate(4deg);
  }

  72%,
  100% {
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="contact"] .hero-actions .button::before,
  body[data-page="contact"] .inquiry-form > .button::before {
    animation: none;
    opacity: 0;
  }
}

/* Visit page rotating CTA highlight only */
body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(47, 107, 69, 0.48);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
  animation: visitCtaTraffic 9s ease-in-out infinite;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--motion-ease);
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button::before {
  position: absolute;
  inset: -45% -70%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 43%, rgba(255, 255, 255, 0.68) 50%, rgba(255, 255, 255, 0.18) 57%, transparent 70%);
  opacity: 0;
  transform: translateX(-56%) rotate(4deg);
  animation: visitCtaLightSweep 9s ease-in-out infinite;
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:nth-child(2),
body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:nth-child(2)::before {
  animation-delay: 3s;
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:nth-child(3),
body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:nth-child(3)::before {
  animation-delay: 6s;
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions:hover .button {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(47, 107, 69, 0.48);
  box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
  animation: none;
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions:hover .button::before {
  opacity: 0;
  animation: none;
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:hover,
body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:focus-visible {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 18px 38px rgba(47, 107, 69, 0.22);
}

body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:hover::before,
body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button:focus-visible::before {
  opacity: 0.7;
}

@keyframes visitCtaTraffic {
  0%,
  28% {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 18px 38px rgba(47, 107, 69, 0.22);
  }

  33%,
  100% {
    color: var(--forest);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(47, 107, 69, 0.48);
    box-shadow: 0 14px 30px rgba(16, 47, 34, 0.08);
  }
}

@keyframes visitCtaLightSweep {
  0% {
    opacity: 0;
    transform: translateX(-56%) rotate(4deg);
  }

  8%,
  24% {
    opacity: 0.68;
  }

  30%,
  100% {
    opacity: 0;
    transform: translateX(56%) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button,
  body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button::before {
    animation: none;
  }

  body[data-page="visit"] .visit-page-hero .visit-landmark-actions .button::before {
    opacity: 0;
  }
}
