/* ==========================================================
   聖源生技食品 — 品牌色取自 Logo（橘 #C8803A／綠 #6F8C62）
   字型由 build.py 依語言在 <html style> 設定 --sans / --serif
   ========================================================== */
:root {
  --orange: #c8803a;
  --orange-dark: #a9672a;
  --orange-soft: #f5e6d6;
  --orange-light: #f0b273;
  --green: #6f8c62;
  --green-dark: #4b6342;
  --green-soft: #e6ece1;
  --ink: #1f2a24;
  --ink-2: #3e3e3e;
  --muted: #6b716c;
  --line: #e4ddd1;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --deep: #18221d;

  --sans: "Noto Sans TC", system-ui, sans-serif;
  --serif: "Noto Serif TC", serif;
  --num: "Manrope", var(--sans);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -24px rgba(31, 42, 36, .35);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink-2); background: var(--paper);
  line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 .6em; overflow-wrap: break-word; }
h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); letter-spacing: .02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
:lang(en) h2, :lang(fr) h2, :lang(de) h2 { letter-spacing: 0; }
:lang(ko) { word-break: keep-all; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.center { text-align: center; margin: 48px 0 0; }
.accent-text { color: var(--orange); }

.eyebrow {
  font-family: var(--num); font-size: 13px; font-weight: 800; letter-spacing: .22em;
  color: var(--orange); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }
.eyebrow-light { color: #e9b47c; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .03em;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; text-align: center;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 128, 58, .7); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.link-arrow { display: inline-block; margin-top: 28px; font-weight: 700; color: var(--orange-dark); border-bottom: 2px solid var(--orange-soft); padding-bottom: 2px; transition: border-color .25s; }
.link-arrow:hover { border-color: var(--orange); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .35s, box-shadow .35s; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { position: relative; display: block; height: 44px; flex-shrink: 0; margin-right: auto; }
.brand img { height: 100%; width: auto; transition: opacity .35s; }
.brand .brand-light { position: absolute; inset: 0; }
.brand .brand-dark { opacity: 0; }
.site-header.scrolled, .site-header.menu-open { background: rgba(255, 253, 249, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .brand-dark, .site-header.menu-open .brand-dark { opacity: 1; }
.site-header.scrolled .brand-light, .site-header.menu-open .brand-light { opacity: 0; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a:not(.btn) { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500; padding: 8px 13px; border-radius: 999px; transition: color .25s, background .25s; white-space: nowrap; }
.main-nav a:not(.btn):hover { background: rgba(255,255,255,.12); }
.main-nav a.active { color: var(--orange-light); }
.site-header.scrolled .main-nav a:not(.btn) { color: var(--ink-2); }
.site-header.scrolled .main-nav a:not(.btn):hover { background: var(--green-soft); color: var(--green-dark); }
.site-header.scrolled .main-nav a.active { color: var(--orange-dark); }
.nav-cta { margin-left: 8px; padding: 10px 20px; white-space: nowrap; }

.header-tools { display: flex; align-items: center; gap: 4px; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  color: #fff; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); transition: background .25s, border-color .25s, color .25s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-switch summary:hover { background: rgba(255,255,255,.12); }
.site-header.scrolled .lang-switch summary, .site-header.menu-open .lang-switch summary { color: var(--ink); border-color: var(--line); }
.site-header.scrolled .lang-switch summary:hover { background: var(--green-soft); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px;
  background: var(--paper); border-radius: 14px; box-shadow: 0 18px 50px -12px rgba(0,0,0,.3);
  display: grid; border: 1px solid var(--line);
}
.lang-menu a { padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.lang-menu a:hover { background: var(--green-soft); }
.lang-menu a.current { color: var(--orange-dark); font-weight: 700; }
.lang-menu a.current::after { content: " ✓"; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.site-header.scrolled .nav-toggle span, .site-header.menu-open .nav-toggle span { background: var(--ink); }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% center; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,24,.92) 0%, rgba(20,28,24,.72) 40%, rgba(20,28,24,.15) 78%), linear-gradient(0deg, rgba(20,28,24,.6) 0%, transparent 35%); }
.hero-content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(34px, 5.4vw, 70px); line-height: 1.22; letter-spacing: .03em; margin-bottom: 24px; max-width: 15em; }
:lang(en) .hero h1, :lang(fr) .hero h1, :lang(de) .hero h1 { letter-spacing: 0; font-size: clamp(30px, 4.4vw, 58px); max-width: 19em; }
.hero h1 .accent { color: var(--orange-light); }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-certs { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(20,28,24,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-certs .container { display: flex; flex-wrap: wrap; gap: 8px 30px; padding: 18px 0; font-size: 14px; color: rgba(255,255,255,.78); letter-spacing: .04em; }
.hero-certs span { display: inline-flex; align-items: center; gap: 8px; }
.hero-certs span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-light); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,24,.9) 0%, rgba(20,28,24,.6) 50%, rgba(20,28,24,.25) 100%), linear-gradient(0deg, rgba(20,28,24,.5), transparent 50%); }
.page-hero-content { position: relative; padding: calc(var(--header-h) + 60px) 0 64px; }
.page-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 14px; }
.page-hero p:last-child { max-width: 40em; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.4vw, 18px); margin: 0; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); }
.section-head.left { text-align: left; margin-left: 0; margin-bottom: 36px; }
.section-head h2 { margin-bottom: .4em; }

