:root {
  --ink: #29231d;
  --muted: #6e6459;
  --paper: #f7f1e7;
  --paper-deep: #eee2d2;
  --cream: #fffaf3;
  --persimmon: #d86128;
  --persimmon-dark: #9c3c18;
  --leaf: #516447;
  --line: rgba(41, 35, 29, 0.16);
  --shadow: 0 24px 70px rgba(55, 38, 20, 0.12);
  --radius: 24px;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -100px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled,
.inner-page .site-header {
  color: var(--ink);
  background: rgba(247, 241, 231, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.home-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.home-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 11px 15px 10px 14px;
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1;
  transform: rotate(-6deg);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.home-mark::before { content: "↖"; transform: rotate(6deg); }
.home-link:hover .home-mark {
  color: white;
  background: var(--persimmon);
  border-color: var(--persimmon);
  transform: rotate(0deg) translateY(-1px);
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: inherit;
  font-size: .92rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: rgba(216, 97, 40, .14); }
.nav-cta { border: 1px solid currentColor; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #211810;
}
.hero-media,
.page-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { object-position: center 54%; opacity: .82; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 14, 8, .86) 0%, rgba(21, 14, 8, .54) 44%, rgba(21, 14, 8, .08) 75%),
              linear-gradient(0deg, rgba(21, 14, 8, .72) 0%, transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 90px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--persimmon);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffb27f; }
.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.hero-lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}
.hero-actions,
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--persimmon);
  color: white;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--persimmon-dark); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.hero .button.secondary { color: white; border-color: rgba(255,255,255,.46); background: rgba(0,0,0,.08); }
.section-dark .button.secondary,
.section-leaf .button.secondary { color: white; border-color: rgba(255,255,255,.38); }
.button.text { min-height: auto; padding: 0; color: var(--persimmon-dark); background: transparent; border-radius: 0; }
.button.text:hover { transform: none; color: var(--persimmon); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 58px;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
}
.hero-meta span::before { content: "—"; margin-right: 8px; color: #ffb27f; }

.notice {
  color: white;
  background: var(--persimmon-dark);
}
.notice-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 62px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: .92rem;
}
.notice strong { margin-right: 12px; color: #ffd1ae; }
.notice a { text-underline-offset: 4px; }

.section { padding: clamp(78px, 10vw, 140px) 0; }
.section.tight { padding: 70px 0; }
.section-dark { color: white; background: #28231d; }
.section-leaf { color: white; background: var(--leaf); }
.section-cream { background: var(--cream); }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.section-heading { max-width: 740px; margin-bottom: 52px; }
.section-heading h2,
.split-copy h2,
.story-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.4vw, 4.4rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.section-heading p,
.split-copy > p { margin: 20px 0 0; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-heading p,
.section-leaf .section-heading p,
.section-dark .split-copy > p,
.section-leaf .split-copy > p { color: rgba(255,255,255,.72); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}
.split.reverse { grid-template-columns: minmax(320px, .85fr) minmax(0, 1.05fr); }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  min-height: 460px;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-media::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 34%;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--paper-deep);
}
.facts { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts strong { color: var(--persimmon-dark); }

.process {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.process-item { counter-increment: steps; padding: 28px 20px 0 0; }
.process-item::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 36px;
  color: #f5a068;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.process-item h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.45rem; }
.process-item p { margin: 0; color: rgba(255,255,255,.62); font-size: .88rem; }

.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background: #2d261f;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 600ms ease; }
.feature:hover img { transform: scale(1.025); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,16,11,.9), transparent 68%); }
.feature-copy { position: absolute; z-index: 2; inset: auto 0 0; padding: 38px; }
.feature-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.2rem); }
.feature-copy p { max-width: 520px; margin: 14px 0 0; color: rgba(255,255,255,.76); }
.feature-meta { display: flex; gap: 16px; margin-top: 20px; color: #ffd1ae; font-size: .84rem; }

.product-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.product-main,
.product-side { position: relative; overflow: hidden; border-radius: var(--radius); background: white; }
.product-main { min-height: 650px; }
.product-side { min-height: 313px; }
.product-side + .product-side { margin-top: 24px; }
.product-main img,
.product-side img { width: 100%; height: 100%; object-fit: cover; }
.product-label { position: absolute; left: 20px; bottom: 20px; padding: 10px 14px; border-radius: 999px; color: white; background: rgba(31,24,18,.82); backdrop-filter: blur(10px); }

.link-list { border-top: 1px solid var(--line); }
.link-list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.link-list a:hover strong { color: var(--persimmon-dark); }
.link-index { color: var(--persimmon); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.link-list strong { font-family: var(--serif); font-size: 1.3rem; transition: color 160ms ease; }
.link-arrow { color: var(--muted); font-size: 1.3rem; }

.visit-band { position: relative; overflow: hidden; color: white; background: var(--leaf); }
.visit-band::after { content: "柿"; position: absolute; right: -20px; bottom: -180px; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: 420px; line-height: 1; }
.visit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; }
.visit-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 1.1; }
.visit-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.visit-details p { margin: 8px 0 0; color: rgba(255,255,255,.72); }

