:root {
  --ink: #0f3036;
  --deep: #003b4a;
  --jade: #1b6a5b;
  --gold: #bd8a3b;
  --paper: #f6f0e6;
  --cream: #fbf8ef;
  --white: #fffdf8;
  --line: rgba(255, 255, 255, 0.45);
  --shadow: 0 30px 80px rgba(17, 40, 42, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "STKaiti", "Songti SC", "Noto Serif CJK SC", serif;
  overflow-x: hidden;
}

body.is-modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 3vw, 54px);
  color: var(--white);
  transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.site-shell.is-solid,
.site-shell.is-dark {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 1px 0 rgba(26, 48, 54, 0.1);
  backdrop-filter: blur(16px);
}

.brand-mark {
  position: absolute;
  left: clamp(18px, 3vw, 54px);
  display: flex;
  align-items: center;
  width: 156px;
  height: 46px;
  isolation: isolate;
}

.brand-logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.28s ease, filter 0.28s ease;
}

.brand-logo-light {
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 24, 28, 0.35));
}

.brand-logo-dark {
  opacity: 0;
}

.site-shell.is-solid .brand-logo-light,
.site-shell.is-dark .brand-logo-light {
  opacity: 0;
}

.site-shell.is-solid .brand-logo-dark,
.site-shell.is-dark .brand-logo-dark {
  opacity: 1;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.site-menu a {
  position: relative;
  padding: 28px 0;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  position: absolute;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
}

.side-nav {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 0;
  width: 88px;
  padding: 76px 0 18px;
  background: rgba(0, 59, 74, 0.52);
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.86);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.side-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  writing-mode: vertical-rl;
}

.side-nav span {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  display: grid;
  place-items: center;
  color: var(--white);
  background: #092f34;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-image: linear-gradient(90deg, rgba(0, 37, 45, 0.6), rgba(0, 37, 45, 0.08), rgba(0, 37, 45, 0.48)), var(--image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  text-shadow: 0 8px 36px rgba(0, 32, 36, 0.65);
}

.eyebrow,
.section-title {
  margin: 0 0 26px;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 10vw, 148px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero p:last-child {
  width: min(90vw, 680px);
  margin: 28px auto 0;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 54px;
  left: 50%;
  display: flex;
  gap: 22px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.scroll-cue {
  position: absolute;
  right: 36px;
  bottom: 62px;
  z-index: 5;
  width: 34px;
  height: 54px;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.72);
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
}

.story {
  color: var(--deep);
  background: #e4d5bc;
}

.story-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 240, 226, 0.2), rgba(247, 240, 226, 0.88) 55%, rgba(247, 240, 226, 0.96));
}

.story-copy {
  position: absolute;
  z-index: 2;
  top: 24%;
  right: clamp(80px, 11vw, 210px);
  width: min(520px, 46vw);
}

.story-text {
  display: none;
}

.story-text.is-active {
  display: block;
}