/* ---------- Stats ---------- */
.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-5 { grid-template-columns: repeat(5, 1fr); }
.stat { padding: 40px 16px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.stat strong { font-family: var(--num); font-size: clamp(34px, 3.8vw, 50px); font-weight: 800; color: var(--green-dark); line-height: 1; }
.stat em { font-family: var(--num); font-style: normal; font-size: 26px; font-weight: 800; color: var(--orange); margin-left: 2px; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-media { position: relative; padding: 0 40px 60px 0; }
.media-main { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.media-sub { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--paper); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b6342' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Service cards ---------- */
.services { background: var(--cream); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card, .mode-card, .market-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.service-card:hover, .mode-card:hover, .market-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.featured { background: var(--green-dark) !important; border-color: var(--green-dark) !important; }
.featured h3, .featured li { color: #fff; }
.featured p:not(.service-tag), .featured .mode-sub { color: rgba(255,255,255,.82) !important; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); display: grid; place-items: center; margin-bottom: 22px; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.featured .service-icon { background: rgba(255,255,255,.14); }
.featured .service-icon svg { stroke: var(--orange-light); }
.service-tag { font-family: var(--num); font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--orange) !important; margin-bottom: 6px; }
.service-card p:last-child, .market-card p:last-child { margin: 0; color: var(--muted); }

/* ---------- Advantages (dark) ---------- */
.advantages { background: var(--deep); color: rgba(255,255,255,.72); }
.advantages h2 { color: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.adv-card h3 { color: #fff; font-size: 19px; margin: 18px 0 6px; }
.adv-card p { font-size: 15px; margin: 0; }
.adv-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #0e1411; }
.adv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.adv-card:hover .adv-img img { transform: scale(1.06); }
.adv-img span { position: absolute; left: 14px; top: 12px; font-family: var(--num); font-weight: 800; font-size: 14px; color: #fff; background: var(--orange); padding: 4px 10px; border-radius: 999px; }

/* ---------- Packaging teaser ---------- */
.pack-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pack-mini { margin: 0; background: var(--green); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; }
.pack-mini img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12px; }
.pack-mini figcaption { background: var(--paper); padding: 12px 14px; font-size: 13px; color: var(--muted); flex: 1; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.pack-mini b { display: block; color: var(--ink); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, rgba(24,34,29,.95), rgba(24,34,29,.82)), url("assets/img/factory-front-960.webp") center / cover; color: rgba(255,255,255,.8); padding: clamp(64px, 8vw, 96px) 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- About ---------- */
.origin-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.origin-founder { background: var(--green); color: #fff; border-radius: var(--radius); padding: 32px; display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.origin-founder img { width: 140px; height: 160px; object-fit: cover; border-radius: 12px; border: 4px solid rgba(255,255,255,.3); }
.founder-motto { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; color: #fff; }
.founder-name { margin: 0; color: rgba(255,255,255,.85); font-weight: 500; }
.origin-text p { font-size: 17px; }
.vision { background: var(--cream); }
.vision-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.vision-media img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.vision-list { display: grid; gap: 16px; }
.vision-card { background: var(--paper); border-radius: var(--radius-sm); padding: 24px 28px; border-left: 4px solid var(--green); }
.vision-card p:last-child { margin: 0; }
.vision-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.vision-tag b { font-size: 19px; color: var(--green-dark); }
.values { margin: 28px 0 0; font-family: var(--serif); font-size: 22px; color: var(--orange-dark); letter-spacing: .1em; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.accomplish { background: var(--deep); color: rgba(255,255,255,.72); }
.accomplish h2 { color: #fff; }
.acc-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 48px; }
.acc-big span { font-size: 20px; color: #fff; }
.acc-big strong { font-family: var(--num); font-size: clamp(72px, 12vw, 150px); line-height: 1; color: var(--orange); font-weight: 800; }
.acc-big em { font-family: var(--num); font-style: normal; color: var(--orange); font-size: 56px; font-weight: 800; margin-left: -14px; }
.acc-big .growing { color: var(--orange-light); font-size: 18px; }
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px; }
.acc-item strong { font-family: var(--num); font-size: 56px; line-height: 1; font-weight: 800; color: #a9c39c; }
.acc-item em { font-family: var(--num); font-style: normal; font-size: 28px; color: #a9c39c; font-weight: 800; }
.acc-item h3 { color: #fff; font-size: 17px; margin: 14px 0 6px; }
.acc-item p { font-size: 14px; margin: 0; }
.history-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.history-side { position: sticky; top: calc(var(--header-h) + 24px); }
.honor-box { display: grid; grid-template-columns: 90px 1fr; gap: 20px; background: var(--cream); border-radius: var(--radius); padding: 24px; align-items: start; }
.honor-box img { width: 90px; border-radius: 8px; }
.honor-box h3 { font-size: 18px; }
.honor-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; }
.honor-box b { display: block; color: var(--ink); }
.honor-box span { color: var(--muted); }
.vtimeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.vtimeline li { position: relative; padding: 0 0 26px 20px; }
.vtimeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--orange); }
.vtimeline time { font-family: var(--num); font-weight: 800; color: var(--green-dark); font-size: 17px; display: block; }
.vtimeline p { margin: 2px 0 0; }

/* ---------- OEM ---------- */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mode-sub { color: var(--muted); }
.mode-card ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.featured ul { border-color: rgba(255,255,255,.18); }
.mode-card li { position: relative; padding-left: 22px; font-size: 15px; }
.mode-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.process { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--line); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px; z-index: 1; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); }
.step-no { display: inline-block; font-family: var(--num); font-weight: 800; font-size: 32px; color: var(--green); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.who-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.who-card img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.who-card div { padding: 24px 24px 24px 0; }
.who-card p { margin: 0; color: var(--muted); font-size: 15px; }
.promise-sec { background: var(--green-dark); color: rgba(255,255,255,.8); }
.promise-sec h2 { color: #fff; }
.promise-wrap { display: grid; grid-template-columns: .8fr 2fr; gap: 48px; align-items: start; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; }
.promise span { font-family: var(--num); font-weight: 800; color: var(--orange-light); }
.promise h3 { color: #fff; margin: 10px 0 8px; }
.promise p { margin: 0; font-size: 15px; }

/* ---------- Products ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,253,249,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav a { flex-shrink: 0; padding: 8px 18px; border-radius: 999px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); transition: all .25s; }
.subnav a:hover, .subnav a.active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.recipe-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.recipe-head .section-head { margin-bottom: 0; }
.recipe-head > p { color: var(--muted); margin: 0; }
.grain-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.grain-tile { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; box-shadow: 0 16px 36px -24px rgba(31,42,36,.45); }
.grain-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.grain-tile:hover img { transform: scale(1.18); }
.grain-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,42,36,.78) 0%, rgba(31,42,36,0) 48%); }
.grain-tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; }
.grain-tile figcaption b { display: block; color: #fff; font-family: var(--serif); font-size: 22px; letter-spacing: .04em; }
.recipe-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.recipe {
  --tone: #e8d3b0; position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 56px 16px 20px; text-align: center; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.recipe:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.recipe::before { content: ""; position: absolute; left: 50%; top: 16px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--tone); box-shadow: inset 0 -4px 0 rgba(0,0,0,.08); }
.recipe-no { position: absolute; left: 10px; top: 8px; font-family: var(--num); font-size: 11px; font-weight: 800; color: var(--muted); }
.recipe b { display: block; color: var(--ink); font-size: 16px; line-height: 1.4; }
.recipe small { display: block; color: var(--orange-dark); font-size: 12px; margin-top: 4px; }
.recipe.has-link { padding: 0; }
.recipe.has-link a { display: block; height: 100%; padding: 56px 16px 20px; color: inherit; text-decoration: none; }
.recipe.has-link i { display: block; font-style: normal; color: var(--orange); font-size: 13px; margin-top: 6px; opacity: .55; transition: opacity .3s, transform .3s; }
.recipe.has-link:hover i { opacity: 1; transform: translateX(3px); }
.recipe.has-link a:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: var(--radius-sm); }
.recipe[data-tone="soy"] { --tone: #efdcb4; }
.recipe[data-tone="rice"] { --tone: #f2ead9; }
.recipe[data-tone="almond"] { --tone: #e7c9a2; }
.recipe[data-tone="black"] { --tone: #3b3a38; }
.recipe[data-tone="pumpkin"] { --tone: #f0a94c; }
.recipe[data-tone="red"] { --tone: #a4483c; }
.recipe[data-tone="oat"] { --tone: #dcc79c; }
.recipe[data-tone="purple"] { --tone: #6c4a6e; }
.recipe[data-tone="amber"] { --tone: #b8823d; }
.recipe-adv { margin-top: 48px; background: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.recipe-adv h3 { font-family: var(--serif); font-size: 24px; }
.packaging { background: var(--green); color: rgba(255,255,255,.85); }
.packaging h2 { color: #fff; }
.packaging .section-head > p:last-child { color: rgba(255,255,255,.85); }
.packaging .eyebrow { color: #fff; }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack-card { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pack-img { position: relative; aspect-ratio: 4 / 3; background: #6e8a61; overflow: hidden; }
.pack-img img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.pack-card figcaption { padding: 18px 22px 22px; display: grid; gap: 2px; align-content: start; background: var(--paper); flex: 1; }
.pack-card b { font-size: 18px; color: var(--ink); }
.pack-en { font-size: 13px; color: var(--muted); }
.pack-size { font-family: var(--num); font-weight: 700; color: var(--orange-dark); font-size: 16px; margin-top: 6px; }
.pastry-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 24px; }
.pastry-hero img { width: 100%; height: clamp(160px, 17vw, 230px); object-fit: cover; border-radius: var(--radius); }
.pastry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pastry-card { background: var(--cream); border-radius: var(--radius); padding: 32px; }
.pastry-card h3 { font-family: var(--serif); font-size: 24px; color: var(--green-dark); }
.pastry-card.with-img { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.pastry-card.with-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pastry-card.pack-pastry { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); }
.pastry-card.pack-pastry p { margin: 0; font-weight: 500; color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--green-soft); color: var(--green-dark); padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.bar-list { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 3px solid var(--green); display: grid; gap: 8px; }
.bar-list.cols-2 { grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.bar-list li { color: var(--ink); font-size: 16px; }

/* ---------- Quality ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cert-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cert { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; transition: border-color .3s, box-shadow .3s; background: var(--paper); }
.cert:hover { border-color: var(--green); box-shadow: 0 10px 30px -18px rgba(75,99,66,.5); }
.cert-mark { grid-row: span 2; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--num); font-weight: 800; font-size: 12px; line-height: 1.1; color: var(--green-dark); border: 2px solid var(--green); background: var(--green-soft); }
.cert-mark small { font-size: 9px; }
.cert-mark.gold { color: var(--orange-dark); border-color: var(--orange); background: var(--orange-soft); }
.cert-mark.green { color: #fff; background: var(--green); }
.cert h3 { font-size: 16px; margin: 0; align-self: end; }
.cert p { font-size: 13px; color: var(--muted); margin: 2px 0 0; align-self: start; line-height: 1.5; }
.cert-docs { margin: 32px 0 0; background: var(--deep); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; }
.cert-docs img:first-child { width: 100%; border-radius: 8px; }
.cert-seal { width: 130px; background: #fff; border-radius: 12px; padding: 6px; }
.cert-docs figcaption { grid-column: 1 / -1; color: rgba(255,255,255,.7); font-size: 14px; }
.lines-sec { background: var(--cream); }
.lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lines li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); }
.lines span { font-family: var(--num); font-weight: 800; color: var(--orange); font-size: 18px; line-height: 1.6; }
.lines b { display: block; color: var(--ink); }
.lines div { font-size: 15px; color: var(--muted); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.bento-item { position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #0e1411; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,12,.82) 0%, transparent 55%); }
.bento-item figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }
.bento-item figcaption b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.b-wide { grid-column: span 2; }
.b-tall { grid-row: span 2; }
.supply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 72px); background: #1d4a2c; color: rgba(255,255,255,.85); padding: clamp(56px, 7vw, 96px) max(24px, calc((100vw - 1200px) / 2)); }
.supply-media { justify-self: center; width: 100%; max-width: 440px; }
.supply-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.supply-text { align-self: center; }
.supply-text h2 { color: #fff; }
.supply-text b { color: #f5d77a; }
.supply-badges { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 28px; }
.supply-badges > img { height: 72px; width: auto; border-radius: 6px; }
.supply-badges figure { margin: 0; text-align: center; font-size: 12px; }
.supply-badges figure img { height: 56px; width: auto; border-radius: 4px; margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-list { margin: 0; display: grid; gap: 16px; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--orange-dark); font-size: 14px; font-weight: 700; }
.contact-list dd { margin: 0; color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--orange-dark); }
.map-link { font-size: 14px; color: var(--green-dark); font-weight: 500; }
.contact-img { margin-top: 28px; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.contact-form { background: var(--cream); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.contact-form h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.contact-form label i { color: var(--orange); font-style: normal; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 16px;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); }
.contact-form .invalid { border-color: #c2553a; }
.form-note { margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--green-dark); min-height: 1.5em; }
.form-note.err { color: #c2553a; }
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.faq details[open] { box-shadow: 0 10px 30px -20px rgba(31,42,36,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--orange); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Articles ---------- */
.articles-teaser { background: var(--cream); }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.art-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.art-card:hover .art-img img { transform: scale(1.05); }
.art-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.art-body h3 { font-size: 19px; line-height: 1.45; margin-bottom: 10px; }
.art-body h3 a:hover { color: var(--orange-dark); }
.art-body p:not(.art-cat) { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-body .link-arrow { margin-top: auto; align-self: flex-start; }
.art-cat { font-size: 13px; font-weight: 700; color: var(--orange-dark); letter-spacing: .08em; margin-bottom: 8px; }
.art-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); color: #fff; }
.art-hero-content { position: relative; padding: calc(var(--header-h) + 48px) 0 52px; max-width: 900px; }
.art-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 14px; }
.art-hero .art-cat { color: var(--orange-light); }
.art-meta { color: rgba(255,255,255,.75); font-size: 14px; margin: 0; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; padding: 64px 0 40px; }
.art-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 14px; }
.art-toc p { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.art-toc ol { margin: 0; padding: 0 0 0 14px; list-style: none; border-left: 2px solid var(--line); display: grid; gap: 10px; color: var(--muted); }
.art-toc a:hover { color: var(--orange-dark); }
.prose { font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.prose .art-lead { font-size: 19px; color: var(--ink); border-left: 4px solid var(--orange); padding-left: 18px; margin-bottom: 32px; }
.prose .art-summary { background: var(--green-soft); border: 1px solid #d3dccb; border-radius: var(--radius-sm); padding: 18px 22px 8px; margin: 0 0 28px; }
.prose .art-summary-h { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--green-dark); }
.prose .art-summary ul { margin: 0 0 10px; padding-left: 1.2em; }
.prose .art-summary li { margin: 0 0 8px; color: var(--ink); font-size: 16px; line-height: 1.75; }
.prose .art-summary li::marker { color: var(--green); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 48px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 20px; margin: 28px 0 10px; color: var(--green-dark); }
.prose a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--green-dark); color: #fff; }
.prose tbody tr:nth-child(even) { background: var(--cream); }
.art-cta { margin-top: 56px; background: var(--cream); border-radius: var(--radius); padding: 32px; }
.art-cta h2 { margin-top: 0; }
.art-cta .btn { margin: 8px 8px 0 0; text-decoration: none; }
.art-cta .btn-primary { color: #fff; }
.related { background: var(--cream); }
.related-title { text-align: center; margin-bottom: 40px; }

/* ---------- Keyword services ---------- */
.kw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kw-card { position: relative; display: grid; gap: 6px; padding: 24px 48px 24px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, transform .25s, box-shadow .25s; }
.kw-card b { font-size: 18px; color: var(--ink); }
.kw-card span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.kw-card i { position: absolute; right: 20px; top: 24px; font-style: normal; color: var(--orange); transition: transform .25s; }
.kw-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 12px 30px -20px rgba(31,42,36,.45); }
.kw-card:hover i { transform: translateX(4px); }
.kw-card:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.footer-keywords { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.footer-keywords span { color: var(--orange-light); font-weight: 700; }
.footer-keywords a:hover { color: var(--orange-light); }

/* ---------- Okara band ---------- */
.okara-band { background: var(--green-soft); padding: clamp(48px, 6vw, 72px) 0; }
.okara-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.okara-band h2 { margin-bottom: .3em; }
.okara-band p:not(.eyebrow) { margin: 0; max-width: 40em; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- Careers ---------- */
.jobs { background: var(--cream); }
.live-104 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 36px; }
.live-104 b { display: block; color: var(--ink); }
.live-104 span { font-size: 14px; color: var(--muted); }
.job-empty { background: var(--paper); border-radius: var(--radius); padding: 28px; text-align: center; }
.job-empty a { color: var(--orange-dark); font-weight: 700; }
.careers-actions { margin-top: 24px; }
.job-loc { font-family: var(--serif); font-size: 22px; color: var(--green-dark); margin: 40px 0 16px; padding-left: 14px; border-left: 4px solid var(--orange); }
.job-loc:first-of-type { margin-top: 0; }
.job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; flex-direction: column; }
.job-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.job-top h3 { margin: 0; font-size: 20px; }
.job-pay { font-weight: 700; color: var(--orange-dark); font-size: 15px; }
.job-req { font-size: 14px; color: var(--muted); margin: 6px 0 10px; }
.job-card p:not(.job-req) { font-size: 15px; color: var(--ink-2); }
.job-apply { margin-top: auto; align-self: flex-start; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.benefit { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.benefit h3 { font-size: 18px; color: var(--green-dark); }

/* ---------- Videos ---------- */
.video-list { display: grid; gap: 40px; max-width: 1000px; }
.video-card { display: grid; gap: 24px; }
.video-frame, .video-iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--deep); box-shadow: var(--shadow); cursor: pointer; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.video-frame:hover img { transform: scale(1.03); filter: brightness(.9); }
.video-play { position: absolute; left: 50%; top: 50%; width: 88px; transform: translate(-50%, -50%); transition: transform .25s; }
.video-play svg { width: 100%; height: auto; display: block; }
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-frame:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.video-len { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.75); color: #fff; font-family: var(--num); font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.video-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: .4em; }
.video-body p { color: var(--ink-2); max-width: 46em; }
.video-meta { font-size: 14px; color: var(--muted) !important; }
.video-meta a { color: var(--orange-dark); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #111813; color: rgba(255,255,255,.6); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.5fr; gap: 40px; align-items: start; }
.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.footer-tag { color: var(--orange-light); letter-spacing: .1em; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange-light); }
.footer-contact p { margin: 0 0 8px; display: grid; grid-template-columns: 80px 1fr; gap: 8px; color: #fff; }
.footer-contact span { color: rgba(255,255,255,.5); }
.footer-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.fab-call { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); place-items: center; box-shadow: 0 12px 28px -8px rgba(200,128,58,.8); }
.fab-call svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
/* 中文版選單項目較多：較窄的桌機先縮小間距，1240px 以下改成漢堡選單 */
.nav-long .main-nav a:not(.btn) { padding: 8px 7px; font-size: 14px; }
.nav-long .nav-cta { margin-left: 4px; padding: 9px 14px; }
.nav-long .lang-switch summary span { display: none; }
.nav-long .lang-switch summary { padding: 9px; }
@media (max-width: 1240px) {
  .nav-long .nav-toggle { display: block; }
  .nav-long .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 16px 24px 32px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); overflow-y: auto;
  }
  .nav-long.menu-open .main-nav { transform: none; }
  .nav-long .main-nav a:not(.btn) { color: var(--ink) !important; font-size: 18px; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-long .main-nav a.active { color: var(--orange-dark) !important; }
  .nav-long .main-nav a:not(.btn):hover { background: none; }
  .nav-long .nav-cta { margin: 24px 0 0; padding: 16px; font-size: 17px; }
}
@media (max-width: 1240px) {
  .main-nav a:not(.btn) { padding: 8px 9px; font-size: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .recipe-grid { grid-template-columns: repeat(4, 1fr); }
  .cert-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pack-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .brand { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 16px 24px 32px;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; }
  .main-nav a:not(.btn) { color: var(--ink) !important; font-size: 18px; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a.active { color: var(--orange-dark) !important; }
  .main-nav a:not(.btn):hover { background: none; }
  .nav-cta { margin: 24px 0 0; padding: 16px; font-size: 17px; }

  .stats-grid, .stats-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-5 .stat:last-child { grid-column: 1 / -1; }
  .stat::before { display: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .split, .origin-grid, .vision-grid, .history-grid, .contact-grid, .faq-grid, .promise-wrap, .recipe-head, .cta-inner, .supply { grid-template-columns: 1fr; }
  .origin-founder, .history-side { position: static; }
  .origin-founder { grid-template-columns: 120px 1fr; align-items: center; }
  .origin-founder img { width: 120px; height: 140px; }
  .vision-media img { aspect-ratio: 16 / 9; }
  .service-cards, .mode-grid, .market-grid, .promise-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .pastry-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .kw-grid { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: 1fr; }
  .okara-band-inner { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .art-toc { position: static; background: var(--cream); border-radius: var(--radius-sm); padding: 18px 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .supply-media { max-width: 520px; }
  .supply-media img { aspect-ratio: 16 / 11; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  :lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(fr) h2, :lang(fr) h3 { hyphens: auto; }
  .lang-switch summary span { display: none; }
  .lang-switch summary { padding: 9px; }
  .hero-content { padding-bottom: 160px; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,28,24,.55) 0%, rgba(20,28,24,.85) 60%, rgba(20,28,24,.95) 100%); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-certs .container { gap: 6px 16px; font-size: 12px; padding: 14px 72px 14px 0; }
  .page-hero { min-height: 380px; }
  .page-hero-shade { background: linear-gradient(0deg, rgba(20,28,24,.92) 10%, rgba(20,28,24,.5) 100%); }
  .stat { padding: 28px 10px; }
  .split-media { padding: 0 24px 40px 0; }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .acc-item strong { font-size: 42px; }
  .acc-big em { font-size: 40px; margin-left: -8px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 22px 20px; }
  .step-no { grid-row: span 2; margin: 0; font-size: 26px; }
  .who-card { grid-template-columns: 1fr; }
  .who-card img { min-height: 0; aspect-ratio: 16 / 9; }
  .who-card div { padding: 0 22px 24px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .grain-strip { grid-template-columns: 1fr; }
  .grain-tile { aspect-ratio: 16 / 9; }
  .pack-grid, .pack-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pack-card figcaption { padding: 14px; }
  .pack-card b { font-size: 16px; }
  .pack-size { font-size: 14px; }
  .pastry-card { padding: 24px; }
  .pastry-hero { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .kw-grid { grid-template-columns: 1fr; }
  .prose { font-size: 16px; }
  .art-hero { min-height: 360px; }
  .pastry-card.with-img, .pastry-card.pack-pastry { grid-template-columns: 1fr; }
  .bar-list.cols-2 { grid-template-columns: 1fr; }
  .cert-grid-4 { grid-template-columns: 1fr; }
  .cert-docs { grid-template-columns: 1fr; padding: 18px; }
  .cert-seal { width: 110px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .b-wide { grid-column: auto; }
  .b-tall { grid-row: span 1; }
  .honor-box { grid-template-columns: 70px 1fr; padding: 18px; }
  .honor-box img { width: 70px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .footer-contact p { grid-template-columns: 1fr; gap: 0; margin-bottom: 12px; }
}

/* 公司資料一覽 */
.company-facts { max-width: 880px; }
.facts-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 8px 0 28px; }
.facts-table th, .facts-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.facts-table th { width: 128px; background: var(--cream); color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-links { display: flex; flex-wrap: wrap; gap: 10px; }
.facts-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; background: var(--paper); }
.facts-links a:hover { border-color: var(--orange); color: var(--orange-dark); }
@media (max-width: 600px) {
  .facts-table th, .facts-table td { display: block; width: auto; }
  .facts-table th { border-bottom: 0; padding-bottom: 4px; }
  .facts-table td { padding-top: 0; }
}

/* 隱私權政策與表單同意文字 */
.privacy { max-width: 820px; }
.privacy-date { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.form-consent { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 4px 0 14px; }
.form-consent a, .footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 黃豆批發 */
.soy-band { background: var(--orange-soft); }
.soy-band + .okara-band { padding-top: clamp(40px, 5vw, 56px); }
.soy-types-sec { background: var(--cream); }
.soy-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.soy-type { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.soy-type-img { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; }
.soy-type-img img { width: 100%; height: 100%; object-fit: cover; }
.soy-type h3 { margin: 0 0 12px; font-size: 20px; }
.soy-type .check-list { margin: 0; }
.soy-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soy-gallery figure { margin: 0; }
.soy-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.soy-gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose .soy-cta { background: var(--orange-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; margin: -12px 0 28px; }
.prose .soy-cta a { font-weight: 700; color: var(--orange-dark); }
@media (max-width: 900px) {
  .soy-types { grid-template-columns: 1fr; }
  .soy-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .soy-type { grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; }
}

/* ============ 動畫：讓畫面更生動（系統設定「減少動態」的訪客會自動關閉） ============ */
@media (prefers-reduced-motion: no-preference) {
  /* 1. 首頁與各頁大標：文字依序浮現 */
  .hero-content > *, .page-hero-content > *, .art-hero-content > * { animation: riseIn .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-content > :nth-child(1), .page-hero-content > :nth-child(1), .art-hero-content > :nth-child(1) { animation-delay: .15s; }
  .hero-content > :nth-child(2), .page-hero-content > :nth-child(2), .art-hero-content > :nth-child(2) { animation-delay: .3s; }
  .hero-content > :nth-child(3), .page-hero-content > :nth-child(3), .art-hero-content > :nth-child(3) { animation-delay: .45s; }
  .hero-content > :nth-child(4), .art-hero-content > :nth-child(4) { animation-delay: .6s; }
  @keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  .eyebrow-light::before { animation: lineGrow 1s .2s cubic-bezier(.2,.7,.2,1) both; transform-origin: left; }
  @keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* 2. 內頁大圖：緩慢推近 */
  .page-hero-bg, .art-hero .page-hero-bg { animation: heroZoom 16s ease-out both; }

  /* 3. 圖片由下往上「揭開」 */
  .split-media.reveal .media-main { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.65,0,.25,1) .1s; }
  .split-media.reveal.in .media-main { clip-path: inset(0 0 0 0); }
  .split-media.reveal .media-sub { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .9s .6s, transform 1.1s cubic-bezier(.2,.7,.2,1) .6s; }
  .split-media.reveal.in .media-sub { opacity: 1; transform: none; }

  /* 4. 代工流程：數字依序彈出、箭頭輕輕跳動 */
  .step.reveal.in .step-no { animation: popIn .6s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--rd, 0ms) + .25s); }
  @keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
  .step:not(:last-child)::after { animation: nudge 1.8s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }

  /* 5. 企業沿革：時間軸的點依序亮起 */
  .vtimeline li::before { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .5s; }
  .vtimeline li.in::before { transform: scale(1); background: var(--orange); }
  .vtimeline li { opacity: .35; transition: opacity .6s; }
  .vtimeline li.in { opacity: 1; }

  /* 6. 主要按鈕：滑過時有一道光掃過 */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .7s ease; pointer-events: none; }
  .btn-primary:hover::after { left: 130%; }

  /* 7. 手機版電話按鈕：呼吸光圈 */
  .fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.4s ease-out infinite; }
  @keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }

  /* 8. 卡片滑過：圖示輕微旋轉、豆漿配方圓點彈一下 */
  .service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
  .service-icon { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
  .recipe:hover::before { animation: bounce .6s cubic-bezier(.3,1.6,.5,1); }
  @keyframes bounce { 0% { transform: scale(1); } 40% { transform: scale(1.25) translateY(-3px); } 100% { transform: scale(1); } }
}

/* 9. 首頁認證跑馬燈（減少動態時改為靜態排列） */
.hero-certs .ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hero-certs .ticker-track { display: flex; width: max-content; padding: 18px 0; font-size: 14px; color: rgba(255,255,255,.8); letter-spacing: .04em; }
.hero-certs .ticker-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-right: 44px; }
.hero-certs .ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-light); }
@media (prefers-reduced-motion: no-preference) {
  .hero-certs .ticker-track { animation: ticker 32s linear infinite; }
  .hero-certs:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .hero-certs .ticker-track { flex-wrap: wrap; width: auto; padding-left: 24px; }
  .hero-certs .ticker-track [aria-hidden] { display: none; }
}

/* 11. 頁面頂端的閱讀進度條 */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* 不支援捲動偵測的舊瀏覽器：動畫元素直接顯示 */
.no-io .split-media .media-main { clip-path: none !important; }
.no-io .split-media .media-sub, .no-io .vtimeline li { opacity: 1 !important; transform: none !important; }
.no-io .vtimeline li::before { transform: none !important; }

/* ============ 提高洽詢意願的區塊 ============ */
/* 首頁大圖：信任小標籤 */
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 28px 0 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); font-size: 15px; }
.hero-chips svg, .cmp-b svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--orange-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) { .hero-content > :nth-child(5) { animation-delay: .75s; } }

/* 自己建廠 vs 找聖源 */
.compare { background: var(--paper); }
.cmp { max-width: 980px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp-row { display: grid; grid-template-columns: 150px 1fr 1fr; }
.cmp-row > div { padding: 18px 22px; line-height: 1.6; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-k { font-weight: 700; color: var(--ink); background: var(--cream); }
.cmp-a { color: var(--muted); background: #f6f4f0; }
.cmp-b { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); background: var(--green-soft); font-weight: 500; }
.cmp-b svg { stroke: var(--green-dark); margin-top: 3px; }
.cmp-head > div { font-weight: 800; font-size: 15px; padding-top: 16px; padding-bottom: 16px; }
.cmp-head .cmp-a { color: var(--muted); }
.cmp-head .cmp-b { background: var(--green-dark); color: #fff; justify-content: center; }
.cmp-head > div:first-child { background: var(--cream); }

/* 開始合作 3 步 */
.start { background: var(--cream); }
.start-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.start-step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.start-step:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 34px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 15px; }
.start-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-dark); color: #fff; font-family: var(--num); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.start-step h3 { font-size: 19px; margin-bottom: 8px; }
.start-step p { margin: 0; color: var(--muted); font-size: 15px; }
.start-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }

/* 我想做…快速選項 */
.picks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.picks span { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.picks a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; transition: border-color .25s, color .25s, transform .25s; }
.picks a:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }
.cta-band .picks { justify-content: flex-start; margin-top: 22px; }
.cta-band .picks span { color: rgba(255,255,255,.75); }
.cta-band .picks a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.cta-band .picks a:hover { border-color: var(--orange-light); color: var(--orange-light); }

/* 聯絡頁：送出後流程、準備清單 */
.form-quick { margin: -6px 0 18px; font-size: 14px; color: var(--green-dark); font-weight: 500; }
.assure { margin-top: 28px; padding: 24px; background: var(--green-soft); border-radius: var(--radius); }
.assure h3 { font-size: 17px; margin: 0 0 12px; }
.assure h3 + .check-list { margin-bottom: 0; }
.assure-steps { margin: 0 0 22px; padding-left: 1.3em; }
.assure-steps li { margin-bottom: 8px; line-height: 1.6; }
.assure-steps li::marker { color: var(--green-dark); font-weight: 800; }

/* 手機底部常駐聯絡列（取代原本的圓形電話鈕） */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,253,249,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -8px 24px -12px rgba(31,42,36,.35); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .mobile-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .m-call { border: 1.5px solid var(--green-dark); color: var(--green-dark); }
  .m-quote { background: var(--orange); color: #fff; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-k { grid-column: 1 / -1; padding-bottom: 8px !important; }
  .cmp-head > div:first-child { display: none; }
  .start-steps { grid-template-columns: 1fr; }
  .start-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -17px; margin-left: -15px; }
}

/* ============ 首頁大圖輪播 ============ */
.hero-slider { display: grid; grid-template-columns: 100%; justify-content: stretch; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero .hero-title { font-family: var(--serif); color: #fff; font-weight: 700; font-size: clamp(34px, 5.4vw, 70px); line-height: 1.22; letter-spacing: .03em; margin: 0 0 24px; max-width: 15em; }
:lang(en) .hero .hero-title, :lang(fr) .hero .hero-title, :lang(de) .hero .hero-title { letter-spacing: 0; font-size: clamp(30px, 4.4vw, 58px); max-width: 19em; }
.hero .hero-title .accent { color: var(--orange-light); }
/* 每次換到某一張，文字重新浮現、背景重新緩慢推近 */
.hero-slide:not(.is-active) .hero-content > *, .hero-slide:not(.is-active) .hero-bg, .hero-slide:not(.is-active) .eyebrow-light::before { animation: none; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 3; display: flex; gap: 10px; }
.hero-dots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; transition: width .4s, background .3s; }
.hero-dots button::before { content: ""; position: absolute; inset: -10px 0; }
.hero-dots button[aria-current="true"] { width: 64px; background: rgba(255,255,255,.3); }
.hero-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--orange-light); transform-origin: left; }
.hero-slider.playing .hero-dots button[aria-current="true"]::after { animation: dotFill 7s linear both; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-dots button:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 4px; }
@media (max-width: 700px) { .hero-dots { bottom: 70px; } }
.hero-slider .hero-certs { z-index: 3; }

/* ============ 首頁優化 ============ */
/* 熱門代工項目：精簡成一排標籤 */
.kw-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 980px; margin: 40px auto 8px; }
.kw-chips span { font-weight: 700; color: var(--ink-2); margin-right: 6px; }
.kw-chips a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 14px; transition: border-color .25s, color .25s, transform .25s; }
.kw-chips a:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-2px); }
.kw-chips a.more { border: 0; background: none; color: var(--orange-dark); font-weight: 700; }

/* 原料與副產品供應：兩張照片卡 */
.raw-supply { background: var(--paper); }
.supply-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.supply-card { display: grid; grid-template-columns: 42% 1fr; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .35s, box-shadow .35s; }
.supply-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.supply-img { overflow: hidden; min-height: 280px; }
.supply-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.supply-card:hover .supply-img img { transform: scale(1.06); }
.supply-body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.supply-body h3 { font-size: 22px; margin: 2px 0 10px; }
.supply-body p:not(.eyebrow) { color: var(--ink-2); font-size: 15px; margin: 0; }
.supply-body .link-arrow { align-self: flex-start; margin-top: 18px; }
@media (max-width: 900px) { .supply-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .supply-card { grid-template-columns: 1fr; } .supply-img { min-height: 200px; aspect-ratio: 16 / 10; } }

/* 開始合作 3 步：深綠底收尾，讓最後的行動呼籲更醒目 */
.start { background: linear-gradient(160deg, var(--green-dark) 0%, #3a4f33 100%); color: #fff; }
.start .start-step { border-color: transparent; box-shadow: 0 18px 40px -24px rgba(0,0,0,.5); }
.start .start-step h3 { color: var(--ink); }
.start .picks span { color: rgba(255,255,255,.8); }
.start .picks a { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.start .picks a:hover { border-color: var(--orange-light); color: var(--orange-light); }
.start .section-head h2 { color: #fff; }
.start .section-head p:not(.eyebrow) { color: rgba(255,255,255,.8); }

/* GEO：參考資料與文章出處 */
.prose .art-refs { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.prose .art-refs h2 { font-size: 18px; margin: 0 0 12px; }
.prose .art-refs ol { margin: 0; padding-left: 1.4em; font-size: 14px; color: var(--muted); }
.prose .art-refs li { margin-bottom: 6px; line-height: 1.6; }
.prose .art-refs a { color: var(--ink-2); word-break: break-word; }
.prose .art-about { margin: 24px 0 0; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-sm); font-size: 14px; color: var(--ink-2); }
.prose .art-about p { margin: 0; line-height: 1.7; }
.prose .art-about .art-about-h { font-weight: 800; color: var(--green-dark); margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; }

/* 影片重點文字版 */
.video-points { margin: 18px 0 8px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-sm); }
.video-points h3 { font-size: 16px; margin: 0 0 10px; }
.video-points .check-list { margin: 0; }
.video-points .check-list li { font-size: 15px; }
.video-src { margin: 10px 0 0; font-size: 13px; }
.video-src a { color: var(--muted); }

/* ============ 低解析圖片的大圖處理：模糊背景＋清晰照片卡（只在寬螢幕，手機原本就夠清楚） ============ */
.hero-inset { display: none; }
@media (min-width: 900px) {
  .hero-lowres .page-hero-bg { filter: blur(18px) brightness(.8) saturate(1.1); transform: scale(1.15); animation: none; }
  .hero-inset { display: block; position: absolute; z-index: 1; right: max(24px, calc((100vw - 1200px) / 2));
    top: calc(var(--header-h) + 32px); height: calc(100% - var(--header-h) - 72px); width: min(28vw, 360px);
    object-fit: cover; border-radius: var(--radius); border: 4px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.65); }
  .hero-lowres .page-hero-content, .hero-lowres .art-hero-content { position: relative; z-index: 2; padding-right: min(31vw, 400px); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero-inset { animation: insetIn 1s .25s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes insetIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
}

/* 輪播：低解析照片只放右半邊，往左淡入深色背景，不拉成滿版 */
@media (min-width: 900px) {
  .slide-split { background: var(--deep); }
  .slide-split .hero-bg { left: auto; right: 0; width: 56%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
}

/* 廠商合作 */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .35s, box-shadow .35s, border-color .35s; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.partner-card .eyebrow { margin-bottom: 8px; }
.partner-card h3 { font-size: 20px; margin: 0 0 10px; }
.partner-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.partner-why { background: var(--cream); }
.small-note { font-size: 14px; margin-top: 18px; }
.small-note a { color: var(--orange-dark); font-weight: 700; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }
