:root {
  --paper: #e8eee1;
  --white: #f6f7ef;
  --sage: #dfe8d5;
  --green: #294c37;
  --muted: #516550;
  --red: #934432;
  --line: #b4c2aa;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--green); background: var(--paper); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 16px; line-height: 1.9; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
h1:focus { outline: none; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; }
.container { width: min(1200px, 88%); margin-inline: auto; }
#main { background-image: url("assets/web/leaf-line.svg"), repeating-linear-gradient(90deg, transparent 0 119px, #294c3708 119px 120px); background-repeat: no-repeat, repeat; background-size: 620px auto, auto; background-position: -140px 30px, 0 0; }
[data-chapter] { position: relative; isolation: isolate; overflow: hidden; }
.chapter-glyph { position: absolute; z-index: -1; top: 10%; right: -35px; pointer-events: none; color: #294c3709; font: clamp(350px, 48vw, 650px)/1 var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 40; padding: 10px 20px; background: var(--green); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.seal { display: grid; place-items: center; width: 36px; height: 42px; border: 1px solid var(--green); color: var(--green); font: 23px var(--serif); }
.brand-name { display: block; font: 23px var(--serif); letter-spacing: .16em; }
.brand-en { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .17em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a { padding-block: 12px; white-space: nowrap; }
.nav a:hover, .footer a:hover { color: var(--red); }
.nav-action { border-bottom: 1px solid var(--green); }
.nav-action span { margin-left: 12px; }
.menu-button { display: none; border: 1px solid var(--line); color: var(--green); background: transparent; min-height: 44px; padding: 0 14px; }
.menu-button span { margin-left: 10px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 6%; min-height: min(760px, calc(100svh - 88px)); padding-block: 54px; }
.eyebrow { color: var(--red); font-size: 12px; letter-spacing: .22em; margin-bottom: 20px; }
h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.45; letter-spacing: -.03em; }
h1 span { display: block; }
.hero h1 span:first-child { margin-left: 50px; }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.subtitle { margin-top: 25px; font: 16px/1.9 var(--serif); letter-spacing: .06em; }
.lead { margin-top: 10px; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 10px 25px; border: 1px solid var(--green); color: var(--white); background: var(--green); font-size: 14px; line-height: 1.6; transition: background .2s; }
.button:hover { background: #2f6050; }
.button span { font-size: 21px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; color: inherit; background: transparent; font-size: 14px; line-height: 1.7; }
.text-link:hover { color: var(--red); }
.hero-note { display: flex; align-items: center; gap: 15px; margin-top: 40px; color: var(--muted); font: 13px var(--serif); letter-spacing: .15em; }
.hero-note::before { content: ""; width: 40px; height: 1px; background: var(--line); }
.hero-action { gap: 40px; }
.hero-action span { font-size: 23px; }
.hero-photo { position: relative; width: 100%; max-width: 460px; justify-self: center; padding: 16px; }
.hero-window { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; outline: 1px solid #294c3766; outline-offset: 10px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; color: var(--muted); font-size: 11px; letter-spacing: .07em; }
.photo-mark { position: absolute; right: -14px; top: 0; font: 12px var(--serif); writing-mode: vertical-rl; letter-spacing: .35em; }
.photo-seal { position: absolute; right: 12px; bottom: 65px; padding: 10px 9px; background: var(--red); color: var(--white); outline: 1px solid var(--red); outline-offset: 3px; font: 22px/1.4 "KaiTi", var(--serif); }
.section { padding-block: 88px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8%; align-items: end; margin-bottom: 42px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section-index { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--red); font-size: 12px; letter-spacing: .18em; }
.section-index::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-heading h2 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.4; letter-spacing: .14em; }
.section-heading > p:last-child { margin-top: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
h3 { font-size: 31px; line-height: 1.6; letter-spacing: .08em; }
.product-section { background: #f6f7ef55; }
.product-photo img { width: 100%; height: 490px; object-fit: contain; background: var(--sage); border-radius: 150px 150px 2px 2px; outline: 1px solid var(--line); outline-offset: 8px; }
figcaption { color: var(--muted); font-size: 12px; margin-top: 10px; }
.product-copy > p:not(.eyebrow), .gift-copy > p:not(.eyebrow) { margin-top: 20px; }
.product-copy > .text-link { margin-top: 18px; }
.info-list { margin: 26px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.info-list div { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.source-note { color: var(--muted); font-size: 12px; line-height: 1.9; }
.gift-layout { grid-template-columns: 1.15fr 1fr; align-items: start; }
.gallery-stage { position: relative; height: 480px; overflow: hidden; background: #dbe5cf; border: 1px solid var(--line); }
.gallery-slide { height: 100%; }
.gallery-slide img, .gallery-slice img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slice { position: absolute; inset: 0; background: #dbe5cf; pointer-events: none; }
.photo-expand { position: absolute; z-index: 1; bottom: 12px; right: 12px; min-height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--green); padding: 8px 14px; font-size: 12px; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.gallery-controls p { font-size: 13px; }
.gallery-buttons { display: flex; gap: 8px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--green); font-size: 22px; line-height: 1; }
.icon-button:hover { background: var(--sage); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.gallery-thumbs button { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); background: transparent; color: var(--green); font-size: 11px; text-align: left; }
.gallery-thumbs img { width: 42px; height: 52px; object-fit: cover; }
.gallery-thumbs [aria-pressed="true"] { border-color: var(--green); background: var(--sage); box-shadow: inset 0 0 0 1px var(--green); }
.gift-copy { padding-top: 8px; }
.gift-occasions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--red); font: 14px/1.8 var(--serif); }
.gift-copy .button { margin-top: 25px; }
.orchard-section { background: #dbe5cf88; }
.orchard-photo img { width: 100%; height: 380px; object-fit: cover; object-position: center 55%; outline: 1px solid var(--line); outline-offset: 8px; }
.orchard-story { display: grid; grid-template-columns: 1.4fr .65fr 1fr; align-items: start; gap: 6%; margin-top: 42px; }
.orchard-story h3 { margin-bottom: 14px; }
.orchard-story p:not(.eyebrow) { font-size: 14px; }
.orchard-story .text-link { margin-top: 18px; }
.company-photo img { width: 100%; height: 210px; object-fit: contain; background: var(--sage); }
.other-fruit { display: flex; gap: 18px; align-items: center; }
.other-fruit > img { width: 110px; height: 160px; object-fit: cover; }
.small-label { font-size: 12px; color: var(--muted); }
.other-fruit h4 { font-size: 26px; margin-top: 8px; }
.other-fruit .text-link { white-space: nowrap; }
.journey { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 0 60px; padding: 0; }
.journey > li { position: relative; padding: 24px 0 22px; border-top: 1px solid var(--green); border-bottom: 1px solid var(--line); }
.journey > li:not(:last-child)::after { content: "→"; position: absolute; right: -23px; top: 45%; color: var(--muted); }
.journey span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font: 15px var(--serif); }
.journey h3 { font-size: 23px; margin-top: 12px; }
.journey p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10%; }
.faq-intro > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.faq-intro .text-link { margin-top: 18px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; padding-block: 16px; cursor: pointer; list-style: none; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 23px; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin-bottom: 22px; padding-right: 30px; color: var(--muted); font-size: 14px; }
.enquiry-section { background: var(--sage); }
.enquiry-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; align-items: start; }
.enquiry-copy > p { margin-top: 18px; color: var(--muted); }
.channel-info { margin-top: 30px; padding-block: 22px; border-top: 1px solid #a7b9a7; border-bottom: 1px solid #a7b9a7; }
.channel-info > p:nth-child(2) { margin-block: 5px; }
.channel-info .text-link { margin-top: 10px; font-size: 12px; }
.local-note { font-size: 12px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-top: 30px; padding: 28px 32px; border: 1px solid var(--line); background: var(--paper); }
.contact-copy { min-width: 0; }
.contact-copy h3 { margin-top: 8px; font-size: 30px; }
.contact-copy > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 14px; }
.contact-phone { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 48px; margin-top: 14px; font: 26px/1.5 var(--serif); }
.contact-phone .small-label { font: 12px/1.9 "Microsoft YaHei", "PingFang SC", sans-serif; }
.contact-phone:hover { color: var(--red); }
.contact-wechat { max-width: 210px; text-align: center; }
.contact-wechat a { display: block; width: 180px; margin-inline: auto; background: #fff; border: 1px solid var(--line); }
.contact-wechat img { width: 100%; height: auto; }
.contact-wechat figcaption { margin-top: 8px; font-size: 12px; }
.contact-wechat figcaption span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.7; }
form { padding: 30px; border: 1px solid var(--line); background: var(--white); }
.demo-note { margin-bottom: 24px; padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--red); font-size: 13px; line-height: 1.9; }
.demo-note strong { display: block; margin-bottom: 3px; color: var(--red); font-weight: 500; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-size: 14px; }
label span { color: var(--muted); font-size: 12px; }
input, select, textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; color: var(--green); background: var(--white); border: 1px solid #9eae9e; border-radius: 0; font-size: 16px; line-height: 1.6; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6d7972; font-size: 13px; }
[aria-invalid="true"] { border-color: var(--red); }
.field-help, .field-error { font-size: 12px; margin-top: 5px; }
.field-help { color: var(--muted); }
.field-error { color: var(--red); }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 22px; }
.form-feedback { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--green); background: var(--sage); font-size: 14px; }
.form-feedback.error { border-color: var(--red); color: var(--red); background: #f9eee8; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding-block: 35px; }
.footer-brand { font: 24px var(--serif); letter-spacing: .15em; }
.footer-inner p { color: var(--muted); font-size: 12px; margin-top: 10px; }
.footer-links { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.footer-note { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }
.photo-dialog { width: min(820px, calc(100vw - 32px)); max-height: 90svh; padding: 24px; border: 1px solid var(--line); background: var(--paper); color: var(--green); }
.photo-dialog::backdrop { background: rgb(20 42 34 / 70%); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.dialog-header h2 { font-size: 26px; }
.photo-dialog > img { width: 100%; height: min(62svh, 600px); object-fit: contain; }
.photo-dialog .source-note { margin-top: 14px; }

/* Useful product and gifting detail, within the existing six chapters. */
.hero-overview { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-overview a { display: grid; gap: 6px; padding: 18px 24px; border-left: 1px solid var(--line); font-size: 12px; }
.hero-overview a:first-child { border-left: 0; padding-left: 0; }
.hero-overview strong { font: 19px/1.5 var(--serif); }
.hero-overview a:hover strong { color: var(--red); }
.hero-overview a > span:last-child { color: var(--muted); }
.source-link { text-decoration: underline; text-underline-offset: 3px; }
.chapter-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; padding: 20px 24px; background: #dfe8d580; border: 1px solid var(--line); }
.chapter-band > div { padding-inline: 22px; border-left: 1px solid var(--line); }
.chapter-band > div:first-child { padding-left: 0; border-left: 0; }
.chapter-band > div:last-child { padding-right: 0; }
.chapter-band h3 { font-size: 22px; margin-block: 5px; }
.chapter-band p { font-size: 13px; color: var(--muted); }
.provenance-band { background: #f6f7ef77; }
.packaging-notes { display: grid; gap: 10px; margin-top: 18px; }
.packaging-notes > div { display: flex; gap: 12px; align-items: baseline; font-size: 13px; }
.packaging-notes > div > span { color: var(--red); font: 13px var(--serif); }
.packaging-notes strong { margin-right: 10px; font-weight: 500; }
.gift-planner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6%; margin-top: 26px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.planner-heading .eyebrow { margin-bottom: 6px; }
.planner-heading h3 { font-size: 26px; }
.planner-heading > p:last-child { margin-top: 8px; color: var(--muted); font-size: 13px; }
.occasion-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.occasion-buttons button { padding: 8px 16px; min-height: 44px; border: 1px solid var(--line); color: var(--green); background: transparent; font-size: 13px; }
.occasion-buttons button[aria-pressed="true"] { color: var(--white); background: var(--green); border-color: var(--green); }
#occasion-result h4 { font-size: 20px; }
#occasion-result p { color: var(--muted); margin-top: 4px; font-size: 13px; }
.journey ul { padding-left: 18px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.journey .text-link { font-size: 12px; margin-top: 8px; }
.care-note { display: flex; gap: 20px; margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.care-note > span { flex-shrink: 0; font: 16px/1.8 var(--serif); color: var(--red); }
.enquiry-steps { list-style: none; margin: 24px 0 0; padding: 0; }
.enquiry-steps li { display: flex; gap: 14px; margin-top: 16px; }
.enquiry-steps li > span { color: var(--red); font: 14px/1.9 var(--serif); }
.enquiry-steps strong { font-size: 14px; font-weight: 500; }
.enquiry-steps p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.service-status { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
#retry-connection { margin-bottom: 18px; }
.consent-field { margin-top: 18px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 0; min-height: 44px; padding-block: 8px; }
.consent-label input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--green); }
.consent-label span { color: var(--green); line-height: 1.8; }
.admin-main { padding-block: 40px; }
.admin-main h1 { font-size: 36px; }
.admin-main > p { margin-top: 12px; }
.admin-login { max-width: 460px; margin-top: 24px; }
.admin-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-heading form { padding: 0; background: none; border: 0; }
.admin-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.admin-record { min-width: 0; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.record-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.record-heading h2 { font-size: 25px; }
.record-heading span { font-size: 13px; white-space: nowrap; }
.record-message { white-space: pre-wrap; }
.admin-record dd { overflow-wrap: anywhere; }
.admin-pagination { display: flex; justify-content: center; gap: 24px; align-items: center; margin-top: 30px; }
.empty-records { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--line); }

/* Brand opening: original SVG artwork and CSS from preview/intro.html. */
.intro { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; overflow: hidden; background: var(--paper); transition: opacity .6s, clip-path .6s; clip-path: inset(0); }
.intro::before, .intro::after { content: ""; position: absolute; inset: 22px; border: 1px solid #d7dcce; pointer-events: none; }
.intro::after { inset: 29px; border-color: #e0e3d7; }
.intro-brand { position: absolute; top: 48px; left: 56px; font: 19px var(--serif); letter-spacing: .22em; }
.skip { position: absolute; z-index: 2; top: 38px; right: 46px; min-height: 44px; padding: 10px 12px; border: 0; background: transparent; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.skip span { margin-left: 12px; }
.skip:focus-visible { outline: 1px solid var(--green); outline-offset: 0; }
.intro-scene { width: min(650px, 88vw); text-align: center; position: relative; }
.art { display: block; width: min(480px, 70vw); max-height: 43svh; margin: 0 auto 8px; overflow: visible; }
.halo { transform-origin: 240px 190px; opacity: 0; animation: halo-in 2s .15s forwards; }
.branch { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw-branch 1.45s .1s forwards; }
.leaf { transform-box: fill-box; transform-origin: bottom left; opacity: 0; animation: leaf-in 1.15s var(--delay, .5s) forwards; }
.fruit { transform-box: fill-box; transform-origin: 50% 10%; opacity: 0; animation: fruit-in 1.25s var(--delay, .8s) forwards; }
.intro-title { font: clamp(29px, 4.1vw, 54px)/1.8 var(--serif); letter-spacing: .18em; }
.intro-title span { display: inline-block; opacity: 0; animation: words-in 1s 1.25s forwards; }
.intro-title span + span { animation-delay: 1.8s; }
.intro-product { margin: 15px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .32em; opacity: 0; animation: words-in .8s 2.35s forwards; }
.intro-bottom { position: absolute; bottom: 48px; text-align: center; color: var(--muted); font: 12px var(--serif); letter-spacing: .24em; }
.progress { width: 100px; height: 1px; margin: 19px auto 0; background: #d3d8cb; }
.progress::after { content: ""; display: block; width: 100%; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: left; animation: progress 4.2s linear forwards; }
.intro.leaving { opacity: 0; clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes draw-branch { to { stroke-dashoffset: 0; } }
@keyframes halo-in { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }
@keyframes leaf-in { from { opacity: 0; transform: rotate(-20deg) scale(.7); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes fruit-in { 0% { opacity: 0; transform: translateY(-18px) scale(.72) rotate(-8deg); } 70% { opacity: 1; transform: translateY(3px) scale(1.04) rotate(2deg); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes words-in { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 1050px) {
  .nav { gap: 18px; font-size: 12px; }
  .header-inner { gap: 20px; }
  .brand-name { font-size: 21px; }
  .brand-en { font-size: 8px; }
  .split { gap: 5%; }
  .gallery-thumbs button { flex-direction: column; gap: 4px; text-align: center; }
  .gallery-thumbs img { width: 50px; height: 55px; }
  .orchard-story { grid-template-columns: 1fr 1fr; gap: 30px; }
  .company-photo { grid-column: 2; grid-row: 1 / 3; }
  .company-photo img { height: 360px; object-fit: contain; }
  .enquiry-layout { gap: 5%; }
  form { padding: 22px; }
}
@media (max-width: 800px) {
  .hero-overview { margin-top: 8px; }
  .hero-overview a { padding-inline: 14px; }
  .hero-overview strong { font-size: 17px; }
  .chapter-band { padding: 18px; }
  .chapter-band > div { padding-inline: 14px; }
  .chapter-band h3 { font-size: 20px; }
  .gift-planner { grid-template-columns: 1fr; gap: 18px; }
  .admin-records { grid-template-columns: 1fr; }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; padding-block: 14px; }
  .brand-name { font-size: 20px; }
  .brand-en { font-size: 8px; letter-spacing: .08em; }
  .seal { width: 30px; height: 36px; font-size: 21px; }
  .menu-button { display: block; }
  .nav { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .menu-ready .nav { display: none; }
  .menu-ready .nav.is-open { display: flex; }
  .nav a { font-size: 14px; min-height: 44px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 32px; padding-block: 40px; }
  h1 { font-size: clamp(42px, 9.8vw, 65px); }
  .hero .eyebrow { margin-bottom: 16px; }
  .subtitle { margin-top: 20px; font-size: 16px; }
  .lead { font-size: 14px; }
  .actions { margin-top: 24px; }
  .hero-note { margin-top: 28px; }
  .hero h1 span:first-child { margin-left: 30px; }
  .hero-photo { width: min(100%, 370px); }
  .section { padding-block: 56px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 30px; }
  .section-heading > p:last-child { font-size: 14px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .product-photo img { height: 420px; object-fit: contain; }
  .product-copy, .gift-copy { padding-top: 0; }
  h3 { font-size: 29px; }
  .gallery-stage { height: 450px; }
  .gallery-thumbs button { flex-direction: row; justify-content: center; gap: 8px; }
  .orchard-photo img { height: 300px; }
  .orchard-story { margin-top: 30px; }
  .journey { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
  .journey li::after { display: none; }
  .journey h3 { font-size: 22px; }
  .faq-layout, .enquiry-layout { grid-template-columns: 1fr; gap: 30px; }
  .enquiry-copy h3 br { display: none; }
  .contact-card { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .contact-copy h3 { font-size: 27px; }
  .contact-phone { font-size: 24px; }
  .contact-wechat { justify-self: center; }
  .channel-info { margin-top: 22px; }
  .form-grid { gap: 20px; }
  .intro-brand { top: 33px; left: 30px; font-size: 16px; }
  .skip { top: 22px; right: 24px; }
  .intro::before { inset: 12px; }
  .intro::after { inset: 18px; }
  .intro-title span { display: block; }
  .intro-product { font-size: 11px; letter-spacing: .2em; }
  .intro-bottom { bottom: 35px; }
}
@media (max-width: 480px) {
  .hero-overview, .chapter-band { grid-template-columns: 1fr; }
  .hero-overview a, .hero-overview a:first-child { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-overview a:last-child { border-bottom: 0; }
  .chapter-band > div, .chapter-band > div:first-child, .chapter-band > div:last-child { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .chapter-band > div:last-child { border-bottom: 0; }
  .gift-planner { padding: 18px; }
  .occasion-buttons button { padding-inline: 11px; }
  .journey { grid-template-columns: 1fr; }
  .care-note { flex-direction: column; gap: 6px; }
  .admin-heading, .record-heading { align-items: flex-start; flex-direction: column; }
  .admin-main h1 { font-size: 30px; }
  .container { width: 88%; }
  .hero-photo { padding: 9px; }
  .hero-photo { width: min(100%, 320px); }
  .hero-photo figcaption { font-size: 10px; letter-spacing: 0; }
  .product-photo img { height: 360px; }
  .gallery-stage { height: 370px; }
  .gallery-thumbs button { flex-direction: column; gap: 4px; }
  .gallery-thumbs img { width: 40px; height: 44px; }
  .info-list div { grid-template-columns: 76px 1fr; gap: 12px; }
  .orchard-photo img { height: 240px; }
  .orchard-story { grid-template-columns: 1fr; }
  .company-photo { grid-column: auto; grid-row: auto; }
  .company-photo img { height: 250px; object-fit: contain; }
  .other-fruit > img { width: 110px; height: 140px; }
  .journey { gap: 20px; }
  .journey p { font-size: 12px; }
  .faq summary { font-size: 14px; }
  form { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
  .footer-links { justify-content: space-between; }
  .photo-dialog { padding: 18px; }
  .dialog-header h2 { font-size: 23px; }
}
@media (max-height: 500px) {
  .art { max-height: 32svh; margin-bottom: 0; }
  .intro-title { font-size: 26px; line-height: 1.3; }
  .intro-bottom { bottom: 22px; }
  .intro-product { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Chapter browsing is enabled only after chapters.js has initialised. */
.chapter-mode { scroll-behavior: auto; scroll-padding-top: 0; }
.chapter-mode body { height: 100dvh; overflow: hidden; }
.chapter-mode #site { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.chapter-mode .header, .chapter-mode .footer { flex-shrink: 0; }
.chapter-mode #main { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scroll-padding-block: 24px; }
.chapter-mode #main:focus, .chapter-mode h2:focus { outline: none; }
.chapter-mode [data-chapter] { min-height: 100%; border-top: 0; }
.chapter-mode .hero { padding-block: 28px 16px; row-gap: 20px; }
.chapter-mode .hero-photo img { height: 100%; }
.chapter-mode .section { padding-block: 28px; }
.chapter-mode .section-heading { margin-bottom: 24px; }
.chapter-mode .section-heading h2 { font-size: clamp(34px, 3.3vw, 48px); letter-spacing: .08em; }
.chapter-mode .section-heading > p:last-child { margin-top: 8px; }
.chapter-mode .section-index { margin-bottom: 8px; }
.chapter-mode .product-photo img { height: 390px; }
.chapter-mode .gallery-stage { height: 350px; }
.chapter-mode .gift-copy > p:not(.eyebrow) { margin-top: 14px; }
.chapter-mode .gift-copy .info-list { margin-top: 18px; }
.chapter-mode .gift-copy .info-list div { padding-block: 10px; }
.chapter-mode .gift-copy .button { margin-top: 18px; }
.chapter-mode .orchard-photo img { height: 250px; }
.chapter-mode .orchard-story { margin-top: 25px; }
.chapter-mode .company-photo img { height: 155px; }
.chapter-mode .other-fruit > img { height: 140px; }
.chapter-mode .journey { margin-bottom: 30px; }
.chapter-mode form { padding: 22px; }
.chapter-mode .demo-note { padding: 10px 14px; margin-bottom: 18px; }
.chapter-mode .form-grid { gap: 14px; }
.chapter-mode textarea { height: 100px; }
.chapter-mode .form-actions { margin-top: 18px; }
.chapter-mode .enquiry-section .section-heading { margin-bottom: 20px; }
.chapter-mode .enquiry-section { padding-block: 28px; }
.chapter-mode .footer { position: relative; z-index: 5; background: var(--paper); }
.chapter-mode .footer-inner { display: none; }
.chapter-mode .nav a[aria-current="page"] { color: var(--red); border-bottom: 1px solid var(--red); }
.chapter-navigation { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 14px; }
.chapter-progress p { display: flex; align-items: center; gap: 14px; line-height: 1.5; }
.chapter-label { font: 14px var(--serif); letter-spacing: .1em; }
#chapter-count { white-space: nowrap; font: 16px var(--serif); }
#chapter-name { color: var(--muted); font-size: 11px; margin-top: 5px; }
.chapter-rail { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.chapter-rail li { min-width: 0; }
.chapter-rail a { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; border-bottom: 1px solid var(--line); padding: 8px 4px; font-size: 13px; white-space: nowrap; transition: color .2s, border-color .2s; }
.chapter-rail a span { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border: 1px solid transparent; border-radius: 50%; font: 14px var(--serif); }
.chapter-rail a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.chapter-rail a[aria-current="page"] span { border-color: var(--red); }
.chapter-rail a:hover { color: var(--red); border-color: var(--red); }
.chapter-utilities { display: flex; gap: 20px; align-items: center; font-size: 12px; }
.chapter-utilities a, .chapter-utilities button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--green); font-size: inherit; white-space: nowrap; }
.chapter-utilities a:hover, .chapter-utilities button:hover:not(:disabled) { color: var(--red); }
.chapter-curtain { position: fixed; left: 0; right: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.chapter-window { position: absolute; border-radius: 50%; overflow: hidden; background: var(--paper); outline: 1px solid var(--line); outline-offset: 7px; transform-origin: center; }
.chapter-window img { width: 100%; height: 100%; object-fit: cover; }
.chapter-window span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--red); font: 90px var(--serif); background: url("assets/web/leaf-line.svg") center / cover; }

@media (max-width: 1050px) {
  .chapter-navigation { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
  .chapter-progress { display: none; }
  .chapter-rail { gap: 8px; }
  .chapter-utilities { gap: 12px; }
  .chapter-mode .company-photo img { height: 260px; }
}
@media (max-width: 800px) {
  .chapter-mode .header { position: relative; }
  .chapter-mode .nav { position: absolute; top: 100%; left: 6%; width: 88%; margin-top: 0; padding: 14px 18px; border: 1px solid var(--line); background: var(--paper); }
  .chapter-mode .hero { padding-block: 32px; }
  .chapter-mode .section { padding-block: 32px; }
  .chapter-mode .product-photo img { height: 360px; }
  .chapter-mode .gallery-stage { height: 380px; }
  .chapter-mode .orchard-photo img { height: 240px; }
  .chapter-mode .enquiry-copy h3 { font-size: 27px; }
  .chapter-navigation { gap: 4px 16px; padding-block: 8px; }
  .chapter-progress { display: block; }
  .chapter-progress p { gap: 12px; }
  #chapter-count { font-size: 15px; }
  .chapter-label { font-size: 13px; }
  #chapter-name { display: none; }
  .chapter-rail { grid-column: 1 / -1; grid-row: 2; gap: 8px; }
  .chapter-rail a { gap: 5px; }
  .chapter-utilities { gap: 16px; }
  .chapter-utilities a, .chapter-utilities button { min-height: 44px; }
}
@media (max-width: 480px) {
  .chapter-mode .gallery-stage { height: 330px; }
  .chapter-mode form { padding: 18px; }
  .chapter-mode .enquiry-section { padding-block: 32px; }
  .chapter-mode .company-photo img { height: 240px; }
  .chapter-navigation { gap: 2px 12px; }
  .chapter-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
  .chapter-rail a { min-height: 44px; padding: 5px; font-size: 13px; }
  .chapter-rail a span { width: 26px; height: 26px; font-size: 12px; }
  .chapter-utilities { font-size: 11px; }
}