.story h2,
.garden h2,
.product-copy h2 {
  margin: 0 0 34px;
  font-size: clamp(40px, 4.2vw, 72px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.story p,
.garden p,
.product-text p {
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.story-switch {
  position: absolute;
  z-index: 3;
  right: clamp(34px, 5vw, 96px);
  bottom: 11%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--deep);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
}

.story-switch button {
  display: grid;
  place-items: center;
  min-width: 92px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.14em;
}

.story-switch b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 400;
}

.story-switch span {
  display: block;
  width: 1px;
  height: 110px;
  margin: 22px 0;
  background: rgba(0, 59, 74, 0.55);
}

.story-switch button:not(.is-active) {
  opacity: 0.48;
}

.about,
.faq {
  display: grid;
  align-items: center;
  min-height: auto;
  padding: 132px clamp(24px, 6vw, 96px) 112px;
  color: var(--deep);
  background:
    radial-gradient(circle at 12% 18%, rgba(189, 138, 59, 0.13), transparent 30%),
    linear-gradient(135deg, #fbf8ef 0%, #eee2cc 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(42px, 6vw, 96px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-copy h2,
.faq-heading h2 {
  margin: 0 0 30px;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.about-copy p,
.faq-heading p {
  margin: 0 0 22px;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(0, 59, 74, 0.18);
  box-shadow: var(--shadow);
}

.about-facts div {
  min-height: 160px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.9);
}

.about-facts dt {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.about-facts dd {
  margin: 0;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 19px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.craft {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--deep);
}

.craft-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.craft-bg.is-active {
  opacity: 1;
}

.craft-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 35, 44, 0.2), rgba(0, 35, 44, 0.72));
}

.section-brush {
  position: absolute;
  left: 50%;
  bottom: 80px;
  z-index: 2;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 86px);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.craft-list {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 230px));
  gap: clamp(22px, 4vw, 78px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.craft-list li {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.craft-list li.is-active,
.craft-list li:hover {
  color: var(--white);
  transform: translateY(-8px);
}

.craft-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 30px;
}

.craft-list b {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.craft-list p {
  margin: 18px 0 0;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.products {
  color: var(--white);
  background: var(--deep);
}

.product-stage,
.product-image {
  position: absolute;
  inset: 0;
}

.product-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 36, 45, 0.12), rgba(0, 36, 45, 0.16) 52%, rgba(0, 36, 45, 0.82) 74%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.4s ease;
}

.product-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.product-copy {
  position: absolute;
  z-index: 4;
  top: 23%;
  right: clamp(80px, 8vw, 150px);
  width: min(500px, 42vw);
  text-shadow: 0 12px 40px rgba(0, 28, 34, 0.45);
}

.product-text {
  display: none;
}

.product-text.is-active {
  display: block;
}

.product-controls {
  position: absolute;
  z-index: 5;
  right: clamp(70px, 8vw, 150px);
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.arrow {
  width: 34px;
  height: 58px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.arrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.arrow.prev::before {
  transform: rotate(-45deg);
}

.arrow.next::before {
  transform: rotate(135deg);
}

.product-thumbs {
  display: flex;
  gap: 12px;
}

.product-thumbs button {
  width: 94px;
  height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-family: "STKaiti", "Songti SC", serif;
  font-size: 21px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.product-thumbs button.is-active {
  background: rgba(255, 253, 248, 0.92);
  color: var(--deep);
}

.faq {
  align-items: start;
  background:
    linear-gradient(90deg, rgba(0, 59, 74, 0.94), rgba(0, 59, 74, 0.78)),
    #003b4a;
  color: var(--white);
}

.about-faq {
  width: min(1180px, 100%);
  margin: clamp(56px, 7vw, 92px) auto 0;
  padding: clamp(42px, 5vw, 64px);
  box-shadow: var(--shadow);
}

.faq-heading {
  width: min(980px, 100%);
  margin: 0 auto 42px;
}

.faq-heading .section-title {
  color: #e7c474;
}

.faq-heading p {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.76);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.faq-list details {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  backdrop-filter: blur(10px);
}

.faq-list summary {
  position: relative;
  min-height: 84px;
  padding: 28px 58px 26px 28px;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 26px;
  right: 28px;
  color: #e7c474;
  font-size: 28px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 28px 30px;
  color: rgba(255, 253, 248, 0.76);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.garden {
  display: grid;
  place-items: center;
  color: var(--deep);
}

.garden > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.garden::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 55, 61, 0.25), rgba(246, 239, 222, 0.04));
}

.garden-card {
  position: relative;
  z-index: 2;
  width: min(520px, 86vw);
  margin-left: auto;
  margin-right: clamp(70px, 12vw, 180px);
  padding: 56px 58px 62px;
  background: rgba(251, 248, 239, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.garden-card .consult-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 46px;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid var(--deep);
  color: var(--deep);
  background: transparent;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.garden-card .consult-trigger:hover,
.garden-card .consult-trigger:focus-visible {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

.consult-modal[hidden] {
  display: none;
}

.consult-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.consult-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 32, 38, 0.62);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.consult-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 40px 42px 44px;
  color: var(--deep);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
  text-align: center;
}

.consult-dialog h2 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.consult-dialog p:not(.section-title) {
  margin: 0 auto 24px;
  max-width: 280px;
  color: rgba(0, 59, 74, 0.78);
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 15px;
  line-height: 1.9;
}

.consult-dialog img {
  display: block;
  width: min(240px, 68vw);
  height: auto;
  margin: 0 auto;
  padding: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 44, 47, 0.16);
}

.consult-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 59, 74, 0.2);
  color: var(--deep);
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 44px clamp(24px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #002c35;
  font-family: "PingFang SC", "Heiti SC", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.footer p {
  margin: 0;
}

.footer-brand {
  color: var(--white);
  font-family: "STKaiti", "Songti SC", serif;
  font-size: 32px;
  letter-spacing: 0.18em;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-shell {
    justify-content: flex-start;
    height: 70px;
  }

  .brand-mark {
    left: 18px;
  }

  .menu-button {
    display: block;
    color: inherit;
  }

  .site-menu {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 28px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.96);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    width: 100%;
    padding: 16px 0;
  }

  .side-nav {
    display: none;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
    letter-spacing: 0.02em;
    line-height: 1.22;
    white-space: normal;
  }

  .hero p:last-child,
  .story p,
  .garden p,
  .product-text p {
    font-size: 16px;
  }

  .story-copy,
  .product-copy {
    left: 28px;
    right: 28px;
    top: 18%;
    width: auto;
  }

  .story::after {
    background: rgba(247, 240, 226, 0.82);
  }

  .story-switch {
    right: 24px;
    bottom: 54px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .about,
  .faq {
    padding: 104px 24px 78px;
  }

  .about-faq {
    margin-top: 48px;
    padding: 32px 20px;
  }

  .about-inner,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .about-copy h2,
  .faq-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .about-copy p,
  .faq-heading p {
    font-size: 16px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts div {
    min-height: auto;
    padding: 24px;
  }

  .about-facts dd {
    font-size: 17px;
  }

  .faq-list summary {
    min-height: auto;
    padding: 24px 54px 22px 24px;
    font-size: 17px;
  }

  .faq-list p {
    padding: 0 24px 26px;
  }

  .craft-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(86vw, 560px);
  }

  .craft-list li {
    min-height: 180px;
  }

  .craft-list b {
    font-size: 22px;
  }

  .section-brush {
    bottom: 42px;
  }

  .product-stage::after {
    background: rgba(0, 36, 45, 0.6);
  }

  .product-controls {
    left: 24px;
    right: 24px;
    bottom: 40px;
    flex-wrap: wrap;
  }

  .product-thumbs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .product-thumbs button {
    width: auto;
    height: 64px;
    font-size: 16px;
  }

  .garden-card {
    margin: 0 24px;
    padding: 36px 30px 42px;
  }

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

@media (max-width: 520px) {
  .hero-copy {
    width: min(100% - 32px, 360px);
  }

  .hero h1 {
    font-size: clamp(44px, 13.4vw, 56px);
  }

  .hero p:last-child {
    width: 100%;
    font-size: 15px;
    line-height: 1.9;
  }

  .eyebrow,
  .section-title {
    font-size: 14px;
    letter-spacing: 0.22em;
  }
}
