/* Akmé 6 Designs — site styles
   Colors and fonts carried over from the original WordPress/Elementor site. */
:root {
  --teal: #1E4149;        /* primary dark */
  --sage: #9EC8A7;        /* accent */
  --sage-dark: #5E9A6C;   /* accessible accent text on light backgrounds */
  --sand: #EFECE7;
  --sand-2: #E7E2DA;
  --sand-3: #DAD4C7;
  --slate: #93A7B6;
  --ink: #1d2326;
  --muted: #5f6b70;
  --bg: #ffffff;
  --line: #e3e0da;
  --serif: "Playfair Display", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Jost", system-ui, sans-serif;
  --gutter: 16px;
  --side: clamp(16px, 8vw, 220px);   /* side margin of the plants page */
  --card-h: 280px;                   /* plant photo height; width flexes with the columns */
  color-scheme: light;
}
/* Chinese pages: Latin text keeps the original fonts, Chinese characters fall through to
   Noto SC (Simplified) or Noto TC (Traditional), so each script gets its own letterforms */
:root:lang(zh-Hans) {
  --serif: "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  --display: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
  --sans: "Lato", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --label: "Jost", "Noto Sans SC", "PingFang SC", sans-serif;
}
:root:lang(zh-Hant) {
  --serif: "Playfair Display", "Noto Serif TC", "Songti TC", serif;
  --display: "Cormorant Garamond", "Noto Serif TC", "Songti TC", serif;
  --sans: "Lato", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --label: "Jost", "Noto Sans TC", "PingFang TC", sans-serif;
}
:lang(zh) body { line-height: 1.8; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: .02em; }
:lang(zh) .intro h2 { line-height: 1.35; }
:lang(zh) .plant__name { letter-spacing: .12em; font-weight: 600; }
:lang(zh) .lightbox__text h2 { letter-spacing: .1em; font-weight: 600; }
:lang(zh) .nav__menu a, :lang(zh) .btn { letter-spacing: .12em; }
:lang(zh) .nav__contact a { letter-spacing: 0; }
:lang(zh) .lightbox__cats { letter-spacing: .1em; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: var(--teal); }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: calc(100% - 2 * var(--side)); }   /* plants page: ~84% of the window, like the WordPress layout */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus-visible { left: 8px; }   /* keyboard users only; the back-to-top button moves focus here without showing it */
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.nav__menu a { font: 500 14px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: inherit; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { border-color: currentColor; }
.nav__contact { display: none; }
/* Language switch (EN · 繁體 · 简体): set apart from the page links; the current language is dimmed, not linked */
.nav__lang { display: flex; align-items: center; gap: 14px; padding-left: 26px; border-left: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.nav__lang a, .nav__lang span, .langmenu__btn { font: 700 15px/1 var(--label); text-transform: none; letter-spacing: .06em; padding: 6px 0; }
.nav__lang > span, .langmenu.is-current .langmenu__btn { border-bottom: 2px solid currentColor; cursor: default; }   /* current language: underlined, full strength */
/* One 中文 button; 繁體 / 简体 drop down on hover (mouse) or tap */
.langmenu { position: relative; }
.langmenu__btn { background: none; border: 0; border-bottom: 2px solid transparent; color: inherit; text-shadow: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.langmenu.is-current .langmenu__btn { cursor: pointer; }
.langmenu .langmenu__caret { padding: 0; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .2s; }
.langmenu__list { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; right: -14px; min-width: 128px; z-index: 60;
  background: #fff; color: var(--ink); text-shadow: none; border-radius: 2px; box-shadow: 0 6px 24px rgba(0,0,0,.18); display: none; }
.langmenu__list::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }   /* keeps the menu open while the mouse moves down to it */
.langmenu__list a, .langmenu__list span { display: block; padding: 10px 16px; border: 0; white-space: nowrap; font-size: 15px; }
.langmenu__list a:hover { background: var(--sand); }
.langmenu__list span { color: var(--muted); }
.langmenu.is-open .langmenu__list { display: block; }
.langmenu.is-open .langmenu__caret { transform: rotate(180deg); }
@media (hover: hover) { .langmenu:hover .langmenu__list { display: block; } .langmenu:hover .langmenu__caret { transform: rotate(180deg); } }
.nav__lang :lang(zh-Hans), .lightbox__lang:lang(zh-Hans) { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.nav__lang :lang(zh-Hant), .lightbox__lang:lang(zh-Hant) { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; letter-spacing: .1em; }
.nav__toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; right: 0; }
.nav__bars::before { top: -7px; } .nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-header--overlay { position: absolute; inset: 0 0 auto; z-index: 10; }
.topbar--ghost { background: none; visibility: hidden; }
.site-header__logo--ghost { display: block; width: 150px; aspect-ratio: 556 / 389; visibility: hidden; }

.topbar { background: var(--sand); font: 14px/1 var(--label); }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.topbar a { color: var(--ink); text-decoration: none; }
.site-header { color: var(--ink); }
.site-header.site-header--overlay { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.site-header__inner { display: flex; flex-direction: column; align-items: center; padding: 20px 0 14px; position: relative; }
.site-header__logo img { width: 150px; }
.site-header__inner .nav { align-self: flex-end; margin-top: clamp(18px, 2.2vw, 30px); }   /* space between logo and menu */

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu { display: none; position: fixed; inset: 0; background: var(--teal); color: #fff; flex-direction: column; justify-content: center; gap: 30px; z-index: 50; }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { font-size: 18px; }
  .nav__contact { display: block; }
  .nav__lang { gap: 22px; padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.35); }
  .nav__lang a, .nav__lang span, .langmenu__btn { font-size: 18px; }
  .langmenu__list { right: auto; left: 50%; transform: translateX(-50%); top: calc(100% + 10px); }
  .nav__contact a { text-transform: none; letter-spacing: 0; font-size: 16px; }
  .nav__toggle { position: relative; z-index: 60; }
  .nav__toggle[aria-expanded="true"] { color: #fff; position: fixed; top: 20px; right: var(--gutter); }
  .site-header__inner .nav { position: absolute; right: 0; top: 14px; margin-top: 0; }
  .topbar__inner { font-size: 13px; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #2b2a24; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; animation: slide 10s infinite; }
.hero__slide:nth-child(2) { animation-delay: 5s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1); } 5% { opacity: 1; } 50% { opacity: 1; } 55% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; }
}
/* Soft shade behind the menu so it reads on any photo */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 38% at 88% 0%, rgba(12, 24, 27, .55), rgba(12, 24, 27, 0) 70%),
    linear-gradient(180deg, rgba(12, 24, 27, .45) 0%, rgba(12, 24, 27, .18) 16%, rgba(12, 24, 27, 0) 32%); }

/* Logo box: swings in from the left, rests in the center, then glides to the bottom left after 5 s */
.hero__logo { position: absolute; z-index: 5; margin: 0; background: #000; padding: 22px 28px; width: min(300px, 72vw);
  box-shadow: 0 10px 40px rgba(0,0,0,.35); transform-origin: left bottom;
  --end-left: var(--side); --end-top: calc(100% - 6vh); --end-scale: .62;
  left: var(--end-left); top: var(--end-top); transform: translate(0, -100%) scale(var(--end-scale));
  animation: logo-tour 6.6s .3s both; }
@keyframes logo-tour {
  0%   { left: -25%;  top: 50%; transform: translate(-50%, -50%) rotate(-9deg); opacity: 0; animation-timing-function: cubic-bezier(.34, 1.45, .64, 1); }
  14%  { left: 50%;   top: 50%; transform: translate(-50%, -50%) rotate(1.5deg); opacity: 1; animation-timing-function: ease-out; }
  19%  { left: 50%;   top: 50%; transform: translate(-50%, -50%) rotate(0deg); }
  76%  { left: 50%;   top: 50%; transform: translate(-50%, -50%) rotate(0deg) scale(1); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100% { left: var(--end-left); top: var(--end-top); transform: translate(0, -100%) rotate(0deg) scale(var(--end-scale)); opacity: 1; }
}
@media (max-width: 760px) { .hero__logo { --end-top: calc(100% - 4vh); --end-scale: .55; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; } .hero__slide:first-child { opacity: 1; }
  .hero__logo { animation: none; }
}

/* ---------- Home sections ---------- */
/* Everything below the slider sits on the same dark teal as the mobile menu, with warm off-white text */
.home main { background: var(--teal); color: var(--sand); --muted-on-dark: rgba(239, 236, 231, .78); }
.home main h2 { color: var(--sand); }
.home main :focus-visible { outline-color: var(--sage); }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 96px 0 48px; align-items: start; }
.intro h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0; }
.intro p { margin: 0; color: var(--muted-on-dark, var(--muted)); font-size: 18px; }
.quote { display: flex; justify-content: center; padding: 24px 0 64px; }
.quote__card { margin: 0; padding: 26px 34px; font: 700 clamp(18px, 2.2vw, 22px)/1.35 var(--serif); color: var(--ink); text-align: center;
  background: linear-gradient(135deg, var(--sand), var(--sand-3)); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.quote__card a { color: var(--sage-dark); text-decoration: none; white-space: nowrap; }
.contact { padding: 32px 0 96px; }
.contact h2 { font-size: 32px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 10px; align-items: center; }
.contact__list svg { width: 20px; height: 20px; color: var(--sage); flex: none; }
.contact__list a { color: var(--sand); text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__form { display: grid; gap: 14px; }
.contact__form h3 { font: 400 17px/1.4 var(--sans); color: var(--muted-on-dark, var(--muted)); margin: 0; }
.contact__form label { display: grid; gap: 6px; font: 14px/1 var(--label); color: var(--muted-on-dark, var(--muted)); }
.contact__form input, .contact__form textarea { font: 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid var(--sand-3); background: #fbfaf8; color: var(--ink); border-radius: 2px; width: 100%; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(158, 200, 167, .45); }
.btn { justify-self: start; font: 700 15px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; background: var(--teal); color: #fff; border: 0; padding: 14px 28px; cursor: pointer; border-radius: 2px; }
.btn:hover { background: #163238; } .btn[disabled] { opacity: .6; cursor: wait; }
.home .btn { background: var(--sage); color: var(--teal); }
.home .btn:hover { background: #b4d6bb; }
.contact__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.contact__status.is-error { color: #a33; } .contact__status.is-ok { color: var(--sage-dark); }
.home .contact__status.is-error { color: #f2b8ad; } .home .contact__status.is-ok { color: var(--sage); }
.contact__social { display: flex; align-items: center; gap: 10px; color: var(--muted-on-dark, var(--muted)); }
.contact__social p { margin: 0; }
.contact__social[hidden] { display: none; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--sage-dark); }
.home .social { color: var(--sage); }
.social svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Plants page ---------- */
.page-title { font-size: clamp(30px, 4vw, 42px); margin: 24px 0 28px; }
.plant-tools { display: grid; gap: 22px; margin-bottom: 32px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; font: 16px/1.4 var(--sans); padding: 15px 16px 15px 48px; border: 1px solid var(--sand-3); border-radius: 2px; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 2px rgba(30,65,73,.15); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.filter { font: 15px/1 var(--label); background: none; border: 0; padding: 9px 12px; cursor: pointer; color: var(--ink); border-radius: 2px; }
.filter:hover { background: var(--sand); }
.filter.is-active { background: var(--ink); color: #fff; }
.plant-tools__count { margin: 0; text-align: center; color: var(--muted); font: 14px/1 var(--label); }
.plants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
@media (min-width: 560px)  { .plants { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } :root { --card-h: 340px; } }
@media (min-width: 900px)  { .plants { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; } :root { --card-h: 440px; } }
@media (min-width: 1300px) { .plants { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 56px 28px; } :root { --card-h: clamp(460px, 26vw, 600px); } }
@media (min-width: 2200px) { .plants { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.plant[hidden] { display: none; }
.plant > script { display: none; }
.plant__open { all: unset; display: block; cursor: pointer; text-align: center; width: 100%; }
.plant__open:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 4px; }
.plant__img { position: relative; display: block; height: var(--card-h); overflow: hidden; background: var(--sand); margin-bottom: 16px; }
.plant__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.plant__open:hover .plant__img img { transform: scale(1.04); }
.plant__count { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font: 12px/1 var(--label); padding: 6px 8px; border-radius: 2px; }
.plant__name { font: 500 clamp(17px, 1.25vw, 24px)/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.plant__also { margin: 0 0 4px; font: 13px/1.3 var(--label); color: var(--muted); }
.plant__botanical { margin: 0; font: italic 300 clamp(14px, .95vw, 18px)/1.35 var(--label); color: var(--ink); }
.plants__empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 559px) {
  .plant__name { font-size: 16px; }
  .plant__botanical { font-size: 13px; }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; width: min(1080px, 100vw - 2 * var(--gutter)); max-height: calc(100svh - 32px); background: #fff; color: var(--ink);
  display: none; grid-template-columns: 1.4fr 1fr; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(18, 30, 33, .82); }
.lightbox__media { position: relative; background: #111; display: grid; place-items: center; min-height: 300px; }
.lightbox__media img { max-height: calc(100svh - 32px); width: 100%; object-fit: contain; }
.lightbox__text { padding: 40px 32px; overflow-y: auto; }
.lightbox__text h2 { font: 600 30px/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.lightbox__botanical { font: italic 300 18px/1.4 var(--label); margin: -6px 0 14px; }
.lightbox__cats { font: 13px/1.4 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--sage-dark); }
.lightbox__credit { font-size: 13px; color: var(--muted); }
.lightbox__credit a { color: var(--muted); }
/* Sits on its own line above the plant name, so long names keep the full width */
.lightbox__langs { display: flex; width: fit-content; margin: -6px 44px 16px 0; border: 1px solid var(--sand-3); border-radius: 2px; }
.lightbox__lang { font: 500 13px/1 var(--label); letter-spacing: .06em; color: var(--teal); text-decoration: none; padding: 7px 10px; }
.lightbox__lang + .lightbox__lang { border-left: 1px solid var(--sand-3); }
a.lightbox__lang:hover { background: var(--sand); }
span.lightbox__lang { color: var(--muted); cursor: default; }
/* 中文 dropdown inside the plant view: same as the menu, sized to these small buttons */
.lightbox__langs .langmenu { border-left: 1px solid var(--sand-3); }
.lightbox__langs .langmenu__btn, .lightbox__langs .langmenu.is-current .langmenu__btn { font: 500 13px/1 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .1em; color: var(--teal); padding: 7px 10px; border: 0; }
.lightbox__langs .langmenu__btn:hover, .lightbox__langs .langmenu.is-open .langmenu__btn { background: var(--sand); }
.lightbox__langs .langmenu__list { left: 0; right: auto; transform: none; top: calc(100% + 1px); }
.lightbox__langs .langmenu__list a, .lightbox__langs .langmenu__list span { font-size: 14px; padding: 9px 14px; }
.lightbox__langs .langmenu__list :lang(zh-Hans) { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .1em; }
.lightbox__langs .langmenu__list :lang(zh-Hant) { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; letter-spacing: .1em; }

.lightbox__close { position: absolute; top: 8px; right: 10px; z-index: 2; background: rgba(255,255,255,.9); border: 0; width: 40px; height: 40px; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; color: var(--ink); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: 0; width: 42px; height: 42px; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; color: var(--ink); }
.lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
.lightbox__nav[hidden] { display: none; }
/* Plant card sized to its photo (--ratio = width/height, set by plants.js):
   the photo takes as much room as the screen allows, the text column keeps a readable width */
@media (min-width: 761px) {
  .lightbox:not(.lightbox--photo) {
    --text-w: clamp(300px, 26vw, 400px);
    --img-w: min(calc((100svh - 32px) * var(--ratio, .75)), calc(100vw - 2 * var(--gutter) - var(--text-w)));
    width: calc(var(--img-w) + var(--text-w)); max-width: calc(100vw - 2 * var(--gutter));
    grid-template-columns: var(--img-w) var(--text-w);
  }
  .lightbox:not(.lightbox--photo) .lightbox__media img { width: 100%; height: auto; max-height: calc(100svh - 32px); }
}
/* Tablets: a landscape photo goes full width with the text underneath */
@media (min-width: 761px) and (max-width: 1100px) {
  .lightbox.is-landscape:not(.lightbox--photo) { width: calc(100vw - 2 * var(--gutter)); grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox.is-landscape:not(.lightbox--photo) .lightbox__media img { max-height: 70svh; width: auto; max-width: 100%; }
  .lightbox.is-landscape:not(.lightbox--photo) .lightbox__text { overflow: visible; }
}
@media (max-width: 760px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .lightbox__media img { max-height: 60svh; }
  .lightbox__text { padding: 24px 20px 32px; }
  .lightbox__text h2 { font-size: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #f7f7f7; padding: 22px 0; font: 13px/1.4 var(--label); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__inner p { margin: 0; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; font: 500 18px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.site-footer__brand img { width: 32px; height: 32px; }

/* ---------- Garden Scenes page ---------- */
.scenes-intro { max-width: 46em; color: var(--muted); font-size: 18px; margin: -8px 0 28px; }
.scene-jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 calc(-1 * var(--side)) 48px; padding: 12px var(--side);
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .2s; }
.scene-jump.is-stuck { box-shadow: 0 6px 18px rgba(30, 65, 73, .12); border-bottom: 1px solid var(--line); }
.scene-jump a { display: inline-flex; align-items: baseline; gap: 8px; font: 15px/1 var(--label); color: var(--ink); text-decoration: none;
  padding: 10px 14px; border: 1px solid var(--sand-3); border-radius: 2px; }
.scene-jump a:hover { background: var(--sand); }
.scene-jump a[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.scene-jump a[aria-current="true"] .scene-jump__num { color: var(--sage); }
@media (max-width: 700px) {   /* phones: one swipeable row */
  .scene-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--side); }
  .scene-jump::-webkit-scrollbar { display: none; }
  .scene-jump a { flex: none; padding: 9px 12px; font-size: 14px; }
}
.scene-jump__num { font: 600 13px/1 var(--display); color: var(--sage-dark); letter-spacing: .08em; }
.scene { margin-bottom: 72px; scroll-margin-top: calc(var(--jump-h, 64px) + 12px); }
.scene__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start; margin-bottom: 24px;
  padding-top: 28px; border-top: 1px solid var(--line); }
.scene__num { margin: 0; font: 500 clamp(44px, 6vw, 76px)/.85 var(--display); color: var(--sand-3); min-width: 1.6em; }
.scene__title { font-size: clamp(26px, 3vw, 36px); margin: 4px 0 8px; }
.scene__desc { margin: 0 0 6px; max-width: 46em; font-size: 18px; color: var(--ink); }
.scene__count { margin: 0; font: 13px/1.4 var(--label); color: var(--muted); letter-spacing: .04em; }
/* Masonry: photos keep their own shape; columns step down with the window */
.scene__gallery { columns: 2; column-gap: 12px; }
@media (min-width: 700px)  { .scene__gallery { columns: 3; column-gap: 16px; } }
@media (min-width: 1300px) { .scene__gallery { columns: 4; column-gap: 18px; } }
.scene-photo { display: block; margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: var(--sand); border-radius: 2px; }
@media (min-width: 700px)  { .scene-photo { margin-bottom: 16px; } }
@media (min-width: 1300px) { .scene-photo { margin-bottom: 18px; } }
.scene-photo img { width: 100%; height: auto; transition: transform .5s ease, filter .3s; }
.scene-photo:hover img { transform: scale(1.03); filter: brightness(1.04); }
.scene-photo:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }
.scenes-cta { text-align: center; font: 700 clamp(18px, 2vw, 22px)/1.5 var(--serif); margin: 8px 0 80px; }
.scenes-cta a { color: var(--sage-dark); }
@media (max-width: 520px) {
  .scene__head { grid-template-columns: 1fr; }
  .scene__num { font-size: 40px; }
}

/* Photo-only lightbox (Garden Scenes) */
.lightbox--photo { background: #0c0f10; width: min(1500px, 100vw - 2 * var(--gutter)); }
.lightbox--photo[open] { display: block; }
.lightbox--photo .lightbox__media { margin: 0; min-height: 0; display: block; }
.lightbox--photo .lightbox__media img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 96px); margin: 0 auto; object-fit: contain; }
.lightbox__caption { display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; color: #e9e6e0; padding: 12px 18px 14px; font: 15px/1.4 var(--label); }
.lightbox__caption [data-pb-scene] { font: 600 17px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lightbox__counter { margin-left: auto; color: #a9b1b3; font-size: 13px; }
:lang(zh) .lightbox__caption [data-pb-scene] { letter-spacing: .14em; }
:lang(zh) .scene-jump a { letter-spacing: .08em; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 40;
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: #fff; box-shadow: 0 6px 20px rgba(30, 65, 73, .28);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #163238; }
.home .to-top { background: var(--sage); color: var(--teal); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }   /* stays visible on the dark home sections */
.home .to-top:hover { background: #b4d6bb; }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }
.to-top svg { width: 24px; height: 24px; transition: transform .2s; }
@media (max-width: 760px) { .to-top { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top svg { transition: none; } }

/* ---------- My list: ♡ buttons, floating "My list" button, list drawer ---------- */
:root { --heart: #C8553D; }
.page-hint { margin: -8px auto 26px; text-align: center; color: var(--muted); font: 15px/1.5 var(--sans); }
.page-hint--left { text-align: left; margin: -12px 0 28px; }
.plant { position: relative; }
.fav { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0; background: none; color: var(--teal); font: 500 14px/1 var(--label); letter-spacing: .03em; }
.fav svg { width: 20px; height: 20px; flex: none; overflow: visible; }
.fav svg path { fill: transparent; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill .15s, stroke .15s; }
.fav[aria-pressed="true"] svg path { fill: var(--heart); stroke: var(--heart); }
.fav.is-pop svg { animation: fav-pop .35s ease; }
@keyframes fav-pop { 45% { transform: scale(1.35); } }
.fav:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }
/* On plant photos: just a white outline (a soft shadow keeps it visible on pale photos); red when saved */
.fav--card { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; justify-content: center; color: #fff; transition: transform .15s; }
.fav--card:hover { transform: scale(1.12); }
.fav--card svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.fav--card svg path { stroke-width: 1.6; }
.fav--card[aria-pressed="true"] svg path { stroke: var(--heart); }
.fav--wide { padding: 9px 16px 9px 12px; border: 1px solid var(--sand-3); border-radius: 999px; background: #fff; }
.fav--wide:hover { background: var(--sand); }
.fav--wide[aria-pressed="true"] { border-color: color-mix(in srgb, var(--heart) 45%, white); }
.lightbox__fav { margin: 0 0 16px; }
.scene__head .fav { margin-top: 10px; justify-self: start; }

.mylist-fab { position: fixed; left: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 0 10px 0 16px; height: 48px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font: 500 15px/1 var(--label); letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28); cursor: pointer; }
.mylist-fab[hidden] { display: none; }
.mylist-fab:hover { background: #163238; }
.mylist-fab svg { width: 20px; height: 20px; }
.mylist-fab svg path { fill: #E98A72; }
.mylist-fab__count { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--teal); display: grid; place-items: center; font: 700 14px/1 var(--label); }
.mylist-fab.is-bump { animation: fab-bump .45s ease; }
@keyframes fab-bump { 40% { transform: scale(1.12); } }
.home .mylist-fab { background: var(--sage); color: var(--teal); }
.home .mylist-fab__count { background: var(--teal); color: #fff; }
.home .mylist-fab svg path { fill: var(--heart); }

.mylist { inset: 0 0 0 auto; margin: 0; width: min(500px, 100vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0;
  background: #fff; color: var(--ink); box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.mylist[open] { display: flex; flex-direction: column; animation: mylist-in .25s ease; }
@keyframes mylist-in { from { transform: translateX(40px); opacity: 0; } }
.mylist::backdrop { background: rgba(18, 30, 33, .55); }
.mylist__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 24px; background: var(--teal); color: #fff; }
.mylist__head h2 { margin: 0; font: 600 26px/1.15 var(--display); letter-spacing: .02em; color: #fff; }
.mylist__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mylist__close:hover { background: rgba(255, 255, 255, .25); }
.mylist__body { flex: 1; overflow-y: auto; padding: 20px 24px 48px; }
.mylist__intro { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.mylist__empty { padding: 28px 20px; text-align: center; color: var(--muted); background: var(--sand); border-radius: 2px; }
.mylist__section { margin: 22px 0 10px; font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.mylist__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mylist__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mylist__thumb img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 2px; background: var(--sand); }
.mylist__info { min-width: 0; display: grid; gap: 3px; }
.mylist__name { font: 600 16px/1.3 var(--sans); color: var(--ink); text-decoration: none; }
.mylist__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.mylist__bot { font: italic 300 14px/1.3 var(--label); color: var(--muted); }
.mylist__note { margin-top: 6px; width: 100%; font: 14px/1.3 var(--sans); padding: 7px 9px; border: 1px solid var(--sand-3); border-radius: 2px; background: #fbfaf8; color: var(--ink); }
.mylist__note:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(158, 200, 167, .45); }
.mylist__shared-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.mylist__remove { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.mylist__remove:hover { background: var(--sand); color: var(--ink); }
.mylist__actions { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 16px 0 4px; }
.mylist__actions[hidden] { display: none; }
.mylist__link { border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--teal); font: 500 14px/1 var(--label); letter-spacing: .04em; text-decoration: underline; text-underline-offset: 4px; }
.mylist__link--quiet { color: var(--muted); }
.mylist__link.is-armed { color: #a33; }
.mylist__status { margin: 6px 0 0; min-height: 1.4em; font-size: 14px; line-height: 1.5; color: var(--muted); }
.mylist__status.is-error { color: #a33; } .mylist__status.is-ok { color: var(--sage-dark); font-weight: 700; }
.mylist__copy { width: 100%; margin-top: 6px; font: 13px/1.3 var(--sans); padding: 7px 9px; border: 1px solid var(--sand-3); }
.mylist__mailto { color: var(--teal); }
.mylist__form { display: grid; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.mylist__form[hidden] { display: none; }
.mylist__form h3 { margin: 0 0 4px; font: 600 22px/1.2 var(--display); color: var(--ink); }
.mylist__form label { display: grid; gap: 6px; font: 14px/1.2 var(--label); color: var(--muted); }
.mylist__form input, .mylist__form textarea { font: 16px/1.4 var(--sans); padding: 10px 12px; border: 1px solid var(--sand-3); background: #fbfaf8; color: var(--ink); border-radius: 2px; width: 100%; }
.mylist__form input:focus, .mylist__form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(158, 200, 167, .45); }
.mylist .btn, .home .mylist .btn { background: var(--teal); color: #fff; }
.mylist .btn:hover { background: #163238; }
:lang(zh) .mylist__section, :lang(zh) .fav { letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) { .fav.is-pop svg, .mylist-fab.is-bump, .mylist[open] { animation: none; } }

/* ---------- Legal pages (Privacy, Terms, Accessibility), footer links, form privacy note ---------- */
.legal { max-width: 46em; padding-bottom: 72px; }
.legal h2 { font-size: clamp(21px, 2.4vw, 25px); margin: 1.8em 0 .5em; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal li::marker { color: var(--sage-dark); }
.legal strong { color: var(--teal); }
.legal a { overflow-wrap: anywhere; }
.legal__updated { font: 14px/1.4 var(--label); letter-spacing: .04em; color: var(--muted); margin-top: -12px !important; }
:lang(zh) .legal { line-height: 1.85; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__links a { color: var(--ink); text-decoration: none; }
.site-footer__links a:hover, .site-footer__links a:focus-visible { text-decoration: underline; }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted-on-dark, var(--muted)); }
.home .form-note a { color: var(--sage); }
/* Content block centered on the page; long text stays left-aligned for easy reading */
.legal-page .page-title { text-align: center; margin-top: 40px; }
.legal { margin-inline: auto; }
.legal__updated { text-align: center; }

/* Sitemap: three illustrated cards */
.legal--sitemap { max-width: 1120px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.smcard { background: var(--sand); border-radius: 4px; overflow: hidden; padding: 0 28px 28px; box-shadow: 0 10px 28px rgba(30, 65, 73, .08); }
.smcard__img { display: block; margin: 0 -28px 22px; aspect-ratio: 16 / 9; overflow: hidden; }
.smcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.smcard:hover .smcard__img img { transform: scale(1.05); }
.smcard h2 { font: 600 clamp(26px, 2.6vw, 30px)/1.15 var(--display); margin: 0 0 14px; }
.smcard h2 a { color: var(--teal); text-decoration: none; }
.smcard h2 a:hover { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 5px; }
.smcard h3 { font: 500 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.smlist { list-style: none; margin: 0; padding: 0; }
.smlist li { margin: 0; border-top: 1px solid var(--sand-3); }
.smlist li:first-child { border-top: 0; }
.smlist a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; color: var(--ink); text-decoration: none; transition: color .2s, padding .2s; }
.smlist a:hover, .smlist a:focus-visible { color: var(--teal); padding-left: 6px; }
.sm-num { min-width: 2.2em; font: 600 18px/1 var(--display); color: var(--sage-dark); }
.sm-count { margin-left: auto; min-width: 2em; padding: 3px 8px; border-radius: 99px; background: #fff; font: 500 12px/1.2 var(--label); color: var(--muted); text-align: center; }
.smlist--inline { display: flex; flex-wrap: wrap; gap: 0 18px; }
.smlist--inline li { border: 0; }
@media (max-width: 960px) {
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid .smcard:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .sitemap-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .smcard__img img, .smlist a { transition: none; } }