.page-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #2d261f;
}
.page-hero-media { opacity: .7; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,17,10,.88), rgba(24,17,10,.12) 76%); }
.page-hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 170px 0 70px; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 6rem); }
.page-hero p { max-width: 620px; margin: 22px 0 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.intro-grid .section-heading { position: sticky; top: 120px; margin: 0; }
.prose { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 2; }
.prose p:first-child { margin-top: 0; }
.prose strong { color: var(--persimmon-dark); }
.quote {
  margin: 50px 0;
  padding: 30px 0 30px 30px;
  border-left: 3px solid var(--persimmon);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.5;
}

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.38); }
.info-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.4rem; }
.info-card p { margin: 0; color: var(--muted); }
.info-card .number { display: block; margin-bottom: 28px; color: var(--persimmon); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }

.comparison { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.comparison th,
.comparison td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--muted); font-size: .78rem; letter-spacing: .08em; }

.variety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.variety-card { overflow: hidden; border-radius: 20px; background: var(--cream); box-shadow: 0 12px 38px rgba(55,38,20,.08); }
.variety-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.variety-body { padding: 24px; }
.variety-body h3 { margin: 0; font-family: var(--serif); font-size: 1.55rem; }
.variety-body p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { padding: 4px 9px; border-radius: 999px; color: var(--persimmon-dark); background: #f3ded0; font-size: .72rem; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-panel { padding: 36px; border-radius: var(--radius); background: var(--cream); }
.contact-panel h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 2rem; }
.contact-row { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row span:first-child { color: var(--muted); font-size: .85rem; }
.map-embed {
  width: 100%;
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 620px; border: 0; }

.site-footer { padding: 68px 0 28px; color: #e9dfd3; background: #241f1a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 60px; }
.footer-brand { max-width: 390px; }
.footer-brand h2 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.footer-brand p { color: rgba(255,255,255,.58); }
.footer-column h3 { margin: 0 0 14px; color: #f3a16f; font-size: .78rem; letter-spacing: .12em; }
.footer-column a,
.footer-column span { display: block; margin: 8px 0; color: rgba(255,255,255,.72); text-decoration: none; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.44); font-size: .78rem; }

.mobile-actions { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 24px 20px 100px;
    color: var(--ink);
    background: var(--paper);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 15px 18px; border-radius: 12px; font-size: 1.08rem; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hero { min-height: 900px; }
  .hero::after { background: linear-gradient(0deg, rgba(21,14,8,.88), rgba(21,14,8,.25) 85%); }
  .hero-content { padding-bottom: 70px; }
  .notice-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; gap: 4px; }
  .split,
  .split.reverse,
  .intro-grid,
  .product-showcase,
  .visit-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: initial; }
  .split-media img { min-height: 420px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .feature-pair { grid-template-columns: 1fr; }
  .feature { min-height: 560px; }
  .product-main { min-height: 560px; }
  .product-side-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .product-side { min-height: 270px; }
  .product-side + .product-side { margin-top: 0; }
  .visit-details { margin-top: 30px; }
  .intro-grid .section-heading { position: static; }
  .info-cards,
  .variety-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-content,
  .notice-inner,
  .container,
  .page-hero-content { width: min(100% - 28px, 1180px); }
  .home-link { font-size: 1rem; }
  .home-mark { width: 34px; height: 34px; }
  .hero { min-height: 800px; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 4.6rem); }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-meta { display: grid; gap: 8px; margin-top: 36px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 34px; }
  .split-media img { min-height: 360px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-item::before { margin-bottom: 18px; }
  .feature { min-height: 500px; }
  .feature-copy { padding: 28px; }
  .product-main { min-height: 460px; }
  .product-side-wrap { grid-template-columns: 1fr; }
  .product-side { min-height: 300px; }
  .visit-details,
  .info-cards,
  .variety-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .comparison { display: block; overflow-x: auto; white-space: nowrap; }
  .contact-panel { padding: 26px 20px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .map-embed,
  .map-embed iframe { min-height: 440px; }
  .footer-bottom { flex-direction: column; padding-bottom: 68px; }
  .mobile-actions {
    position: fixed;
    z-index: 90;
    inset: auto 10px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(41,35,29,.12);
    border-radius: 18px;
    background: rgba(255,250,243,.94);
    box-shadow: 0 14px 40px rgba(41,35,29,.18);
    backdrop-filter: blur(16px);
  }
  .mobile-actions a { min-height: 44px; display: grid; place-items: center; border-radius: 12px; text-decoration: none; font-size: .88rem; font-weight: 800; }
  .mobile-actions a:first-child { color: var(--persimmon-dark); background: #f3ded0; }
  .mobile-actions a:last-child { color: white; background: var(--persimmon); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
