/* =========================================================
   A&P Agri Product Group — Navy & Gold
   ========================================================= */
:root {
  --navy-950: #071427;
  --navy-900: #0A1B36;
  --navy-800: #0F2548;
  --navy-700: #16335F;
  --navy-600: #1F4580;
  --navy-100: #E6ECF5;
  --gold-600: #B08A36;
  --gold-500: #C9A24B;
  --gold-400: #DABA6C;
  --gold-300: #EAD49E;
  --gold-100: #F7EFDA;
  --cream: #FBF8F1;
  --paper: #FBF8F1; /* one background colour site-wide (was #FFFDF8) */
  --ink: #17202E;
  --muted: #5A6475;
  --line: #E7DFCC;
  --white: #FFFFFF;

  /* Cadson Demak families (Google Fonts): Kanit headings, Sarabun text */
  --font-body: "Sarabun", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Kanit", "Sarabun", system-ui, sans-serif;
  --head-weight: 600;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(10, 27, 54, .06);
  --shadow: 0 14px 40px -12px rgba(10, 27, 54, .22);
  --shadow-lg: 0 30px 70px -20px rgba(7, 20, 39, .45);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --safe-top: env(safe-area-inset-top, 0px);
  --header-total: calc(var(--header-h) + var(--safe-top));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --base-rgb: 10, 27, 54;
  --deep-rgb: 7, 20, 39;
  --accent-rgb: 31, 69, 128;
  --od-1: #E3E8F1; --od-2: #D7DEEA; --od-3: #C9D2E1; --od-4: #C3CDDD; --od-5: #B9C4D6;
  --od-6: #AEB9CC; --od-7: #9FAEC6; --od-8: #8E9CB4; --od-9: #6F7E97;
  --tl-1: #B08A36; --tl-2: #1F4580; --tl-3: #4F7FB0; --tl-4: #C9A24B;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; color: var(--navy-900); font-weight: var(--head-weight, 700); text-wrap: balance; }
/* font preview (temporary): other Cadson Demak families and the original pair */
html[data-font="anuphan"] { --font-head: "Anuphan", system-ui, sans-serif; --font-body: "Anuphan", system-ui, sans-serif; --head-weight: 700; }
html[data-font="prompt"] { --font-head: "Prompt", system-ui, sans-serif; --font-body: "Sarabun", system-ui, sans-serif; --head-weight: 600; }
html[data-font="trirong"] { --font-head: "Trirong", Georgia, serif; --font-body: "Sarabun", system-ui, sans-serif; --head-weight: 700; }
html[data-font="plex"] { --font-head: "Noto Serif Thai", "IBM Plex Sans Thai", Georgia, serif; --font-body: "IBM Plex Sans Thai", system-ui, sans-serif; --head-weight: 700; }
.section-lead { text-wrap: pretty; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--cream { background: var(--cream); }
/* home page: cream sections fade into the paper-white sections around them instead of a hard line */
.section.blend { background: linear-gradient(180deg, var(--paper) 0, var(--cream) 140px, var(--cream) calc(100% - 140px), var(--paper) 100%); }
.section.blend-top { background: linear-gradient(180deg, var(--paper) 0, var(--cream) 140px); }
.section--navy { background: var(--navy-900); color: var(--od-2); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-lead { color: var(--muted); font-size: 1.06rem; }
.section--navy .section-lead { color: var(--od-6); }
.gold-text { color: var(--gold-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(201, 162, 75, .7); }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(234, 212, 158, .55); color: var(--gold-100); }
.btn--ghost:hover { background: rgba(234, 212, 158, .1); border-color: var(--gold-300); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-total); padding-top: var(--safe-top);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(var(--base-rgb), .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 50px; height: 50px; border-radius: 50%; background: var(--white); padding: 2px; box-shadow: 0 0 0 2px rgba(201, 162, 75, .6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .04em; }
.brand-text small { font-size: .68rem; letter-spacing: .22em; color: var(--gold-300); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .nav-dd > button {
  color: var(--od-1); font-weight: 500; font-size: .96rem; padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background .2s;
}
.nav > a:not(.btn):hover, .nav-dd > button:hover, .nav-dd:focus-within > button { color: var(--gold-300); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"], .nav-dd.is-current > button { color: var(--gold-300); }
.nav a[aria-current="page"]::after { content: ""; display: block; }
.nav-dd { position: relative; }
.nav-dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dd:hover > button svg, .nav-dd.is-open > button svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 230px; padding: 10px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: all .22s var(--ease);
}
.nav-dd-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: .95rem; }
.nav-dd-menu a:hover { background: var(--gold-100); color: var(--navy-900); }
.nav-dd-menu a span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-700); flex: none; }
.nav-dd-menu a span svg { width: 16px; height: 16px; }
.nav .btn { margin-left: 10px; padding: 10px 20px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .3s, opacity .3s; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-total); left: 0; right: 0; height: calc(100vh - var(--header-total)); height: calc(100dvh - var(--header-total)); flex-direction: column; align-items: stretch;
    padding: 20px var(--gutter) 40px; gap: 2px; background: var(--navy-900); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease);
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn), .nav-dd > button { width: 100%; justify-content: space-between; padding: 14px 8px; border-radius: 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; padding: 0 0 8px 8px; display: none; min-width: 0; }
  .nav-dd.is-open .nav-dd-menu { display: block; transform: none; }
  .nav-dd:hover .nav-dd-menu { transform: none; }
  .nav-dd-menu a { color: var(--od-3); }
  .nav-dd-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--gold-300); }
  .nav-dd-menu a span { background: rgba(255, 255, 255, .08); color: var(--gold-300); }
  .nav .btn { margin: 18px 0 0; }
  body.nav-locked { overflow: hidden; }
}

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: var(--od-2);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 162, 75, .22), transparent 60%),
    radial-gradient(700px 600px at 10% 110%, rgba(var(--accent-rgb), .8), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%);
  padding: calc(var(--header-total) + clamp(40px, 7vw, 90px)) 0 clamp(120px, 14vw, 180px);
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco svg { position: absolute; opacity: .5; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.22; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-400); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: linear-gradient(90deg, var(--gold-500), transparent); opacity: .5; border-radius: 4px; }
.hero-lead { font-size: 1.1rem; max-width: 540px; color: var(--od-5); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .9rem; color: var(--od-7); }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags svg { width: 18px; height: 18px; color: var(--gold-400); }

.hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hero-visual .ring { position: absolute; inset: 4% 6%; border-radius: 50%; border: 1px solid rgba(234, 212, 158, .25); }
.hero-visual .ring--2 { inset: 14% 16%; border-style: dashed; border-color: rgba(234, 212, 158, .18); animation: spin 80s linear infinite; }
.hero-visual .glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(234, 212, 158, .35), transparent 70%); filter: blur(10px); }
.pack {
  position: absolute; display: block; border-radius: 14px; cursor: pointer;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45));
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)); transition: transform .45s var(--ease), filter .45s var(--ease);
}
.pack img { width: 100%; height: auto; display: block; }
.pack--main { width: 78%; left: 11%; top: 30%; z-index: 3; }
.pack--a { width: 56%; left: -2%; top: 8%; z-index: 2; --r: -8deg; }
.pack--b { width: 56%; right: -4%; top: 4%; z-index: 1; --r: 7deg; }
.pack--c { width: 23%; right: 2%; bottom: 0; z-index: 4; --r: 6deg; border-radius: 6px; }
.pack:hover, .pack:focus-visible { --y: -10px; z-index: 6; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .6)); }
.pack-label {
  position: absolute; left: 50%; bottom: -6px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; background: var(--navy-900); color: var(--gold-300); font-size: .8rem; font-weight: 600;
  border: 1px solid rgba(234, 212, 158, .45); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  transform: translate(-50%, 8px) rotate(calc(var(--r, 0deg) * -1)); opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.pack-label svg { width: 14px; height: 14px; }
.pack:hover .pack-label, .pack:focus-visible .pack-label { opacity: 1; transform: translate(-50%, 0) rotate(calc(var(--r, 0deg) * -1)); }
.pack--c .pack-label { bottom: -14px; }
@media (hover: none) {
  .pack-label { opacity: 1; transform: translate(-50%, 0) rotate(calc(var(--r, 0deg) * -1)); font-size: .7rem; padding: 5px 10px; }
  .pack--a .pack-label, .pack--b .pack-label { bottom: auto; top: -10px; }
}
.hero-hint { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-size: .82rem; color: var(--od-8); }
@media (hover: none) { .hero-hint { display: none; } }
.hero-badge {
  position: absolute; left: 0; bottom: 6%; z-index: 5; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--navy-900); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .85rem; line-height: 1.35;
}
.hero-badge img { width: 46px; height: 46px; object-fit: contain; }
.hero-badge strong { display: block; font-size: .95rem; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 20px auto 0; }
}

/* ---------- Stats strip ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: clamp(-110px, -9vw, -70px); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 28px 26px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; color: var(--navy-800); line-height: 1.1; }
.stat-num sup { font-size: .5em; color: var(--gold-500); margin-left: 2px; }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: 6px; line-height: 1.5; }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* =========================================================
   Integrated chain: a clockwise cycle of five steps around a hub
   ========================================================= */
.cycle {
  --R: 200px; --icon: 112px; --tw: 250px; --cy: calc(var(--R) * .81 + var(--icon) / 2 + 14px);
  position: relative; max-width: 1120px; margin: 0 auto; counter-reset: step;
  height: calc(var(--cy) + var(--R) + var(--icon) / 2 + 150px);
}
.cycle-ring { position: absolute; width: calc(var(--R) * 2.5); height: calc(var(--R) * 2.5); left: calc(50% - var(--R) * 1.25); top: calc(var(--cy) - var(--R) * 1.25); overflow: visible; }
.cyc-track { fill: none; stroke: var(--gold-300); stroke-width: .5; stroke-dasharray: 1.5 2.5; opacity: .7; }
.cyc-arc { fill: none; stroke: url(#cycGold); stroke-width: 2.6; stroke-linecap: round; }
.cyc-head { fill: #B8893A; }
.cyc-flow { fill: none; stroke: #FFF6DA; stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 2.5 9.5; opacity: .85; animation: cyc-flow 1.8s linear infinite; }
@keyframes cyc-flow { to { stroke-dashoffset: -12; } }
.cycle-hub {
  position: absolute; left: 50%; top: var(--cy); width: calc(var(--R) * 1.02); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-content: center; gap: 4px; text-align: center; padding: 18px;
  background: radial-gradient(circle at 35% 28%, var(--navy-700), var(--navy-950)); color: var(--white);
  box-shadow: 0 0 0 7px var(--paper), 0 0 0 8.5px var(--gold-300), var(--shadow);
}
.hub-eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.cycle-hub strong { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--white); }
.hub-sub { font-size: .85rem; color: var(--od-5); line-height: 1.45; }
.cyc-step { position: absolute; left: calc(50% + var(--ux) * var(--R)); top: calc(var(--cy) + var(--uy) * var(--R)); width: 0; height: 0; counter-increment: step; }
.cyc-icon {
  position: absolute; left: calc(var(--icon) / -2); top: calc(var(--icon) / -2); width: var(--icon); height: var(--icon);
  border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--gold-300);
  box-shadow: 0 0 0 7px var(--paper), var(--shadow-sm); color: var(--navy-700); transition: transform .35s var(--ease), background .35s, color .35s;
}
.cyc-icon svg { width: 46%; height: 46%; }
.cyc-icon::after {
  content: counter(step, decimal-leading-zero); position: absolute; top: -4px; right: -4px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-300); font-size: .78rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--white);
}
.cyc-step:hover .cyc-icon { transform: translateY(-5px); background: var(--navy-800); color: var(--gold-300); }
.cyc-step--final .cyc-icon, .cyc-step--final:hover .cyc-icon { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); border-color: transparent; color: var(--navy-950); }
.cyc-step--final .cyc-icon::after { content: "\2665"; font-size: .9rem; }
.cyc-text { position: absolute; top: 0; width: var(--tw); transform: translateY(-50%); }
.t-right .cyc-text { left: calc(var(--icon) / 2 + 20px); text-align: left; }
.t-left .cyc-text { right: calc(var(--icon) / 2 + 20px); text-align: right; }
.t-below .cyc-text { top: calc(var(--icon) / 2 + 18px); left: calc(var(--tw) / -2); transform: none; text-align: center; }
.cyc-text .en, .cycle-list .en { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-bottom: 6px; }
.cyc-text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cyc-text p { font-size: .92rem; color: var(--muted); line-height: 1.6; margin: 0; }
.cycle-list { display: none; }
@media (max-width: 1199px) { .cycle { --R: 170px; --icon: 96px; --tw: 215px; } .cycle-hub { padding: 12px; } .hub-sub { font-size: .76rem; } }
/* phones: a compact ring of icons, with the step details listed underneath */
@media (max-width: 699px) {
  .cycle { --R: calc(min(100vw - 2 * var(--gutter), 440px) * .35); --icon: clamp(50px, 13vw, 64px); --cy: 50%; width: min(100%, 440px); height: auto; aspect-ratio: 1; }
  .cyc-text { display: none; }
  .cyc-icon { box-shadow: 0 0 0 5px var(--paper), var(--shadow-sm); }
  .cyc-icon::after { width: 24px; height: 24px; top: -7px; right: -8px; font-size: .62rem; border-width: 2px; }
  .cyc-step:hover .cyc-icon { transform: none; }
  .cycle-hub { width: calc(var(--R) * 1.12); padding: 10px; gap: 2px; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6.5px var(--gold-300), var(--shadow-sm); }
  .hub-eyebrow { font-size: .6rem; letter-spacing: .14em; }
  .cycle-hub strong { font-size: 1.25rem; }
  .hub-sub { font-size: .7rem; }
  .cycle-list { display: grid; gap: 10px; max-width: 640px; margin: 18px auto 0; padding: 0; list-style: none; }
  .cycle-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
  .cl-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); font-size: .74rem; font-weight: 700; }
  .cycle-list .en { font-size: .66rem; margin-bottom: 2px; }
  .cycle-list h3 { font-size: 1.02rem; margin-bottom: 2px; }
  .cycle-list p { font-size: .86rem; color: var(--muted); line-height: 1.6; margin: 0; }
  .cycle-list .cl-final { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); border-color: transparent; }
  .cl-final .cl-num { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
  .cl-final .en { color: var(--gold-400); }
  .cl-final h3 { color: var(--white); }
  .cl-final p { color: var(--od-5); }
}
.section--cream .cyc-icon { box-shadow: 0 0 0 7px var(--cream), var(--shadow-sm); }

/* =========================================================
   Omax nutrition highlight
   ========================================================= */
.omax-hl { overflow: hidden; }
.omax-hl::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -380px; top: 60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .12), transparent 60%);
}
.omax-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; position: relative; }
.omax-pack { position: relative; }
.omax-pack img { border-radius: 14px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); transform: rotate(-4deg); }
.omax-pack .tag {
  position: absolute; top: -18px; right: 6%; background: var(--gold-500); color: var(--navy-950); font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px; transform: rotate(6deg); box-shadow: var(--shadow); z-index: 2;
}
.nutrients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 34px; }
.nutrient {
  text-align: center; padding: 26px 14px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(234, 212, 158, .2); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.nutrient:hover { transform: translateY(-4px); border-color: var(--gold-400); background: rgba(255, 255, 255, .07); }
.nutrient-badge {
  width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #FFF6D8, var(--gold-400) 45%, var(--gold-600));
  color: var(--navy-950); font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; box-shadow: 0 0 0 5px rgba(201, 162, 75, .18), inset 0 -6px 12px rgba(0, 0, 0, .15);
}
.nutrient h3 { font-size: 1.02rem; margin-bottom: 4px; }
.nutrient p { font-size: .86rem; color: var(--od-6); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .omax-grid { grid-template-columns: 1fr; } .omax-pack { max-width: 560px; margin: 0 auto; } }
@media (max-width: 560px) { .nutrients { grid-template-columns: 1fr; } .nutrient { display: grid; grid-template-columns: 70px 1fr; text-align: left; gap: 14px; align-items: center; padding: 16px; } .nutrient-badge { width: 64px; height: 64px; margin: 0; font-size: 1.05rem; } }

/* =========================================================
   Solar
   ========================================================= */
.solar-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.photo-stack { position: relative; padding: 0 0 12% 10%; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo-stack .p1 { aspect-ratio: 16 / 10; }
.photo-stack .p2 { position: absolute; width: 46%; left: 0; bottom: 0; aspect-ratio: 1; border: 6px solid var(--paper); object-position: 45% 78%; }
.photo-stack .year-chip {
  position: absolute; top: 18px; right: 18px; background: var(--navy-900); color: var(--gold-300); border-radius: 12px;
  padding: 10px 16px; font-family: var(--font-head); font-weight: 700; line-height: 1.2; text-align: center; box-shadow: var(--shadow);
}
.photo-stack .year-chip small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .7rem; color: var(--od-6); letter-spacing: .1em; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.check-list li > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); }
.check-list li > span svg { width: 18px; height: 18px; }
.check-list strong { display: block; color: var(--navy-900); }
.check-list small { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .solar-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Product cards (home showcase)
   ========================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prod-media { aspect-ratio: 4 / 3; position: relative; background: linear-gradient(160deg, var(--gold-100), #fff 70%); }
.prod-media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; transition: transform .5s var(--ease); }
.prod-media .chip { z-index: 1; }
.prod-card:hover .prod-media img { transform: scale(1.05); }
.prod-media .chip { position: absolute; top: 14px; left: 14px; }
.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.prod-body p { font-size: .93rem; color: var(--muted); line-height: 1.65; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600;
  background: var(--navy-800); color: var(--gold-300); letter-spacing: .02em;
}
.chip--light { background: var(--gold-100); color: var(--gold-600); }
.chip--line { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Story
   ========================================================= */
.story { background: var(--cream); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-photo { position: relative; }
.story-photo img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.story-photo::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--gold-400); border-radius: 200px 200px var(--radius) var(--radius); }
.story-photo .stamp {
  position: absolute; right: -18px; bottom: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--navy-900); color: var(--gold-300);
  display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-size: .95rem; line-height: 1.3; box-shadow: var(--shadow-lg); padding: 14px;
  border: 3px double var(--gold-500);
}
.story-photo .stamp.stamp--heart { width: 150px; height: 138px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; animation: heartbeat 2.4s ease-in-out infinite; }
.stamp--heart .stamp-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 18px rgba(10, 27, 54, .35)); }
.stamp--heart span { position: absolute; left: 50%; top: 47%; width: 76%; transform: translate(-50%, -50%); text-align: center; }
@keyframes heartbeat { 0%, 45%, 100% { transform: scale(1); } 12% { transform: scale(1.06); } 24% { transform: scale(.99); } 34% { transform: scale(1.04); } }
.story-quote { font-family: var(--font-head); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.3; color: var(--navy-900); margin-bottom: 26px; }
.story-quote .q { color: var(--gold-500); }
.story-text p { color: #3F4958; font-size: 1.04rem; }
.story-text p:first-of-type::first-letter { font-family: var(--font-head); float: left; font-size: 3.4em; line-height: .9; margin: .08em .12em 0 0; color: var(--gold-600); }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.signature img { width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.signature strong { display: block; color: var(--navy-900); font-family: var(--font-head); }
.signature small { color: var(--muted); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-photo { max-width: 420px; margin: 0 auto 20px; } .story-photo .stamp { right: 0; } }

/* =========================================================
   Certifications / trust
   ========================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust {
  padding: 28px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.trust:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--gold-400), var(--gold-600)); }
.trust-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); margin-bottom: 16px; }
.trust-icon svg { width: 26px; height: 26px; }
.trust-icon img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.trust h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(36px, 6vw, 64px);
  background: radial-gradient(600px 300px at 90% 0%, rgba(201, 162, 75, .35), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--od-3); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band .egg-deco { position: absolute; right: -40px; bottom: -80px; width: 260px; opacity: .08; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-950); color: var(--od-7); padding: 80px 0 0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand p { margin-top: 18px; max-width: 340px; line-height: 1.7; }
.contact-line { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.contact-line svg { width: 18px; height: 18px; color: var(--gold-400); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: var(--od-9); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: var(--od-4);
  padding: calc(var(--header-total) + clamp(50px, 8vw, 100px)) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(201, 162, 75, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950) 75%);
}
.page-hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .16; mix-blend-mode: luminosity; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.page-hero p { max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--od-8); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.crumbs-row .crumbs { margin: 0; }
.crumb-back { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px 5px 7px; border-radius: 999px; border: 1px solid rgba(233, 201, 121, .45);
  color: var(--gold-300); font-size: .82rem; font-weight: 600; line-height: 1.2; transition: background .2s, border-color .2s; }
.crumb-back svg { width: 16px; height: 16px; }
.crumb-back:hover { background: rgba(233, 201, 121, .12); border-color: var(--gold-300); }
.subnav {
  position: sticky; top: var(--header-total); z-index: 50; background: rgba(255, 253, 248, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 9px 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: all .2s; }
.subnav a:hover { color: var(--navy-900); background: var(--gold-100); }
.subnav a.is-active { background: var(--navy-800); color: var(--gold-300); }
[id] { scroll-margin-top: calc(var(--header-total) + 70px); }

/* =========================================================
   Products page — eggs
   ========================================================= */
.egg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.egg-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.egg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.egg-card-media { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 62%, #fff 0%, var(--gold-100) 100%); }
.egg-card-media img { position: absolute; inset: 8% 10%; width: 80%; height: 84%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(var(--base-rgb), .18)); transition: transform .5s var(--ease); }
.egg-card:hover .egg-card-media img { transform: scale(1.04); }
.egg-card-media .chip { position: absolute; top: 16px; left: 16px; z-index: 1; }
.egg-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.egg-card-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 4px 0 8px; }
.egg-card-body > p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.egg-card-body .feat-list { margin: 16px 0 20px; }
.egg-card-body .link-arrow { margin-top: auto; }
.egg-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.egg-card--featured .egg-card-media { aspect-ratio: auto; min-height: 340px; }
.egg-card--featured .egg-card-body { justify-content: center; padding: clamp(28px, 4vw, 48px); }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--gold-600); text-transform: uppercase; }
.feat-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; padding: 0; list-style: none; }
.feat-list li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .88rem; color: var(--navy-800); font-weight: 500; }
.feat-list li svg { width: 15px; height: 15px; color: var(--gold-600); }
.spec-row { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
.spec strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: var(--navy-800); line-height: 1.2; }
.spec span { font-size: .82rem; color: var(--muted); }
.size-tabs { display: inline-flex; gap: 6px; padding: 5px; background: rgba(255, 255, 255, .06); border-radius: 999px; border: 1px solid rgba(234, 212, 158, .25); margin: 4px 0 18px; }
.size-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .9rem; color: var(--od-5); cursor: pointer; transition: all .2s; }
.size-tabs button[aria-selected="true"] { background: var(--gold-500); color: var(--navy-950); }
.size-img { transition: opacity .3s; }
@media (max-width: 900px) {
  .egg-card--featured { grid-template-columns: 1fr; }
  .egg-card--featured .egg-card-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) { .egg-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Product detail pages
   ========================================================= */
.pd-hero {
  position: relative; overflow: hidden; color: var(--od-4);
  padding: calc(var(--header-total) + clamp(30px, 5vw, 60px)) 0 clamp(56px, 7vw, 90px);
  background: radial-gradient(800px 480px at 78% 45%, rgba(201, 162, 75, .24), transparent 62%), linear-gradient(160deg, var(--navy-800), var(--navy-950) 75%);
}
.pd-hero .container { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.pd-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 8px 0 4px; }
.pd-hero .th-name { font-family: var(--font-head); color: var(--gold-300); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-bottom: 18px; }
.pd-hero .lead { font-size: 1.06rem; color: var(--od-5); max-width: 560px; }
.pd-hero .kicker { color: var(--gold-400); }
/* product hero: one panel with a two-column checklist instead of loose pills */
.pd-hero .feat-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; max-width: 560px;
  padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(234, 212, 158, .2);
}
.pd-hero .feat-list li { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--od-1); font-size: .93rem; line-height: 1.35; min-width: 0; }
.pd-hero .feat-list li svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: rgba(201, 162, 75, .2); color: var(--gold-300); }
.pd-hero .feat-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 440px) { .pd-hero .feat-list { grid-template-columns: 1fr; gap: 10px; padding: 14px 18px; } }
.pd-hero .spec-row { border-top-color: rgba(234, 212, 158, .25); margin-bottom: 30px; }
.pd-hero .spec strong { color: var(--white); }
.pd-hero .spec span { color: var(--od-7); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.pd-stage::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(234, 212, 158, .25); }
.pd-stage::after { content: ""; position: absolute; width: 66%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(234, 212, 158, .18); animation: spin 90s linear infinite; }
.pd-stage img { position: relative; z-index: 1; width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.pd-stage--tall img { width: auto; max-height: 440px; }
/* Animated scenes behind the Cage-Free package (src/_coop.svg, src/_aviary.svg) */
.pd-stage--scene { --scene-w: min(86%, 520px); display: flex; flex-direction: column; align-items: center; min-height: 0; }
.pd-stage--scene::before, .pd-stage--scene::after { content: none; }
.coop { display: block; width: var(--scene-w); height: auto; overflow: visible; }
/* tall pouch (Plant-Based): smaller, tucked into the lower right of the scene */
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 40%; max-width: 230px; height: auto; align-self: flex-end; margin-right: 4%; position: relative; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.scene-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; padding: 5px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(234, 212, 158, .45); font-size: .8rem; color: var(--od-5); position: relative; z-index: 2; }
.scene-switch span { padding: 0 8px; white-space: nowrap; }
.scene-switch button { border: 0; border-radius: 999px; padding: 6px 12px; background: transparent; color: var(--od-2); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.scene-switch button:hover { background: rgba(255, 255, 255, .08); }
.scene-switch button[aria-pressed="true"] { background: var(--gold-400); color: var(--navy-950); }
.pd-stage.pd-stage--scene { margin-top: calc(-1 * clamp(16px, 3.4vw, 44px)); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene { --scene-w: min(96%, 520px); margin-top: -20px; } }
.pd-stage.pd-stage--scene img { width: 100%; max-width: 640px; max-height: none; margin-top: calc(var(--scene-w) * -1 * var(--scene-overlap, .38)); }
.coop .coop-dash { transform-origin: 300px 300px; animation: spin 120s linear infinite; }
.coop .lamp-glow { animation: coop-lamp 3.2s ease-in-out infinite alternate; }
.coop .twinkle { animation: coop-twinkle 2.6s ease-in-out infinite alternate; }
.coop .twinkle.t2 { animation-delay: -1.1s; }
.coop .twinkle.t3 { animation-delay: -2s; }
.coop .leg { transform-box: fill-box; transform-origin: 50% 0; }
.coop .hen-walker { animation: hen-walk 16s linear infinite; }
.coop .hen-walker .bob { animation: hen-bob .5s ease-in-out infinite alternate; }
.coop .hen-walker .head { animation: hen-head-bob .5s ease-in-out infinite alternate; }
.coop .hen-walker .leg-a { animation: hen-leg .5s ease-in-out infinite alternate; }
.coop .hen-walker .leg-b { animation: hen-leg .5s ease-in-out infinite alternate-reverse; }
.coop .hen-pecker .tilt { animation: hen-tilt 3.4s ease-in-out infinite; }
.coop .hen-pecker .head { transform-origin: 12px -36px; animation: hen-peck 3.4s ease-in-out infinite; animation-delay: inherit; }
.coop .hen-jumper { animation: hen-jump 6s ease-in-out infinite; }
.coop .hen-jumper .flap { opacity: 0; animation: hen-flap-show 6s linear infinite; }
.coop .hen-jumper .flap path { transform-origin: -6px -34px; animation: hen-flap .16s ease-in-out infinite alternate; }
.coop .hen-layer .lay { animation: hen-lay 7s ease-in-out infinite; }
.coop .breathe { animation: hen-breathe 2.4s ease-in-out infinite alternate; }
.coop .walking .bob { animation: hen-bob .5s ease-in-out infinite alternate; }
.coop .walking .head { animation: hen-head-bob .5s ease-in-out infinite alternate; }
.coop .walking .leg-a { animation: hen-leg .5s ease-in-out infinite alternate; }
.coop .walking .leg-b { animation: hen-leg .5s ease-in-out infinite alternate-reverse; }
.aviary .av-walk-floor { animation: av-walk-floor 18s linear infinite; }
.aviary .av-walk-tier { animation: av-walk-tier 13s linear infinite; }
.aviary .av-jump { animation: av-jump 6.5s ease-in-out infinite; }
.aviary .av-jump .flap { opacity: 0; animation: hen-flap-show 6.5s linear infinite; }
.aviary .av-jump .flap path { transform-origin: -6px -34px; animation: hen-flap .16s ease-in-out infinite alternate; }
.aviary .av-nester { animation: av-nest 14s ease-in-out infinite; }
.aviary .av-stream { animation: av-stream 14s linear infinite; }
.aviary .av-laid { animation: av-laid 14s infinite; }
.aviary .av-sparkle { opacity: 0; animation: av-sparkle 14s ease-out infinite; }
.aviary .av-note { opacity: 0; animation: av-note 14s ease-out infinite; }
.aviary .av-note-2 { animation-delay: .35s; }
.aviary .av-belt { animation: av-belt 1s linear infinite; }
.aviary .av-dash { animation: av-dash 3s linear infinite; }
.aviary .av-roller { animation: spin 1.5s linear infinite; }
.aviary .curtain { transform-box: fill-box; transform-origin: 50% 0; animation: av-curtain 3s ease-in-out infinite alternate; }
/* Farm To You: H-type layer cages (src/_cage.svg; per-egg keyframes live inside the SVG) */
.cage .cg-drinker .head { transform-origin: 12px -36px; animation: cg-drink 4.6s ease-in-out infinite; animation-delay: inherit; }
.cage .cg-drinker { animation: cg-drink-lift 4.6s ease-in-out infinite; }
.cage .cg-drop { opacity: 0; animation: cg-drop 4.6s ease-in infinite; }
.cage .cg-drop-2 { animation-name: cg-drop-2; }
.cage .cg-splash { opacity: 0; animation: cg-splash 4.6s ease-out infinite; }
.cage .cg-splash-2 { animation-name: cg-splash-2; }
@keyframes cg-drop { 0%, 62% { opacity: 0; transform: translate(0, 0) scale(.3); } 67% { opacity: 1; transform: translate(0, .5px) scale(1); } 73% { opacity: 1; transform: translate(0, 9px) scale(1); } 78%, 100% { opacity: 0; transform: translate(0, 16px) scale(.8); } }
@keyframes cg-drop-2 { 0%, 72% { opacity: 0; transform: translate(0, 0) scale(.3); } 76% { opacity: 1; transform: translate(0, .5px) scale(.9); } 82% { opacity: 1; transform: translate(-1px, 10px) scale(.9); } 87%, 100% { opacity: 0; transform: translate(-1px, 17px) scale(.7); } }
@keyframes cg-splash { 0%, 66% { opacity: 0; transform: translate(0, 3px); } 70% { opacity: .9; } 78%, 100% { opacity: 0; transform: translate(-9px, 1px); } }
@keyframes cg-splash-2 { 0%, 66% { opacity: 0; transform: translate(0, 3px); } 70% { opacity: .9; } 78%, 100% { opacity: 0; transform: translate(9px, 0); } }
@keyframes cg-drink-lift { 0%, 55%, 100% { transform: translateY(0) scaleY(1); } 64%, 84% { transform: translateY(-9px) scaleY(1.04); } }
.cage .cg-spark { opacity: 0; animation: cg-spark 16s ease-out infinite; }
.cage .cg-heart { opacity: 0; animation: cg-heart 7s ease-out infinite; }
.cage .cg-fan, .aviary .cg-fan { animation: spin .9s linear infinite; }
.cage .cg-breeze, .aviary .cg-breeze { opacity: 0; animation: cg-breeze 3s ease-in-out infinite; }
.cage .cg-belt { animation: cg-belt .5s linear infinite; }
.cage .cg-lift { opacity: 0; animation: cg-lift 10.8s linear infinite; }
.cage .cg-fingers { animation: cg-fingers .4s linear infinite; }
@keyframes cg-drink { 0%, 55%, 100% { transform: rotate(0); } 64%, 84% { transform: rotate(-48deg); } 70%, 78% { transform: rotate(-40deg); } }
@keyframes cg-spark { 0% { opacity: 0; transform: scale(.2) rotate(0); } 1.5% { opacity: 1; transform: scale(1.1) rotate(20deg); } 6%, 100% { opacity: 0; transform: scale(.6) rotate(45deg); } }
@keyframes cg-heart { 0%, 55% { opacity: 0; transform: translate(0, 4px) scale(.5); } 62% { opacity: 1; transform: translate(0, 0) scale(1); } 88%, 100% { opacity: 0; transform: translate(0, -20px) scale(1.05); } }
@keyframes cg-breeze { 0% { opacity: 0; transform: translateX(0); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateX(46px); } }
@keyframes cg-belt { to { stroke-dashoffset: -14; } }
@keyframes cg-lift { 0% { transform: translate(520px, 146px); opacity: 0; } 6% { opacity: 1; } 90% { transform: translate(520px, 350px); opacity: 1; } 100% { transform: translate(520px, 360px); opacity: 0; } }
@keyframes cg-fingers { to { transform: translateY(9px); } }
@keyframes av-walk-floor {
  0% { transform: translate(70px, 366px) scale(.78); }
  46% { transform: translate(520px, 366px) scale(.78); }
  50% { transform: translate(520px, 366px) scale(-.78, .78); }
  96% { transform: translate(70px, 366px) scale(-.78, .78); }
  100% { transform: translate(70px, 366px) scale(.78); }
}
@keyframes av-walk-tier {
  0% { transform: translate(140px, 320px) scale(.62); }
  46% { transform: translate(440px, 320px) scale(.62); }
  50% { transform: translate(440px, 320px) scale(-.62, .62); }
  96% { transform: translate(140px, 320px) scale(-.62, .62); }
  100% { transform: translate(140px, 320px) scale(.62); }
}
@keyframes av-jump {
  0%, 18% { transform: translate(0, 0) scale(1, 1); }
  22% { transform: translate(0, 0) scale(1.08, .86); }
  28% { transform: translate(0, -90px) scale(.95, 1.06); }
  34% { transform: translate(0, -59px) scale(1.07, .9); }
  38%, 66% { transform: translate(0, -59px) scale(1, 1); }
  70% { transform: translate(0, -59px) scale(1.07, .88); }
  76% { transform: translate(0, -82px) scale(.96, 1.05); }
  84% { transform: translate(0, 0) scale(1.08, .88); }
  88%, 100% { transform: translate(0, 0) scale(1, 1); }
}
@keyframes av-nest {
  0% { transform: translate(-80px, 0) rotate(0); }
  6%, 10% { transform: translate(0, 0) rotate(0); }
  10.8% { transform: translate(0, -8px) rotate(0); }
  11.8% { transform: translate(0, -8px) rotate(-6deg); }
  12.8% { transform: translate(0, -8px) rotate(6deg); }
  13.8% { transform: translate(0, -7px) rotate(-3deg); }
  14.6%, 62% { transform: translate(0, 0) rotate(0); }
  72%, 100% { transform: translate(80px, 0) rotate(0); }
}
@keyframes av-stream { 0% { transform: translate(206px, 247px); opacity: 0; } 3% { opacity: 1; } 100% { transform: translate(556px, 247px); opacity: 1; } }
@keyframes av-laid {
  0%, 14% { transform: translate(300px, 236px) scale(.2); opacity: 0; }
  15% { transform: translate(300px, 238px) scale(1.15); opacity: 1; }
  16.2% { transform: translate(300px, 247px) scale(1); opacity: 1; animation-timing-function: linear; }
  89% { transform: translate(555px, 247px) scale(1); opacity: 1; }
  89.6%, 100% { transform: translate(555px, 247px) scale(1); opacity: 0; }
}
@keyframes av-sparkle { 0%, 14% { opacity: 0; transform: scale(.2) rotate(0); } 15.5% { opacity: 1; transform: scale(1.1) rotate(20deg); } 20%, 100% { opacity: 0; transform: scale(.6) rotate(45deg); } }
@keyframes av-note { 0%, 14% { opacity: 0; transform: translate(0, 0); } 17% { opacity: 1; } 27%, 100% { opacity: 0; transform: translate(12px, -38px); } }
@keyframes av-belt { to { stroke-dashoffset: -25; } }
@keyframes av-dash { to { stroke-dashoffset: -24; } }
@keyframes av-curtain { from { transform: skewX(-5deg); } to { transform: skewX(5deg); } }
.coop .egg-move { animation: egg-move 7s infinite; }
.coop .egg-spin { animation: egg-spin 7s infinite; }
.coop .sparkle { opacity: 0; animation: egg-sparkle 7s ease-out infinite; }
.coop .note { opacity: 0; animation: note-rise 7s ease-out infinite; }
.coop .note-2 { animation-delay: .35s; }
@keyframes coop-lamp { from { opacity: .6; } to { opacity: 1; } }
@keyframes coop-twinkle { from { opacity: .2; } to { opacity: 1; } }
@keyframes hen-walk {
  0% { transform: translate(90px, 366px) scaleX(1); }
  46% { transform: translate(520px, 366px) scaleX(1); }
  50% { transform: translate(520px, 366px) scaleX(-1); }
  96% { transform: translate(90px, 366px) scaleX(-1); }
  100% { transform: translate(90px, 366px) scaleX(1); }
}
@keyframes hen-bob { to { transform: translateY(-3px); } }
@keyframes hen-head-bob { to { transform: translateX(3px); } }
@keyframes hen-leg { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes hen-tilt { 0%, 34%, 72%, 100% { transform: rotate(0); } 42%, 64% { transform: rotate(14deg); } }
@keyframes hen-peck { 0%, 36%, 72%, 100% { transform: rotate(0); } 46%, 58% { transform: rotate(56deg); } 52%, 64% { transform: rotate(22deg); } }
@keyframes hen-jump {
  0%, 18% { transform: translate(0, 0) scale(1, 1); }
  22% { transform: translate(0, 0) scale(1.08, .86); }
  28% { transform: translate(0, -104px) scale(.95, 1.06); }
  34% { transform: translate(0, -72px) scale(1.07, .9); }
  38%, 66% { transform: translate(0, -72px) scale(1, 1); }
  70% { transform: translate(0, -72px) scale(1.07, .88); }
  76% { transform: translate(0, -98px) scale(.96, 1.05); }
  84% { transform: translate(0, 0) scale(1.08, .88); }
  88%, 100% { transform: translate(0, 0) scale(1, 1); }
}
@keyframes hen-flap-show { 0%, 21% { opacity: 0; } 23%, 34% { opacity: 1; } 36%, 69% { opacity: 0; } 71%, 84% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes hen-flap { from { transform: rotate(-26deg); } to { transform: rotate(16deg); } }
@keyframes hen-lay {
  0%, 30%, 44%, 100% { transform: translateY(0) rotate(0); }
  33% { transform: translateY(-7px) rotate(0); }
  35.5% { transform: translateY(-7px) rotate(-6deg); }
  38% { transform: translateY(-7px) rotate(6deg); }
  40.5% { transform: translateY(-6px) rotate(-3deg); }
}
@keyframes hen-breathe { to { transform: scale(1.02, 1.05); } }
@keyframes egg-move {
  0%, 41% { transform: translate(193px, 267px) scale(0); opacity: 0; }
  43% { transform: translate(193px, 267px) scale(1.25); opacity: 1; }
  46%, 50% { transform: translate(193px, 267px) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  71% { transform: translate(339px, 312px) scale(1); opacity: 1; animation-timing-function: ease-in; }
  77% { transform: translate(356px, 334px) scale(1); opacity: 1; }
  79%, 100% { transform: translate(356px, 334px) scale(1); opacity: 0; }
}
@keyframes egg-spin { 0%, 50% { transform: rotate(0); animation-timing-function: cubic-bezier(.5, 0, .9, .6); } 71%, 100% { transform: rotate(1080deg); } }
@keyframes egg-sparkle { 0%, 41% { opacity: 0; transform: scale(.2) rotate(0); } 44% { opacity: 1; transform: scale(1.1) rotate(20deg); } 50%, 100% { opacity: 0; transform: scale(.6) rotate(45deg); } }
@keyframes note-rise { 0%, 41% { opacity: 0; transform: translate(0, 0); } 45% { opacity: 1; } 62%, 100% { opacity: 0; transform: translate(14px, -48px); } }
.pd-note { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--od-7); margin-top: 16px; }
.pd-note svg { width: 16px; height: 16px; color: var(--gold-400); }
@media (max-width: 900px) {
  .pd-hero .container { grid-template-columns: 1fr; }
  .pd-stage { order: -1; min-height: 240px; }
  .pd-stage img { max-height: 280px; }
}

.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hl { padding: 28px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.hl:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hl .nutrient-badge { width: 76px; height: 76px; font-size: 1.2rem; }
.hl .nutrient-badge svg { width: 30px; height: 30px; }
.hl .nutrient-badge img { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #fff; }
.hl h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hl p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 1024px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hl-grid { grid-template-columns: 1fr; } .hl { display: grid; grid-template-columns: 64px 1fr; gap: 14px; text-align: left; align-items: center; padding: 18px; } .hl .nutrient-badge { width: 60px; height: 60px; margin: 0; font-size: 1rem; } }

.size-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.size-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.size-card .media { aspect-ratio: 16 / 9; position: relative; background: radial-gradient(circle at 50% 60%, #fff, var(--gold-100)); }
.size-card .media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.size-card .body { padding: 18px 22px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.size-card strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy-900); }
.size-card span { color: var(--gold-600); font-weight: 600; }
@media (max-width: 760px) { .size-cards { grid-template-columns: 1fr; } }

.farm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: fs; }
@media (max-width: 1100px) { .farm-steps { grid-template-columns: repeat(2, 1fr); } }
.farm-step { counter-increment: fs; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.farm-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.farm-step .body { padding: 20px 22px 24px; position: relative; }
.farm-step .body::before {
  content: counter(fs); position: absolute; top: -22px; left: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-300); font-family: var(--font-head); font-weight: 700; border: 3px solid var(--white);
}
.farm-step h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.farm-step p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .farm-steps { grid-template-columns: 1fr; } }

.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.other-grid .prod-media { aspect-ratio: 16 / 10; }
.other-grid .prod-body { padding: 16px 18px 20px; }
.other-grid .prod-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.other-grid .prod-body p { font-size: .86rem; margin-bottom: 10px; }
@media (max-width: 1024px) { .other-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .other-grid { grid-template-columns: 1fr; } }

.oem-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.oem-item { padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: var(--od-5); }
.oem-item h4 { color: var(--white); font-size: 1.08rem; margin-bottom: 6px; }
.oem-item p { margin: 0; font-size: .93rem; }
.oem-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 75, .15); color: var(--gold-400); margin-bottom: 14px; }
.oem-item .ic svg { width: 22px; height: 22px; }
@media (max-width: 800px) { .oem-band { grid-template-columns: 1fr; } }

/* =========================================================
   Products page — feed
   ========================================================= */
.feed-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; margin-bottom: 44px; }
.feed-banner { border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.feed-banner img { width: 100%; height: 100%; object-fit: cover; }
.feed-banner .label { position: absolute; left: 18px; bottom: 18px; background: rgba(var(--base-rgb), .88); color: var(--gold-300); padding: 10px 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; }
.feed-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.feed-filters button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-family: inherit; font-size: .92rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s;
}
.feed-filters button:hover { border-color: var(--gold-400); color: var(--navy-900); }
.feed-filters button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-300); }
.feed-filters .count { font-size: .75rem; background: var(--cream); color: var(--muted); border-radius: 999px; padding: 1px 8px; }
.feed-filters button[aria-pressed="true"] .count { background: rgba(255, 255, 255, .12); color: var(--gold-300); }
.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.feed-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; font-family: inherit; padding: 0; color: inherit;
}
.feed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feed-card[hidden] { display: none; }
.feed-card .media { background: #fff; aspect-ratio: 1; border-bottom: 1px solid var(--line); position: relative; display: block; }
.feed-card .media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; transition: transform .45s var(--ease); }
.feed-card .media .chip { z-index: 1; }
.feed-card:hover .media img { transform: scale(1.06) rotate(-1deg); }
.feed-card .media .chip { position: absolute; top: 12px; left: 12px; }
.feed-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.feed-card .code { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy-900); }
.feed-card .for { font-size: .9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.feed-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .82rem; }
.protein { display: inline-flex; align-items: baseline; gap: 4px; color: var(--gold-600); font-weight: 700; }
.protein b { font-size: 1.1rem; font-family: var(--font-head); }
.feed-card .more { color: var(--navy-700); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.feed-card .more svg { width: 14px; height: 14px; }
.feed-contact { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 30px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid var(--gold-300); }
.feed-contact strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.15rem; }
.feed-contact p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .feed-intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feed-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .feed-card .body { padding: 12px; } .feed-card .code { font-size: 1.05rem; } .feed-card .for { font-size: .82rem; } .feed-card .more { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: all .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(var(--deep-rgb), .7); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); transition: transform .3s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-media { background: #fff; display: grid; grid-template-rows: 1fr auto; gap: 12px; padding: 24px; }
.modal-media .main { display: grid; place-items: center; min-height: 300px; }
.modal-media .main img { max-height: 380px; width: auto; object-fit: contain; }
.modal-media .tex { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; }
.modal-media .tex img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 36px 32px; }
.modal-body h3 { font-size: 2rem; margin: 8px 0 4px; }
.modal-body .type { color: var(--gold-600); font-weight: 600; }
.modal-body dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 22px 0; padding: 18px 0; border-block: 1px dashed var(--line); font-size: .95rem; }
.modal-body dt { color: var(--muted); }
.modal-body dd { margin: 0; color: var(--navy-900); font-weight: 500; }
.modal-body ul { padding-left: 1.1em; color: #3F4958; font-size: .95rem; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy-800); color: var(--white); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal-close svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .modal-dialog { grid-template-columns: 1fr; } .modal-media .main { min-height: 220px; } .modal-media .main img { max-height: 260px; } .modal-body { padding: 24px 22px; } }

/* =========================================================
   History page
   ========================================================= */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.intro-grid .lead-quote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.3vw, 1.7rem); color: var(--navy-900); line-height: 1.5; border-left: 3px solid var(--gold-500); padding-left: 22px; margin: 0 0 24px; }
.intro-grid p { color: #3F4958; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.mosaic img:first-child { grid-row: span 2; border-radius: 120px 16px 16px 16px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .mosaic { max-width: 520px; } }

/* ---------- Winding timeline ---------- */
.tl-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); max-width: 860px; margin: 0 auto clamp(40px, 6vw, 70px); }
.tl-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 12vw, 9rem); line-height: .85; color: var(--gold-600); letter-spacing: -.02em; flex: none; }
.tl-big span { color: var(--navy-700); font-size: .5em; vertical-align: top; margin-left: 2px; }
.tl-head .section-title { margin-bottom: 6px; }
.tl-head .section-lead { margin: 0; }
.snake { position: relative; --r: 56px; --line: 3px; }
.snake-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.snake-path path { fill: none; stroke-width: var(--line); stroke-linecap: round; }
.snake-list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 var(--r); display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 18px; row-gap: 64px; }
.snake-item { --c: var(--gold-600); display: flex; flex-direction: column; align-items: center; text-align: center; }
.snake-icon { width: 58px; height: 58px; color: var(--c); margin-bottom: 12px; transition: transform .35s var(--ease); }
.snake-icon svg { width: 100%; height: 100%; }
.snake-item:hover .snake-icon { transform: translateY(-4px) scale(1.05); }
.snake-item h3 { color: var(--c); font-size: 1.1rem; margin: 0 0 6px; }
.snake-item p { font-size: .88rem; line-height: 1.55; color: var(--muted); margin: 0 auto 16px; max-width: 24ch; }
.snake-node { margin-top: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 5px solid var(--c); box-shadow: 0 0 0 5px var(--cream); flex: none; }
.snake-item.is-key .snake-node { background: var(--c); box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--c); }
.snake-year { margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy-900); font-variant-numeric: tabular-nums; line-height: 1.25; }
.snake-year small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.snake-end { display: none; align-items: center; gap: 16px; align-self: center; justify-self: start; padding: 18px 24px 18px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.snake.is-snake .snake-end.is-shown { display: flex; }
.snake-end img { width: 64px; height: 64px; border-radius: 50%; }
.snake-end strong { display: block; font-family: var(--font-head); color: var(--navy-900); letter-spacing: .08em; }
.snake-end span { font-size: .9rem; color: var(--muted); }
.snake.is-drawing .snake-path path { animation: snake-draw 1.1s var(--ease) both; animation-delay: calc(var(--i) * .45s); }
@keyframes snake-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) { .snake { --r: 40px; } .snake-list { column-gap: 12px; } .snake-item p { font-size: .84rem; } }
/* phones: straight vertical line */
.snake.is-vertical .snake-list { grid-template-columns: 1fr; padding: 0 0 0 46px; row-gap: 22px; }
.snake.is-vertical .snake-list::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: var(--line); border-radius: 3px; background: linear-gradient(var(--gold-600), var(--navy-600) 40%, var(--tl-3) 75%, var(--gold-500)); }
.snake.is-vertical .snake-item { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; text-align: left; align-items: start; position: relative; }
.snake.is-vertical .snake-icon { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; }
.snake.is-vertical .snake-year { grid-column: 2; grid-row: 1; margin: 0; font-size: 1rem; }
.snake.is-vertical .snake-year small { display: inline; margin-left: 6px; }
.snake.is-vertical .snake-item h3 { grid-column: 2; grid-row: 2; margin: 2px 0; font-size: 1.02rem; }
.snake.is-vertical .snake-item p { grid-column: 2; grid-row: 3; margin: 0; max-width: none; }
.snake.is-vertical .snake-node { position: absolute; left: -40px; top: 4px; width: 20px; height: 20px; border-width: 4px; margin: 0; }
.snake.is-vertical .snake-path, .snake.is-vertical .snake-end { display: none; }
@media (max-width: 560px) { .tl-head { flex-direction: column; align-items: flex-start; gap: 6px; } }

.group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.group-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.group-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.group-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.group-card .body { padding: 20px 22px 24px; }
.group-card .en { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.group-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.group-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 1024px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .group-grid { grid-template-columns: 1fr; } }

.heritage { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.heritage-pages { display: flex; gap: 0; justify-content: center; position: relative; height: clamp(280px, 32vw, 400px); }
.heritage-pages img { position: absolute; height: 100%; width: auto; border-radius: 6px; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); background: #fff; }
.heritage-pages img:nth-child(1) { transform: translateX(-28%) rotate(-7deg); }
.heritage-pages img:nth-child(2) { transform: translateX(28%) rotate(6deg); }
.heritage-pages img:nth-child(3) { transform: translateY(-2%); z-index: 2; }
.heritage-pages:hover img:nth-child(1) { transform: translateX(-36%) rotate(-9deg); }
.heritage-pages:hover img:nth-child(2) { transform: translateX(36%) rotate(8deg); }
.sepia { filter: sepia(.25) saturate(.9); }
@media (max-width: 900px) { .heritage { grid-template-columns: 1fr; } }
/* heritage portrait: a vintage print with photo corners */
.heritage-photo { position: relative; width: min(100%, 540px); margin: 0 auto; padding: 14px 14px 12px; background: #FFFDF6; border-radius: 3px; box-shadow: var(--shadow-lg); transform: rotate(-2.2deg); transition: transform .5s var(--ease); }
.heritage-photo:hover { transform: rotate(0); }
.heritage-photo img { display: block; width: 100%; height: auto; border-radius: 1px; }
.heritage-photo figcaption { margin-top: 10px; text-align: center; font-family: var(--font-head); font-size: .95rem; color: var(--navy-800); letter-spacing: .02em; }
.heritage-photo::before, .heritage-photo::after { content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid var(--gold-400); opacity: .9; }
.heritage-photo::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.heritage-photo::after { right: 6px; bottom: 44px; border-left: 0; border-top: 0; }


/* =========================================================
   About page
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 28px 24px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--gold-500); box-shadow: var(--shadow-sm); }
.pillar .n { font-family: var(--font-head); color: var(--gold-500); font-size: 2rem; font-weight: 700; line-height: 1; }
.pillar h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

.qc-flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; counter-reset: qc; position: relative; }
.qc-flow::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--gold-300), var(--gold-600)); }
.qc-step { text-align: center; counter-increment: qc; position: relative; }
.qc-step::before {
  content: counter(qc); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px;
  background: var(--navy-800); color: var(--gold-300); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; position: relative; border: 4px solid var(--cream);
}
.qc-step p { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }
.qc-step strong { display: block; color: var(--navy-900); font-size: .95rem; margin-bottom: 4px; }
@media (max-width: 1024px) {
  .qc-flow { grid-template-columns: 1fr; gap: 16px; max-width: 560px; }
  .qc-flow::before { top: 20px; bottom: 20px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--gold-300), var(--gold-600)); }
  .qc-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: center; }
  .qc-step::before { margin: 0; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.cap { padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.cap strong { display: block; color: var(--navy-900); margin-bottom: 4px; font-size: .98rem; }
.cap span { font-size: .88rem; color: var(--muted); line-height: 1.55; display: block; }
@media (max-width: 560px) { .cap-list { grid-template-columns: 1fr; } }


.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.activity { background: var(--white); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.activity-photo {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(45deg, rgba(201, 162, 75, .06) 0 12px, transparent 12px 24px), linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--gold-300);
}
.activity-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.activity-photo .ph { text-align: center; }
.activity-photo .ph svg { display: block; width: 64px; height: 64px; margin: 0 auto 10px; opacity: .9; }
.activity-photo .ph span { font-size: .85rem; color: var(--od-7); }
.activity .body { padding: 26px 28px 30px; }
.activity h3 { font-size: 1.3rem; }
.activity p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .activity-grid { grid-template-columns: 1fr; } }

.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(234, 212, 158, .18); transition: border-color .3s, background .3s; }
.job:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .08); }
.job .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 75, .15); color: var(--gold-400); }
.job .ic svg { width: 24px; height: 24px; }
.job h3 { font-size: 1.05rem; margin: 0 0 4px; }
.job p { margin: 0; font-size: .9rem; color: var(--od-6); }
.perks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--od-3); }
.perks li svg { width: 20px; height: 20px; color: var(--gold-400); flex: none; margin-top: 4px; }
@media (max-width: 700px) { .jobs { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.contact-card { padding: 32px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.contact-card h3 { font-size: 1.25rem; }
.contact-card .contact-line { margin-bottom: 16px; color: #3F4958; }
.contact-card .contact-line svg { color: var(--gold-600); }
.contact-card .contact-line a { color: var(--navy-800); font-weight: 600; }
.contact-card hr { border: 0; border-top: 1px dashed var(--line); margin: 22px 0; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map--link {
  position: relative; display: grid; place-items: center; text-align: center; color: var(--navy-900);
  background: linear-gradient(0deg, rgba(201, 162, 75, .12) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(201, 162, 75, .12) 1px, transparent 1px) 0 0 / 34px 34px, var(--gold-100);
  transition: box-shadow .3s var(--ease);
}
.map--link:hover { box-shadow: var(--shadow); }
.map--link .pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy-800); display: grid; place-items: center; margin: 0 auto 22px; box-shadow: var(--shadow); }
.map--link .pin svg { width: 26px; height: 26px; color: var(--gold-300); transform: rotate(45deg); }
.map--link strong { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.map--link span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Reveal animation
   ========================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.reveal.is-in { animation: rise .8s var(--ease) var(--d, 0s) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* the Cage-Free hen scene keeps playing: the site owner wants it animated on every device */
  *:not(.coop):not(.coop *):not(.cyc-flow), *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Activity card link + article page
   ========================================================= */
.activity--link { color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.activity--link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.activity--link .activity-photo img { transition: transform .6s var(--ease); }
.activity--link:hover .activity-photo img { transform: scale(1.04); }
.activity--link .body { display: flex; flex-direction: column; gap: 0; flex: 1; }
.activity--link .link-arrow { margin-top: 18px; }
.activity-latest { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.activity-latest small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: 2px; }
.activity-latest strong { color: var(--navy-900); font-size: .95rem; line-height: 1.5; font-weight: 600; }

.article-hero h1 { max-width: 820px; }
.article { padding-top: clamp(40px, 6vw, 70px); }
.lb-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.lb-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lb-trigger:hover img { transform: scale(1.03); }
.article-cover { max-width: 1000px; margin: 0 auto clamp(36px, 5vw, 56px); }
.article-cover .lb-trigger { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.article figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; text-align: center; }
.article-body { max-width: 68ch; margin: 0 auto; }
.article-body p { font-size: 1.06rem; line-height: 1.95; color: #2F3A4A; }
.article-lead { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.35rem) !important; line-height: 1.75 !important; color: var(--navy-900) !important; }
.article-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0; }
.article-pair .lb-trigger { border-radius: 16px; aspect-ratio: 4 / 3; }
.article-pair figcaption { grid-column: 1 / -1; margin-top: 0; }
.article-quote { margin: 34px 0; padding: 22px 26px; border-left: 3px solid var(--gold-500); background: var(--gold-100); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.7; color: var(--navy-900); }
.article-gallery-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; max-width: 1000px; margin: clamp(48px, 7vw, 80px) auto 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-gallery-head span { color: var(--muted); font-size: .9rem; }
.article-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1000px; margin: 0 auto; }
.article-gallery .lb-trigger { aspect-ratio: 4 / 3; border-radius: 14px; }
.article-back { text-align: center; margin-top: 44px; }
@media (max-width: 700px) { .article-gallery { grid-template-columns: 1fr 1fr; } .article-pair { grid-template-columns: 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(var(--deep-rgb), .92); display: grid; place-items: center; padding: 56px 16px 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: var(--od-3); margin-top: 14px; font-size: .95rem; }
.lightbox-close { position: absolute; top: calc(14px + var(--safe-top)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox-close svg { width: 20px; height: 20px; }
.nw { white-space: nowrap; }

/* upcoming milestone */
.upcoming-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: var(--navy-800); color: var(--gold-300); font-size: .74rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(var(--base-rgb), .5); animation: badge-pop 2.8s var(--ease) infinite; }
.upcoming-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 0 rgba(218, 186, 108, .7); animation: dot-pulse 1.8s ease-out infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(218, 186, 108, .7); } 100% { box-shadow: 0 0 0 9px rgba(218, 186, 108, 0); } }
@keyframes badge-pop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-4px); } 90% { transform: translateY(0); } }
.snake-item.is-upcoming .snake-node { border-style: dashed; background: var(--cream); animation: node-ring 2s ease-out infinite; }
@keyframes node-ring { 0% { box-shadow: 0 0 0 5px var(--cream), 0 0 0 5px rgba(201, 162, 75, .5); } 100% { box-shadow: 0 0 0 5px var(--cream), 0 0 0 16px rgba(201, 162, 75, 0); } }
.snake-item.is-upcoming .snake-icon, .snake-item.is-upcoming h3 { opacity: .9; }
.snake-item.is-upcoming .snake-year { color: var(--gold-600); }
.snake.is-drawing .snake-path path.is-dashed { animation: snake-fade .6s ease both; animation-delay: calc(var(--i) * .45s + .9s); }
@keyframes snake-fade { from { opacity: 0; } to { opacity: 1; } }
.snake.is-vertical .upcoming-badge { grid-column: 2; grid-row: 4; justify-self: start; margin: 8px 0 0; }
.snake.is-vertical .snake-item.is-upcoming .snake-node { top: 4px; }
.snake-end { flex-direction: column; text-align: center; gap: 10px; padding: 20px 18px; justify-self: stretch; max-width: 260px; }
.snake-end strong { white-space: nowrap; }
.nav-dd-menu { min-width: 270px; }
.nav-dd-menu a { white-space: nowrap; }
@media (max-width: 980px) { .nav-dd-menu { min-width: 0; } .nav-dd-menu a { white-space: normal; } }

/* =========================================================
   LINE Official Account — floating button + pop-up
   ========================================================= */
:root { --line-green: #06C755; --line-green-dark: #05A546; }
.line-ink { fill: var(--line-green); }
.line-widget { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.line-fab {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line-green); color: #fff; font-family: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  box-shadow: 0 14px 30px -10px rgba(6, 199, 85, .7), 0 4px 12px rgba(0, 0, 0, .15); transition: transform .25s var(--ease), background .25s;
  position: relative;
}
.line-fab svg { width: 30px; height: 30px; }
.line-fab:hover { transform: translateY(-3px); background: var(--line-green-dark); }
.line-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(6, 199, 85, .55); animation: fab-pulse 2.6s ease-out infinite; pointer-events: none; }
.line-fab[aria-expanded="true"]::before { animation: none; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(6, 199, 85, 0); } }
.line-panel {
  width: min(320px, calc(100vw - 40px)); background: var(--white); border-radius: 22px; padding: 22px; position: relative;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform-origin: bottom right; animation: panel-in .3s var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.line-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--cream); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.line-close svg { width: 16px; height: 16px; }
.line-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 30px; }
.line-mark { width: 46px; height: 46px; border-radius: 14px; background: var(--line-green); color: #fff; display: grid; place-items: center; flex: none; }
.line-mark svg { width: 32px; height: 32px; }
.line-head strong { display: block; color: var(--navy-900); font-family: var(--font-head); font-size: 1.1rem; line-height: 1.2; }
.line-head small { color: var(--muted); font-size: .82rem; }
.line-panel p { font-size: .92rem; color: #3F4958; line-height: 1.6; margin-bottom: 14px; }
.line-qr-wrap { text-align: center; padding: 14px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); margin-bottom: 14px; }
.line-qr { width: 150px; height: 150px; margin: 0 auto 6px; }
.line-qr-wrap small { color: var(--muted); font-size: .8rem; }
.line-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 18px; border-radius: 999px;
  background: var(--line-green); color: #fff; font-weight: 700; transition: background .2s, transform .2s;
}
.line-btn:hover { background: var(--line-green-dark); transform: translateY(-2px); }
.line-btn svg { width: 24px; height: 24px; flex: none; }
.line-btn--inline { display: inline-flex; width: auto; }
.line-teaser {
  display: flex; align-items: center; gap: 4px; max-width: min(300px, calc(100vw - 40px)); padding: 6px 6px 6px 16px; border-radius: 16px 16px 4px 16px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); animation: panel-in .35s var(--ease);
}
.line-teaser[hidden], .line-panel[hidden] { display: none; }
.line-teaser-open { border: 0; background: none; font-family: inherit; font-size: .9rem; color: #3F4958; text-align: left; cursor: pointer; padding: 4px 0; line-height: 1.45; }
.line-teaser-open strong { display: block; color: var(--line-green-dark); }
.line-teaser-close { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--cream); color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; align-self: flex-start; }
.line-teaser-close svg { width: 14px; height: 14px; }
.line-contact svg { color: var(--line-green); }
.line-contact .line-ink { fill: var(--navy-950); }
.contact-line-box { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; margin-bottom: 8px; }
.contact-line-box img { width: 110px; height: 110px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.contact-line-box p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.cta-band .line-btn--inline { padding: 12px 22px; }
@media (max-width: 560px) {
  .line-qr { width: 128px; height: 128px; }
  .line-qr-wrap { padding: 10px; margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .line-widget { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .line-fab span { display: none; }
  .line-fab { padding: 10px; }
  .contact-line-box { grid-template-columns: 96px 1fr; gap: 14px; }
  .contact-line-box img { width: 96px; height: 96px; }
}
.contact-card .line-contact svg { color: var(--line-green); }
.contact-card .line-contact .line-ink { fill: #fff; }
.line-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); transition: border-color .2s; }
.line-alt strong { color: var(--line-green-dark); white-space: nowrap; }
.line-alt:hover { border-color: var(--line-green); }
.feed-contact .line-btn--inline, .modal-body .line-btn--inline { padding: 13px 22px; }
/* Facebook page — round button beside LINE + pop-up (reuses the LINE panel shell) */
:root { --fb-blue: #1877F2; --fb-blue-dark: #0E5FD8; }
.fab-row { display: flex; align-items: center; gap: 10px; }
.fb-fab {
  width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none;
  background: var(--fb-blue); color: #fff; box-shadow: 0 14px 30px -10px rgba(24, 119, 242, .7), 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease), background .25s;
}
.fb-fab svg { width: 28px; height: 28px; }
.fb-fab:hover, .fb-fab[aria-expanded="true"] { transform: translateY(-3px); background: var(--fb-blue-dark); }
.fb-panel { transform-origin: bottom right; }
.fb-mark { background: var(--fb-blue); }
.fb-mark svg { width: 30px; height: 30px; }
.fb-cover { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.fb-cover img { width: 150px; height: auto; display: block; }
.fb-cover span { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
.line-btn.fb-btn { background: var(--fb-blue); }
.line-btn.fb-btn:hover { background: var(--fb-blue-dark); }
.fb-contact svg, .contact-card .fb-contact svg, .site-footer .fb-contact svg { color: var(--fb-blue); }
.fb-contact .fb-ink { fill: #fff; }
@media (max-width: 560px) {
  .fab-row { gap: 8px; }
}
/* static map (used where map iframes can't embed) */
.map--static { position: relative; min-height: 380px; background: #F2EFE9; }
.map-hit { position: absolute; inset: 0; display: block; }
.map-hit img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.map-hit:hover img { transform: scale(1.03); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 44px; height: 57px; transform: translate(-50%, -100%); filter: drop-shadow(0 8px 10px rgba(var(--base-rgb), .35)); animation: pin-drop .7s var(--ease) both; }
.map-pin svg { width: 100%; height: 100%; }
@keyframes pin-drop { from { transform: translate(-50%, -160%); opacity: 0; } to { transform: translate(-50%, -100%); opacity: 1; } }
.map-chip { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.map-chip strong { color: var(--navy-900); font-family: var(--font-head); font-size: 1rem; }
.map-chip span { color: var(--navy-700); font-weight: 600; font-size: .88rem; }
.map-attr { position: absolute; right: 8px; bottom: 6px; font-size: .68rem; color: #555; background: rgba(255, 255, 255, .8); padding: 1px 6px; border-radius: 4px; }

/* =========================================================
   Group locations map ("อาณาจักร A&P Group")
   ========================================================= */
.group-map { margin-bottom: 28px; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.group-map-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 30px; padding: 22px 26px 18px; }
.group-map-head .eyebrow { margin-bottom: 6px; }
.group-map-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0; }
.group-map-head p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 46ch; }
.group-map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.group-map-canvas { position: relative; aspect-ratio: 1400 / 800; min-width: 720px; }
.group-map-canvas > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.site-pin .pin-head {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; transform: translate(-50%, -100%) translateY(-6px);
  display: grid; place-items: center; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--c); border: 3px solid #fff;
  box-shadow: 0 8px 16px -4px rgba(var(--base-rgb), .45); color: #fff; font-weight: 700; font-family: var(--font-head); font-size: .95rem; transition: scale .25s var(--ease);
}
.site-pin .pin-head { rotate: none; border-radius: 50%; }
.site-pin .pin-head::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 0; height: 0; transform: translateX(-50%); border: 6px solid transparent; border-top: 8px solid #fff; }
.site-pin::before { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.site-pin.is-hq .pin-head { width: 42px; height: 42px; font-size: 1.05rem; }
.site-pin.is-hq::after { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%); animation: hq-ring 2.2s ease-out infinite; }
@keyframes hq-ring { from { box-shadow: 0 0 0 0 rgba(176, 138, 54, .55); } to { box-shadow: 0 0 0 22px rgba(176, 138, 54, 0); } }
.site-pin:hover .pin-head, .site-pin:focus-visible .pin-head { scale: 1.12; }
.pin-label {
  position: absolute; top: 0; white-space: nowrap; display: flex; flex-direction: column; padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .96); border-left: 3px solid var(--c); box-shadow: 0 8px 20px -8px rgba(var(--base-rgb), .35); line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.pin-label strong { color: var(--navy-900); font-size: .88rem; }
.pin-label small { color: var(--muted); font-size: .74rem; }
.site-pin:hover .pin-label { box-shadow: 0 12px 26px -8px rgba(var(--base-rgb), .45); }
.site-pin[data-side="r"] .pin-label { left: 26px; transform: translateY(-50%) translateY(-24px); }
.site-pin[data-side="l"] .pin-label { right: 26px; transform: translateY(-50%) translateY(-24px); }
.site-pin[data-side="tr"] .pin-label { left: 26px; transform: translateY(-100%) translateY(-34px); }
.site-pin[data-side="br"] .pin-label { left: 30px; transform: translateY(-14px); }
.group-map-canvas .map-attr { z-index: 3; }
.site-list { display: flex; flex-direction: column; gap: 12px; }
.site-list-title { font-size: 1.1rem; margin: 4px 0 2px; }
.site-card {
  display: grid; grid-template-columns: 40px 1fr 20px; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--c); transition: transform .25s var(--ease), box-shadow .25s;
}
.site-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.site-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 700; }
.site-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.site-text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); font-weight: 700; }
.site-text strong { color: var(--navy-900); font-size: .98rem; }
.site-text span { color: var(--muted); font-size: .86rem; }
.site-go { color: var(--navy-700); }
.site-go svg { width: 18px; height: 18px; }

/* =========================================================
   Cart + order via LINE
   ========================================================= */
.cart-btn {
  position: relative; order: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s, border-color .2s;
}
.cart-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-300); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-500);
  color: var(--navy-950); font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--navy-900);
}
.site-header .nav { order: 2; }
.site-header .brand { order: 1; margin-right: auto; }
.site-header .nav-toggle { order: 4; }
@media (max-width: 980px) { .site-header .container { gap: 10px; } }

.order-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--gold-400); background: rgba(255, 255, 255, .06); overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; color: inherit; font-size: 1.3rem; cursor: pointer; font-family: inherit; }
.qty button:hover { background: rgba(201, 162, 75, .15); }
.qty input { width: 56px; height: 46px; border: 0; background: transparent; color: inherit; text-align: center; font: 600 1.05rem var(--font-body); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-hero .qty { color: #fff; }
.qty-unit { font-size: .9rem; color: var(--od-5); margin-left: -4px; }
.modal-body .order-box { margin-top: 6px; }
.modal-body .qty { color: var(--navy-900); border-color: var(--line); background: var(--white); }
.modal-body .qty-unit { color: var(--muted); }
.order-alt { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.order-alt a { color: var(--navy-800); font-weight: 600; }

.cart { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.cart.is-open { visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(var(--deep-rgb), .55); opacity: 0; transition: opacity .3s; }
.cart.is-open .cart-backdrop { opacity: 1; }
.cart-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s var(--ease);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--white); }
.cart-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0; }
.cart-head h2 svg { width: 22px; height: 22px; color: var(--gold-600); }
.cart-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cart-close svg { width: 18px; height: 18px; }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty[hidden] { display: none; }
.cart-group { margin-bottom: 18px; }
.cart-group h3 { font-size: .95rem; margin: 0 0 8px; color: var(--gold-600); }
.cart-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.ci-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.ci-text strong { color: var(--navy-900); font-size: .95rem; }
.ci-text small { color: var(--muted); font-size: .8rem; }
.qty--sm { border-color: var(--line); background: var(--cream); color: var(--navy-900); }
.qty--sm button { width: 32px; height: 34px; font-size: 1.1rem; }
.qty--sm span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.ci-remove { border: 0; background: none; color: #B24A3A; font-family: inherit; font-size: .85rem; cursor: pointer; padding: 6px; }
.cart-form { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cart-form[hidden] { display: none; }
.cart-form h3 { font-size: 1rem; margin: 0 0 4px; }
.cart-form label { font-size: .86rem; color: var(--navy-800); font-weight: 500; margin-top: 6px; }
.cart-form label b { color: #B24A3A; }
.cart-form input:not([type="radio"]), .cart-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: .95rem; color: var(--ink);
}
.cart-form input:focus, .cart-form textarea:focus { outline: 2px solid var(--gold-400); outline-offset: 0; border-color: var(--gold-400); }
.cf-ship { border: 0; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cf-ship legend { font-size: .86rem; color: var(--navy-800); font-weight: 500; margin-bottom: 6px; }
.cf-ship label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; color: var(--ink); }
#cf-addr-wrap { display: grid; gap: 6px; }
#cf-addr-wrap[hidden] { display: none; }
.cf-error { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBEAE6; color: #9A3A2C; font-size: .88rem; }
.cart-foot { padding: 14px 22px 20px; border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 10px; }
.cart-foot[hidden] { display: none; }
.cart-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
#cart-actions { display: grid; gap: 10px; }
.cart-sent { padding: 12px 14px; border-radius: 12px; background: #E9F8EF; border: 1px solid #BFE8CF; font-size: .88rem; color: #1D5A36; }
.cart-sent p { margin: 0 0 6px; }
.cart-sent-alt { color: #3F6E52; font-size: .8rem; }
.cart-sent .btn { padding: 8px 16px; font-size: .85rem; margin-top: 4px; }
.cart-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 240;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; border-radius: 14px;
  background: var(--navy-900); color: var(--od-1); box-shadow: var(--shadow-lg); font-size: .9rem; animation: panel-in .3s var(--ease);
}
.cart-toast[hidden] { display: none; }
.cart-toast button { border: 0; border-radius: 999px; background: var(--gold-500); color: var(--navy-950); font: 700 .85rem var(--font-body); padding: 8px 14px; cursor: pointer; white-space: nowrap; }
@media (max-width: 560px) { .cart-toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Order page ---------- */
.section.order-page { padding-top: clamp(28px, 4vw, 44px); }
.order-steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: none; }
.order-steps li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 500; color: var(--navy-900); }
.order-steps span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); font-family: var(--font-head); font-weight: 700; flex: none; }
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.order-cat { font-size: 1.3rem; margin: 6px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.order-cat small { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-list .order-cat:not(:first-child) { margin-top: 22px; }
.order-row {
  display: grid; grid-template-columns: 120px 1fr auto 44px; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 18px;
  background: var(--white); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.order-row.is-picked { border-color: var(--gold-400); box-shadow: 0 10px 24px -14px rgba(176, 138, 54, .6); }
.or-media { display: block; aspect-ratio: 16 / 10; border-radius: 12px; background: radial-gradient(circle at 50% 60%, #fff, var(--gold-100)); position: relative; overflow: hidden; }
.or-media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.or-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.or-text strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.08rem; }
.or-text span { color: var(--muted); font-size: .88rem; }
.or-text small { color: var(--gold-600); font-size: .82rem; font-weight: 600; margin-top: 2px; }
.qty--order { color: var(--navy-900); border-color: var(--line); background: var(--cream); }
.order-row.is-picked .qty--order { border-color: var(--gold-400); background: var(--gold-100); }
.or-unit { color: var(--muted); font-size: .88rem; }
.order-summary { position: sticky; top: calc(var(--header-total) + 20px); padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.order-summary h2 { font-size: 1.2rem; margin: 0; }
.os-empty { margin: 0; color: var(--muted); font-size: .92rem; }
.os-empty[hidden] { display: none; }
.os-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.os-list li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: #3F4958; }
.os-list li b { color: var(--navy-900); white-space: nowrap; font-variant-numeric: tabular-nums; }
.os-list .os-cat { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-top: 4px; }
.os-total { padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--navy-900); font-size: .92rem; }
.os-total[hidden] { display: none; }
.order-summary .line-btn { border: 0; cursor: pointer; font-family: inherit; font-size: .98rem; }
.order-summary .line-btn:disabled { background: var(--od-5); cursor: not-allowed; transform: none; }
.os-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.order-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; padding: 22px 26px; border-radius: 20px; background: var(--navy-900); color: var(--od-3); }
.order-cta strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.15rem; }
.order-cta span { font-size: .92rem; }
@media (max-width: 980px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  .order-steps { grid-template-columns: 1fr; gap: 8px; }
  .order-row { grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; }
  .order-row .qty--order { grid-column: 2; justify-self: start; }
  .order-row .or-unit { grid-column: 2; margin-top: -8px; }
}
/* highlighted "สั่งซื้อ" menu item */
.nav > a.nav-order { border: 1.5px solid var(--gold-400); color: var(--gold-300); gap: 7px; }
.nav > a.nav-order svg { width: 17px; height: 17px; }
.nav > a.nav-order:hover, .nav > a.nav-order[aria-current="page"] { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
@media (max-width: 980px) {
  .nav > a.nav-order { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); justify-content: flex-start; }
  .nav > a.nav-order[aria-current="page"] { background: transparent; color: var(--gold-300); }
}
.hero-actions .btn svg[style] { width: 20px; height: 20px; }

/* =========================================================
   Hero product showcase (orderly grid)
   ========================================================= */
.hero-showcase { display: grid; gap: 14px; }
.hs-feature {
  position: relative; display: grid; grid-template-columns: 1fr; border-radius: 24px; overflow: hidden; color: var(--od-1);
  background: radial-gradient(420px 220px at 50% 38%, rgba(234, 212, 158, .28), transparent 70%), linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(234, 212, 158, .28); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.hs-feature:hover { border-color: var(--gold-400); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.hs-feature-media { display: block; padding: 46px 34px 6px; }
.hs-feature-media img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.hs-feature:hover .hs-feature-media img { transform: scale(1.03); }
.hs-feature-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 26px 22px; }
.hs-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.hs-feature-body strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); line-height: 1.2; }
.hs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hs-tags em { font-style: normal; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(201, 162, 75, .16); color: var(--gold-300); border: 1px solid rgba(201, 162, 75, .3); }
.hs-go { position: absolute; right: 20px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-950); transition: transform .3s var(--ease); }
.hs-go svg { width: 18px; height: 18px; }
.hs-feature:hover .hs-go { transform: translateX(4px); }
.hs-cert {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .95); color: var(--navy-900); font-size: .74rem; line-height: 1.3; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.hs-cert img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; }
.hs-cert strong { display: block; font-size: .8rem; }
.hs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hs-card {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 14px; border-radius: 18px; text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(234, 212, 158, .18); transition: border-color .25s, transform .3s var(--ease), background .25s;
}
.hs-card:hover { border-color: var(--gold-400); background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.hs-media { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 12px; background: radial-gradient(circle at 50% 55%, rgba(234, 212, 158, .22), transparent 70%); }
.hs-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.hs-card strong { color: var(--white); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.hs-card small { color: var(--od-7); font-size: .74rem; }
@media (max-width: 900px) { .hero-showcase { max-width: 560px; width: 100%; margin: 24px auto 0; } }
@media (max-width: 520px) {
  .hs-row { grid-template-columns: repeat(2, 1fr); }
  .hs-feature-media { padding: 50px 18px 4px; }
  .hs-cert { font-size: .68rem; }
}
/* even the small showcase cards */
.hs-media { position: relative; display: block; aspect-ratio: 5 / 4; }
.hs-media img { position: absolute; inset: 10%; width: 80%; height: 80%; max-width: none; max-height: none; object-fit: contain; }
.hs-card strong { white-space: nowrap; font-size: .86rem; }
.hs-card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   Hero variant A — product spotlight (auto-rotating)
   ========================================================= */
.hero-spot { display: grid; gap: 14px; }
.spot-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; border: 1px solid rgba(234, 212, 158, .25);
  background: radial-gradient(60% 55% at 50% 45%, rgba(234, 212, 158, .30), transparent 70%), linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .01)); }
.spot-halo { position: absolute; left: 50%; top: 44%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(234, 212, 158, .25); animation: spin 90s linear infinite; }
.spot-halo::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid rgba(234, 212, 158, .18); }
.spot-slide { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.spot-slide.is-active { opacity: 1; visibility: visible; }
.spot-img { position: relative; display: block; margin: 58px 34px 0; }
.spot-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .55));
  transform: translateY(18px) scale(.94); transition: transform .8s var(--ease); }
.spot-slide.is-active .spot-img img { transform: none; }
.spot-img--tall { margin: 50px 34px 0; }
.spot-cap { display: flex; flex-direction: column; gap: 2px; padding: 12px 84px 24px 28px; }
.spot-cap small { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.spot-cap strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); line-height: 1.25; }
.spot-cap span { color: var(--od-5); font-size: .9rem; }
.spot-go { position: absolute; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-950); pointer-events: none; }
.spot-go svg { width: 20px; height: 20px; }
.spot-stage .hs-cert { z-index: 2; }
.spot-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.spot-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 6px 10px; border-radius: 14px; cursor: pointer; font-family: inherit;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(234, 212, 158, .16); color: var(--od-7); transition: all .25s var(--ease); }
.spot-tabs button:hover { background: rgba(255, 255, 255, .08); color: var(--od-1); }
.spot-tabs button[aria-selected="true"] { background: rgba(201, 162, 75, .16); border-color: var(--gold-400); color: var(--white); }
.spot-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 9px; background: var(--tc); overflow: hidden; }
.spot-thumb img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.spot-tlabel { font-size: .74rem; font-weight: 600; white-space: nowrap; }
.spot-progress { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.spot-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); }
.hero-spot.is-playing .spot-progress i { animation: spot-bar var(--spot-ms, 4500ms) linear forwards; }
@keyframes spot-bar { to { width: 100%; } }
@media (max-width: 900px) { .hero-spot { max-width: 560px; width: 100%; margin: 24px auto 0; } }
@media (max-width: 520px) { .spot-tlabel { font-size: .66rem; } .spot-cap strong { font-size: 1.25rem; } .spot-img { margin: 56px 18px 0; } }

/* =========================================================
   Hero variant B — bento tiles in brand colours
   ========================================================= */
.hero-bento { position: relative; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 12px; aspect-ratio: 1.05 / 1; }
.bento-tile { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--bc); color: var(--navy-950);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .35s var(--ease), box-shadow .35s; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 22px 40px -22px rgba(0, 0, 0, .7); }
.bento-img { position: relative; flex: 1; margin: 12px 12px 0; }
.bento-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(var(--base-rgb), .28)); transition: transform .5s var(--ease); }
.bento-tile:hover .bento-img img { transform: scale(1.04) rotate(-1deg); }
.bento-cap { display: flex; flex-direction: column; padding: 8px 14px 14px; line-height: 1.25; }
.bento-cap strong { font-family: var(--font-head); font-size: 1rem; }
.bento-cap small { font-size: .74rem; font-weight: 600; opacity: .7; }
.bento-go { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); }
.bento-go svg { width: 15px; height: 15px; }
.bento--organic { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento--organic .bento-img { margin: 56px 26px 0; }
.bento--organic .bento-cap { padding: 10px 22px 20px; }
.bento--organic .bento-cap strong { font-size: 1.45rem; }
.bento--organic .bento-go { width: 42px; height: 42px; right: 18px; bottom: 18px; }
.bento--plant-based { grid-column: 3; grid-row: 1 / 3; }
.bento--plant-based .bento-img { margin: 16px 18px 0; }
.bento--jumbo { grid-column: 1; grid-row: 3; }
.bento--farm-to-you { grid-column: 2; grid-row: 3; }
.bento--cage-free { grid-column: 3; grid-row: 3; }
.hero-bento .hs-cert { top: 14px; left: 14px; }
@media (max-width: 900px) { .hero-bento { max-width: 560px; width: 100%; margin: 24px auto 0; } }
@media (max-width: 520px) { .hero-bento { aspect-ratio: auto; grid-template-rows: 240px 120px 150px; } .bento-cap strong { font-size: .86rem; } .bento-go { display: none; } }

/* =========================================================
   Hero variant C — centred headline + product shelf
   ========================================================= */
.hero.hero--lineup .container { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 36px; }
.hero--lineup .hero-lead { margin-inline: auto; }
.hero--lineup .hero-actions, .hero--lineup .hero-tags { justify-content: center; }
.hero--lineup .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.hero-lineup { width: 100%; }
.lineup-shelf { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr .6fr; max-width: 1100px; margin: 0 auto; align-items: end; gap: 18px; padding: 0 10px 0; }
.lineup-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 64px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); box-shadow: 0 0 24px 4px rgba(234, 212, 158, .25); }
.line-item { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.li-img { display: block; width: 100%; transition: transform .4s var(--ease); }
.li-img img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .55)); -webkit-box-reflect: below 2px linear-gradient(transparent 72%, rgba(255, 255, 255, .12)); }
.li-img--tall img { max-height: 210px; width: auto; margin: 0 auto; }
.line-item:hover .li-img { transform: translateY(-8px); }
.li-cap { display: flex; flex-direction: column; line-height: 1.3; min-height: 42px; }
.li-cap strong { color: var(--white); font-size: .95rem; }
.li-cap small { color: var(--od-7); font-size: .76rem; }
.line-item.is-center .li-cap strong { color: var(--gold-300); font-family: var(--font-head); font-size: 1.1rem; }
@media (max-width: 760px) {
  .lineup-shelf { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .lineup-shelf::after { display: none; }
  .line-item.is-center { grid-column: 1 / -1; order: -1; }
  .li-img--tall img { max-height: 150px; }
}
.bento-tile:not(.bento--organic) .bento-go { display: none; }

/* =========================================================
   Hero D — farm photo + product dock
   ========================================================= */
.hero.hero--photo { background: var(--navy-950); padding-bottom: clamp(130px, 14vw, 170px); }
.hero--photo .hero-deco { display: none; }
.hero-photo { position: absolute; inset: 0; background: url("../img/farm/solar.webp") center 40% / cover no-repeat; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--deep-rgb), .97) 0%, rgba(var(--deep-rgb), .88) 38%, rgba(var(--base-rgb), .55) 70%, rgba(var(--base-rgb), .35) 100%),
              linear-gradient(0deg, var(--navy-950) 0%, rgba(var(--deep-rgb), 0) 45%); }
.hero.hero--photo .container { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
.hero--photo .hero-copy { max-width: 660px; }
.hero-dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dock-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); transition: transform .35s var(--ease), box-shadow .35s; }
.dock-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9); }
.dock-media { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 60%, #fff 0%, var(--dc) 130%); }
.dock-media img { position: absolute; inset: 10% 8%; width: 84%; height: 80%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(var(--base-rgb), .25)); transition: transform .5s var(--ease); }
.dock-card:hover .dock-media img { transform: scale(1.05); }
.dock-text { display: flex; flex-direction: column; padding: 14px 56px 16px 18px; line-height: 1.35; }
.dock-text strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.05rem; }
.dock-text small { color: var(--muted); font-size: .84rem; }
.dock-go { position: absolute; right: 14px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); transition: transform .3s var(--ease); }
.dock-go svg { width: 16px; height: 16px; }
.dock-card:hover .dock-go { transform: translateX(3px); }
@media (max-width: 900px) { .hero-dock { grid-template-columns: repeat(2, 1fr); } .hero-photo::after { background: linear-gradient(180deg, rgba(var(--deep-rgb), .9) 0%, rgba(var(--deep-rgb), .82) 55%, var(--navy-950) 100%); } }
@media (max-width: 480px) { .hero-dock { gap: 10px; } .dock-text { padding: 10px 12px 12px; } .dock-text strong { font-size: .92rem; } .dock-go { display: none; } }

/* home products: 3 columns (Farm To You in 3 sizes) */
.prod-grid.prod-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .prod-grid.prod-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid.prod-grid--3 { grid-template-columns: 1fr; } }

/* =========================================================
   OMAX EGGS section
   ========================================================= */
.omax-visual { position: relative; padding: 0 0 70px 0; }
.omax-photo { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.omax-box { position: absolute; right: -18px; bottom: 0; width: 64%; filter: drop-shadow(0 22px 26px rgba(var(--base-rgb), .28)); }
.omax-cert { position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--navy-900); font-size: .78rem; line-height: 1.35; box-shadow: var(--shadow); }
.omax-cert img { width: 40px; height: 40px; object-fit: contain; }
.omax-cert strong { display: block; font-size: .88rem; }
.promise-main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 14px; }
.promise { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(var(--base-rgb), .35); }
.promise-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF6D8, var(--gold-400) 45%, var(--gold-600)); color: var(--navy-950); }
.promise-ic svg { width: 24px; height: 24px; }
.promise strong { display: block; color: var(--navy-900); font-size: 1rem; line-height: 1.35; }
.promise small { color: var(--gold-600); font-size: .78rem; letter-spacing: .06em; }
.promise-cf { padding: 18px 20px; border-radius: 16px; background: var(--cream); border: 1px dashed rgba(201, 162, 75, .5); margin-bottom: 28px; }
.promise-cf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: .92rem; }
.promise-cf ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.promise-cf li { display: flex; gap: 8px; align-items: flex-start; color: var(--navy-800); font-size: .92rem; line-height: 1.5; }
.promise-cf li svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; margin-top: 4px; }
.omax-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .omax-visual { max-width: 560px; margin: 0 auto 10px; } }
@media (max-width: 560px) { .promise-main, .promise-cf ul { grid-template-columns: 1fr; } .omax-box { right: 0; width: 70%; } }


/* phones: compact 2-up product and trust cards */
@media (max-width: 560px) {
  .prod-grid.prod-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid--3 .prod-media { aspect-ratio: 4 / 3; }
  .prod-grid--3 .prod-media img { inset: 26px 10px 10px; width: calc(100% - 20px); height: calc(100% - 36px); }
  .prod-grid--3 .prod-media .chip { top: 8px; left: 8px; font-size: .66rem; padding: 3px 8px; }
  .prod-grid--3 .prod-body { padding: 12px 12px 14px; }
  .prod-grid--3 .prod-body h3 { font-size: .92rem; margin-bottom: 4px; }
  .prod-grid--3 .prod-body p { display: none; }
  .prod-grid--3 .prod-body .link-arrow { font-size: .8rem; margin-top: 2px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust { padding: 18px 14px; }
  .trust-icon { width: 42px; height: 42px; margin-bottom: 10px; }
  .trust h3 { font-size: .92rem; }
  .trust p { font-size: .8rem; }
}
/* HQ-only map + two contact cards */
.group-map-canvas--hq { aspect-ratio: 2 / 1; min-width: 560px; }
.site-pin.is-hq .pin-head { width: 46px; height: 46px; font-size: .8rem; letter-spacing: .04em; }
.contact-grid.contact-grid--two { grid-template-columns: 1fr 1fr; align-items: start; }
.cc-sub { margin: -4px 0 16px; color: var(--gold-600); font-size: .85rem; font-weight: 600; }
@media (max-width: 900px) { .contact-grid.contact-grid--two { grid-template-columns: 1fr; } }
/* contact: map beside the address */
.contact-grid.contact-grid--map { grid-template-columns: 1fr 1.05fr; grid-template-areas: "ap map" "bps map"; gap: 20px 24px; align-items: start; }
.cc-ap { grid-area: ap; }
.cc-bps { grid-area: bps; }
.contact-map { grid-area: map; margin: 0; position: sticky; top: calc(var(--header-total) + 20px); }
.contact-map .group-map-head { padding: 18px 22px 14px; }
.contact-map .group-map-head p { font-size: .86rem; }
.group-map-frame { position: relative; }
.group-map-canvas--side { aspect-ratio: 1000 / 860; min-width: 0; }
@media (max-width: 900px) {
  .contact-grid.contact-grid--map { grid-template-columns: 1fr; grid-template-areas: "ap" "map" "bps"; }
  .contact-map { position: static; }
}
@media (max-width: 640px) { .contact-map .site-pin .pin-label small { display: none; } .contact-map .pin-label strong { font-size: .82rem; } }
/* illustrated HQ map */
.illus-map { display: block; border-radius: 24px; overflow: hidden; background: #FBF8F1; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .35s var(--ease); }
.illus-map:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.illus-map img { width: 100%; height: auto; display: block; }
.illus-chip { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--navy-800); color: var(--gold-300); font-size: .82rem; font-weight: 600; box-shadow: 0 8px 18px -8px rgba(var(--base-rgb), .5); }
.illus-chip svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .illus-chip { top: 10px; right: 10px; padding: 6px 11px; font-size: .74rem; } }


/* =========================================================
   Palette: green & gold (preview)
   ========================================================= */
html[data-palette="green"] {
  --navy-950: #081A12;
  --navy-900: #0C2419;
  --navy-800: #123322;
  --navy-700: #1B4630;
  --navy-600: #286142;
  --navy-100: #E2EFE6;
  --base-rgb: 12, 36, 25;
  --deep-rgb: 8, 26, 18;
  --accent-rgb: 40, 97, 66;
  --od-1: #E3EEE7; --od-2: #D5E5DA; --od-3: #C6DACC; --od-4: #BED4C5; --od-5: #B1CAB9;
  --od-6: #A5C1AE; --od-7: #95B5A0; --od-8: #83A68F; --od-9: #658B73;
  --tl-2: #286142; --tl-3: #5E9C73;
}

/* font switcher (temporary) */
.font-switch { position: fixed; left: 16px; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); z-index: 140; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: calc(100vw - 32px);
  padding: 6px 8px 6px 12px; border-radius: 22px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .76rem; color: var(--muted); }
.font-switch span { font-weight: 600; white-space: nowrap; }
.font-switch button { border: 1.5px solid var(--line); background: var(--white); color: var(--navy-800); border-radius: 999px; padding: 4px 10px; font-size: .8rem; cursor: pointer; line-height: 1.3; }
.font-switch button[data-font-set="plex"] { font-family: "IBM Plex Sans Thai", sans-serif; }
.font-switch button[aria-pressed="true"] { background: var(--navy-800); color: var(--gold-300); border-color: var(--navy-800); }
@media (max-width: 560px) { .font-switch span { display: none; } .font-switch { padding: 5px; gap: 4px; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); } .font-switch button { padding: 3px 8px; font-size: .72rem; } }

/* palette switcher (temporary) */
.palette-switch { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 140; display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .76rem; color: var(--muted); }
.palette-switch span { font-weight: 600; white-space: nowrap; }
.palette-switch button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; position: relative; }
.palette-switch button::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 10px; height: 10px; border-radius: 50%; background: #C9A24B; border: 1.5px solid #fff; }
.palette-switch button[data-palette-set="navy"] { background: #0F2548; }
.palette-switch button[data-palette-set="green"] { background: #123322; }
.palette-switch button[aria-pressed="true"] { border-color: var(--gold-500); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold-500); }
@media (max-width: 560px) { .palette-switch span { display: none; } .palette-switch { padding: 5px; } }

/* language switcher */
.lang-switch { order: 3; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); overflow: hidden; flex: none; }
.lang-switch a, .lang-switch span { padding: 7px 11px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--od-5); }
.lang-switch span { background: var(--gold-500); color: var(--navy-950); }
.lang-switch a:hover { color: var(--gold-300); background: rgba(255, 255, 255, .08); }
.site-header .cart-btn { order: 4; }
.site-header .nav-toggle { order: 5; }
@media (max-width: 400px) { .lang-switch a, .lang-switch span { padding: 6px 8px; } }
/* compact header on phones (room for TH | EN) */
@media (max-width: 520px) {
  .site-header .container { gap: 8px; }
  .brand { gap: 9px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .56rem; letter-spacing: .14em; }
  .cart-btn, .nav-toggle { width: 40px; height: 40px; }
  .lang-switch a, .lang-switch span { padding: 6px 8px; font-size: .72rem; }
}
@media (max-width: 380px) { .brand-text small { display: none; } }

/* "New Design" badge on the new Plant-Based packaging */
.new-badge { position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px 5px 9px; border-radius: 999px;
  background: linear-gradient(135deg, #F6DE96, #C9A24B); color: #0F2548; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  box-shadow: 0 6px 14px rgba(15, 37, 72, .25), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.new-badge svg { width: 13px; height: 13px; }
.or-media .new-badge { top: 6px; right: 6px; padding: 3px 8px 3px 6px; font-size: .58rem; gap: 3px; }
.or-media .new-badge svg { width: 10px; height: 10px; }
.pd-stage .new-badge { top: auto; bottom: 34%; right: 4%; font-size: .85rem; padding: 7px 15px 7px 11px; transform: rotate(6deg); }
.pd-stage .new-badge svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .prod-grid--3 .prod-media .new-badge { top: 8px; right: 8px; font-size: .58rem; padding: 3px 8px 3px 6px; } }

/* home hero: animated cage-free yard with a hen house in the right column */
.hero-hens { position: relative; align-self: end; margin-right: calc(-1 * clamp(0px, 4vw, 60px)); }
.hero-hens .coop { width: 100%; max-width: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
@media (min-width: 901px) { .hero.hero--photo .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; } }
@media (max-width: 900px) { .hero-hens { max-width: 560px; width: 100%; margin: 6px auto 0; } }

/* phones & tablets: one reading order on every hero */
/* heading first, then the animation, then the details and buttons */
@media (max-width: 900px) {
  .hero .container, .pd-hero .container { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero .hero-copy, .pd-hero .container > div:first-child { display: contents; }
  .hero .hero-copy > *, .pd-hero .container > div:first-child > * { order: 6; }
  .hero .hero-copy > .eyebrow, .pd-hero .container > div:first-child > .crumbs-row { order: 1; }
  .pd-hero .container > div:first-child > .kicker { order: 2; }
  .hero .hero-copy > h1, .pd-hero .container > div:first-child > h1 { order: 3; }
  .pd-hero .container > div:first-child > .th-name { order: 4; margin-bottom: 4px; }
  .hero h1 { margin-bottom: 6px; }
  .hero-hens, .pd-stage { order: 5; }
  .hero-hens { margin: 0 auto 18px; max-width: 520px; width: 100%; }
  .pd-stage { margin: 4px 0 22px; min-height: 0; }
  .pd-stage.pd-stage--scene { margin-top: 4px; }
}

/* pickup / delivery choice (cart form and order summary) */
.cf-ship, .os-ship { border: 0; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-ship legend, .os-ship legend { font-size: .86rem; color: var(--navy-800); font-weight: 600; margin-bottom: 6px; padding: 0; }
.ship-opt { position: relative; display: flex !important; align-items: flex-start; gap: 8px; margin: 0 !important; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
.ship-opt input { margin: 3px 0 0; accent-color: var(--navy-800); flex: none; }
.ship-opt span { display: grid; gap: 2px; }
.ship-opt strong { font-size: .92rem; color: var(--navy-900); }
.ship-opt small { font-size: .74rem; color: var(--muted); font-weight: 400; line-height: 1.35; }
.ship-opt:has(input:checked) { border-color: var(--gold-500); background: var(--gold-100); }
#cf-area { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: .95rem; color: var(--ink); }
.cf-hint { margin: 0; font-size: .78rem; color: var(--gold-600); }

/* the heart step (Farm To You) carries no number, so Feed Mill after it reads 04 */
.cyc-step--final { counter-increment: none; }

/* desktop: order copied + QR to open LINE on a phone */
.cart-sent-qr { display: block; width: 160px; height: 160px; margin: 8px auto; border-radius: 10px; background: #fff; padding: 6px; }
.cart-sent-text { width: 100%; margin: 6px 0; padding: 8px 10px; border-radius: 10px; border: 1px solid #BFE8CF; background: #fff; font: inherit; font-size: .78rem; color: var(--ink); resize: vertical; }
.cart-sent-acts { display: flex; flex-wrap: wrap; gap: 6px; }

[data-send].is-busy { opacity: .6; pointer-events: none; }

/* prices, totals and payment result */
.cart-totals { display: grid; gap: 6px; margin: 4px 0 6px; padding: 12px 14px; border-radius: 12px; background: var(--gold-100); font-size: .9rem; }
.cart-totals:empty { display: none; }
.cart-totals div { display: flex; justify-content: space-between; gap: 12px; }
.cart-totals b { font-variant-numeric: tabular-nums; color: var(--navy-900); }
.cart-totals .ct-total { padding-top: 6px; border-top: 1px dashed var(--gold-400); font-size: 1.02rem; }
.or-price { display: block; margin-top: 2px; font-weight: 700; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.pay-result { position: fixed; z-index: 300; left: 50%; top: calc(var(--header-total, 80px) + 16px); transform: translateX(-50%); width: min(92vw, 440px); display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; background: #E9F8EF; border: 1px solid #9ED9B4; color: #1D5A36; box-shadow: var(--shadow-lg); transition: opacity .4s, transform .4s; }
.pay-result.is-pending { background: #FFF6E5; border-color: #F0CF8A; color: #7A5410; }
.pay-result strong { font-size: 1.05rem; }
.pay-result small { opacity: .85; }
.pay-result.is-out { opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }

.receipt { display: grid; gap: 12px; text-align: center; }
.receipt .rc-check { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #27AE60; color: #fff; font-size: 1.6rem; font-weight: 700; }
.receipt h2 { margin: 0; font-size: 1.25rem; }
.receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-100); text-align: left; }
.receipt dt { color: var(--muted); font-size: .88rem; }
.receipt dd { margin: 0; text-align: right; font-weight: 700; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.receipt .rc-next { margin: 0; padding-left: 1.2em; text-align: left; font-size: .9rem; color: #3F4958; display: grid; gap: 4px; }
.receipt .rc-help { margin: 0; font-size: .82rem; color: var(--muted); }

/* order success page */
.success-page { padding-top: calc(var(--header-total, 80px) + 40px); min-height: 70vh; }
.receipt-page { max-width: 640px; margin: 0 auto; }
.rp-loading { text-align: center; padding: 60px 0; color: var(--muted); }
.rp-card { display: grid; gap: 18px; padding: clamp(24px, 5vw, 40px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.rp-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #27AE60; color: #fff; font-size: 2rem; font-weight: 700; box-shadow: 0 0 0 8px #E9F8EF; }
.rp-icon.is-wait { background: var(--gold-500); box-shadow: 0 0 0 8px var(--gold-100); }
.rp-card h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.rp-lead { margin: 0; color: var(--muted); }
.rp-ref { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--navy-900); color: #fff; }
.rp-ref span { font-size: .8rem; letter-spacing: .08em; color: var(--gold-300); }
.rp-ref strong { font-size: 1.6rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.rp-ref small { color: rgba(255,255,255,.7); }
.rp-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .95rem; }
.rp-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.rp-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-table td small { display: block; color: var(--muted); font-size: .8rem; }
.rp-table tfoot td { border-bottom: 0; padding-top: 14px; font-weight: 700; font-size: 1.15rem; color: var(--navy-900); }
.rp-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding: 16px; border-radius: 16px; background: var(--gold-100); text-align: left; font-size: .92rem; }
.rp-info dt { color: var(--muted); }
.rp-info dd { margin: 0; color: var(--navy-900); }
.rp-next { margin: 0; padding-left: 1.2em; text-align: left; font-size: .92rem; color: #3F4958; display: grid; gap: 4px; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media print { .site-header, .site-footer, .line-widget, .rp-actions, .crumbs-row { display: none !important; } .success-page { padding-top: 0; } .rp-card { box-shadow: none; border: 0; } }

/* pages without a dark hero (order success): keep the header solid */
body:has(.success-main) .site-header { background: var(--navy-900); box-shadow: var(--shadow-sm); }

.rp-line { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #E9F8EF; border: 1px solid #BFE8CF; }
.rp-line p { margin: 0; font-size: .9rem; color: #1D5A36; }

.ship-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #27AE60; color: #fff; font-style: normal; font-size: .66rem; font-weight: 700; vertical-align: 2px; }
.ship-tag--test { background: #E8A33A; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-row > div { display: grid; gap: 6px; }
.cart-form label small { font-weight: 400; color: var(--muted); }
.cf-hint--muted { color: var(--muted); }
#cf-addr-wrap input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: .95rem; color: var(--ink); }
@media (max-width: 380px) { .cf-row { grid-template-columns: 1fr; } }

/* footer: keep the company name on one line */
.footer-grid .contact-line:first-child span { white-space: nowrap; font-size: .9rem; }
@media (max-width: 380px) { .footer-grid .contact-line:first-child span { white-space: normal; } }

/* company names in the group cards stay on one line */
.group-card h3 { white-space: nowrap; font-size: clamp(.86rem, 1.15vw, 1.05rem); letter-spacing: -.01em; }

.first-badge { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(201, 162, 75, .16); border: 1px solid rgba(233, 201, 121, .4); color: var(--od-2); font-size: .9rem; }
.first-badge svg { width: 18px; height: 18px; color: var(--gold-300); flex: none; }
.first-badge strong { color: var(--gold-300); }
@media (max-width: 900px) { .pd-hero .container > div:first-child > .first-badge { order: 4; margin: 4px 0 10px; align-self: flex-start; } }

/* Plant-Based: smaller pouch that sits below the kitchen instead of covering it */
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 36%; max-width: 210px; margin-top: calc(var(--scene-w) * -.22); margin-right: 0; }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { width: 36%; max-width: 170px; margin-top: -24%; } }

/* company name next to the logo: A&P AGRI / PRODUCT GROUP */
.brand-text--one strong { font-size: 1.02rem; letter-spacing: .05em; white-space: nowrap; line-height: 1.12; }
.brand-text--one strong + strong { color: var(--gold-300); }
@media (max-width: 420px) { .brand-text--one strong { font-size: .86rem; } }

/* small laptops: keep menu items on one line */
.nav > a, .nav-dd > button { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1180px) { .nav { gap: 2px; } .nav > a, .nav-dd > button { font-size: .86rem; padding-inline: 8px; } .nav .btn { padding-inline: 14px; } }
@media (min-width: 981px) and (max-width: 1100px) { .brand-text--one strong { font-size: .86rem; } .brand img { width: 42px; height: 42px; } .site-header .container { gap: 14px; } }

/* phones: tighter vertical rhythm (hero, section heads, cycle) */
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-total) + 18px); padding-bottom: 96px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { margin-bottom: 0; }
  .hero-hens { margin: -12% auto 4px; }
  .hero-lead { margin-top: 0; }
  .section-head { margin-bottom: 18px; }
  .cycle { margin-top: -10px; }
}

/* phones: hero buttons side by side */
@media (max-width: 760px) {
  .hero-actions { display: flex; flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 12px 10px; font-size: .86rem; white-space: nowrap; gap: 6px; }
  .hero-actions .btn svg { width: 16px; height: 16px; flex: none; }
}

/* phones: smaller gaps between sections and inside stacked two-column blocks */
@media (max-width: 760px) {
  .section { padding-block: 40px; }
  .section + .section { padding-top: 28px; }
  .section .container > [class*="grid"], .section .container > [class*="split"], .section .container > [class*="story"] { row-gap: 24px; }
  .section-head { margin-bottom: 20px; }
}

/* phones: hero pieces closer together */
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-total) + 8px); padding-bottom: 84px; }
  .hero .hero-copy > .eyebrow { margin-bottom: 4px; }
  .hero-hens { margin-top: -16%; margin-bottom: -6%; }
  .hero-lead { margin-bottom: 16px; }
  .hero .hero-tags { margin-top: 14px; }
}

/* phones: section labels centred with a rule on both sides */
@media (max-width: 760px) {
  .eyebrow:not(.hero .eyebrow) { display: flex; justify-content: center; text-align: center; }
  .eyebrow:not(.hero .eyebrow)::after { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
  .eyebrow:not(.hero .eyebrow)::before { flex: none; }
}

/* phones: hero even tighter */
@media (max-width: 760px) {
  .hero { padding-top: var(--header-total); padding-bottom: 64px; }
  .hero h1 { margin-top: 0; }
  .hero-hens { margin-top: -22%; margin-bottom: -10%; }
  .hero-lead { margin-bottom: 10px; }
  .hero .hero-tags { margin-top: 10px; }
  .stats-wrap { margin-top: -48px; }
}

/* phones: nudge hero content down so the two buttons land just above the browser bar */
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-total) + 14px); }
  .hero-hens { margin-top: -18%; }
}

/* desktop & tablet: less space between sections */
@media (min-width: 761px) {
  .section { padding-block: clamp(48px, 5vw, 72px); }
  .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
}
@media (min-width: 700px) {
  .cycle { height: calc(var(--cy) + var(--R) + var(--icon) / 2 + 140px); }
}

/* desktop: tighter still */
@media (min-width: 761px) {
  .section { padding-block: clamp(36px, 3.5vw, 50px); }
  .section-head { margin-bottom: clamp(22px, 2.4vw, 32px); }
}

/* phones: section label and title sit above the photo */
@media (max-width: 760px) {
  .omax-grid, .story-grid, .solar-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .omax-grid > div:not(.omax-visual), .story-grid > .story-text, .solar-grid > div:not(.photo-stack) { display: contents; }
  .omax-grid > div > *, .story-grid > .story-text > *, .solar-grid > div > * { order: 4; }
  .omax-grid > div > .eyebrow, .story-grid > .story-text > .eyebrow, .solar-grid > div > .eyebrow { order: 1; }
  .omax-grid > div > h2, .story-grid > .story-text > h2, .solar-grid > div > h2 { order: 2; margin-bottom: 18px; }
  .omax-grid > .omax-visual, .story-grid > .story-photo, .solar-grid > .photo-stack { order: 3; margin-bottom: 22px; }
}
@media (max-width: 760px) {
  .container.heritage { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .container.heritage > div:last-child { display: contents; }
  .container.heritage > div:last-child > * { order: 4; }
  .container.heritage > div:last-child > .eyebrow { order: 1; }
  .container.heritage > div:last-child > h2 { order: 2; margin-bottom: 18px; }
  .container.heritage > div:first-child { order: 3; margin-bottom: 22px; }
}
@media (max-width: 760px) {
  .hero .hero-copy > .eyebrow { margin-bottom: 0; }
  .hero .hero-copy > h1 { margin-top: -14px; }
  .hero-hens { margin-bottom: -2%; }
}
@media (max-width: 760px) { .hero-hens { margin-top: -10%; } }
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-total) - 10px); }
  .hero .hero-copy > h1 { margin-top: -22px; }
  .hero-hens { margin-top: -14%; margin-bottom: -9%; }
  .hero-lead { margin-bottom: 6px; }
}
@media (max-width: 760px) {
  .hero .hero-copy > .hero-lead { margin-bottom: 0; }
  .hero .hero-copy > .hero-actions { margin-top: 14px; }
  .hero .hero-copy > .hero-tags { margin-top: 12px; }
}
@media (max-width: 760px) {
  .hero .hero-copy > .hero-actions { margin-top: 6px; }
  .hero .hero-copy > .hero-tags { margin-top: 6px; }
  .hero-hens { margin-bottom: -12%; }
}
@media (max-width: 760px) { .hero .hero-copy > .hero-lead { position: relative; top: 16px; } }
@media (max-width: 760px) { .hero .hero-copy > .hero-tags { position: relative; top: -12px; } }
@media (min-width: 761px) { .hero { padding-top: calc(var(--header-total) + clamp(16px, 2.5vw, 36px)); } }
@media (min-width: 901px) {
  .omax-grid { grid-template-columns: 1.1fr 1fr; }
  .omax-grid > .omax-visual { order: 2; }
}
@media (min-width: 761px) {
  .hero .hero-copy > .eyebrow { margin-bottom: 18px; }
  .hero .hero-copy > h1 { margin-bottom: 30px; }
  .hero .hero-copy > .hero-lead { margin-bottom: 32px; }
  .hero .hero-copy > .hero-tags { margin-top: 32px; }
  .hero { padding-bottom: clamp(130px, 13vw, 170px); }
}
@media (min-width: 761px) {
  .stats-wrap { margin-top: -62px; }
  .hero { padding-bottom: clamp(100px, 10vw, 140px); }
}
@media (min-width: 761px) {
  .stats-wrap { margin-top: 0; }
  .stats-wrap .stats { translate: 0 -50%; margin-bottom: -74px; }
}
.story-text p:first-of-type::first-letter { margin-top: -.12em; }
/* gold buttons: paint the gradient under the border too, so no darker seam shows at the rounded ends */
.btn--gold { background-origin: border-box; background-clip: border-box; border-color: transparent; }
/* products: egg cards 3 across on desktop, 2 on tablet, 1 on phones */
@media (min-width: 1024px) { .egg-grid { grid-template-columns: repeat(3, 1fr); } }
.mosaic--two { grid-template-columns: 1fr; aspect-ratio: auto; }
.mosaic--two img, .mosaic--two img:first-child { grid-row: auto; border-radius: 16px; aspect-ratio: 16 / 9; }
.mosaic--two img:first-child { border-radius: 120px 16px 16px 16px; }
.merit-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
/* heart badge: drawn as an SVG so it sits dead centre (the ♥ glyph rides low in Kanit) */
.cyc-step--final .cyc-icon::after { content: ""; background-color: var(--navy-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E8CF8F' d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.1 0 3.6 1.2 5.3 3.1 1.7-1.9 3.2-3.1 5.3-3.1 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 58%; }
/* story signature: no rule, sits to the right */
.signature { border-top: 0 !important; justify-content: flex-end; text-align: right; margin-left: auto; width: fit-content; }
.signature strong { color: var(--gold-600); }
.signature img.sig-omax { width: auto; height: 46px; border-radius: 0; background: none; }
/* inner pages: hero content sits higher, less empty space below */
.page-hero { padding: calc(var(--header-total) + clamp(16px, 2.5vw, 34px)) 0 clamp(34px, 4vw, 56px); }
.pd-hero { padding-top: calc(var(--header-total) + clamp(12px, 2vw, 28px)); padding-bottom: clamp(36px, 4vw, 60px); }
.signature img.sig-omax { display: block; height: 58px; width: auto; margin: 0 0 6px auto; }
.signature small { display: block; }
/* jump links land with the section top right under the header (pages with a sub-nav keep room for it) */
[id] { scroll-margin-top: var(--header-total); }
body:has(.subnav) [id] { scroll-margin-top: calc(var(--header-total) + 70px); }
/* plant-based: pouch overlaps the right half of the house */
.pd-stage.pd-stage--scene.pd-stage--tall img { margin-right: 2%; }
.pd-stage.pd-stage--scene.pd-stage--tall img { margin-top: calc(var(--scene-w) * -.46); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { margin-top: -46%; } }
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 46%; max-width: 270px; margin-top: calc(var(--scene-w) * -.56); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { width: 46%; max-width: 220px; margin-top: -56%; } }
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 56%; max-width: 330px; margin-top: calc(var(--scene-w) * -.6); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { width: 56%; max-width: 270px; margin-top: -60%; } }
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 50%; max-width: 295px; margin-top: calc(var(--scene-w) * -.55); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { width: 50%; max-width: 240px; margin-top: -55%; } }
@media (min-width: 901px) { .pd-stage.pd-stage--scene.pd-stage--tall { margin-top: 30px; } }
.pd-stage.pd-stage--scene.pd-stage--tall img { width: 42%; max-width: 245px; margin-top: calc(var(--scene-w) * -.48); }
@media (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { width: 42%; max-width: 200px; margin-top: -48%; } }
.pd-stage.pd-stage--scene.pd-stage--tall img { margin-right: -3%; }
@media (max-width: 900px) { .order-box { justify-content: center; margin-inline: auto; } }

/* plant-based recipe reels: 5 across on desktop, swipe row on phones */
.recipe-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.recipe-vid { margin: 0; border-radius: 18px; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-sm); aspect-ratio: 306 / 540; }
.recipe-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .recipe-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); }
  .recipe-vid { flex: 0 0 62%; scroll-snap-align: center; }
}

/* recipe cards + phone-shaped player */
.recipe-row { gap: 18px; }
.recipe-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md, 0 18px 40px -18px rgba(10,27,54,.35)); }
.recipe-card:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.rc-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-900); }
.rc-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .5s var(--ease); }
.recipe-card:hover .rc-media img { transform: scale(1.05); }
.rc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,27,54,.55)); }
.rc-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .25s var(--ease), background .25s; }
.rc-play svg { width: 26px; height: 26px; margin-left: 3px; }
.recipe-card:hover .rc-play { transform: scale(1.08); background: var(--gold-400); }
.rc-body { display: grid; gap: 4px; padding: 14px 16px 18px; }
.rc-body small { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.rc-body strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.35; color: var(--navy-900); }
@media (max-width: 900px) { .recipe-card { flex: 0 0 64%; scroll-snap-align: center; } .recipe-vid { display: none; } }
.recipe-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.recipe-modal[hidden] { display: none; }
.rm-backdrop { position: absolute; inset: 0; background: rgba(5,12,26,.82); backdrop-filter: blur(4px); }
.rm-box { position: relative; height: min(88vh, 860px); aspect-ratio: 306 / 540; max-width: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.rm-box video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.rm-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer; }
video:fullscreen { object-fit: contain; }
/* recipe posters: the clips carry thin black borders, so zoom past them */
.rc-media { background: var(--white); }
.rc-media img { transform: scale(1.08); }
.recipe-card:hover .rc-media img { transform: scale(1.13); }
.rm-box video { object-fit: cover; transform: scale(1.04); }
.rc-body { text-align: center; justify-items: center; flex: 1; align-content: center; }

/* ordering switched off: remove class "shop-off" from <html> on every page to reopen */
.shop-off .nav-order, .shop-off .cart-btn, .shop-off .cart, .shop-off .cart-toast, .shop-off .order-box, .shop-off .order-page,
.shop-off a[href="order.html"], .shop-off a[href="../order.html"], .shop-off a[href$="/order.html"] { display: none !important; }
.shop-closed { display: none; }
.shop-off .shop-closed { display: block; }
.shop-closed-box { max-width: 560px; margin: 0 auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }

/* language switcher: 4 pills on desktop, a compact picker on phones */
.lang-select { display: none; order: 3; flex: none; appearance: none; -webkit-appearance: none; padding: 7px 26px 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8CF8F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 12px; color: var(--gold-300); font: 700 .78rem var(--font-body); letter-spacing: .04em; }
.lang-select option { color: #111; }
@media (max-width: 760px) { .lang-switch { display: none; } .lang-select { display: inline-block; } }
:lang(zh) body, :lang(ja) body { word-break: normal; line-break: strict; }
:lang(zh) body { font-family: var(--font-body), "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(ja) body { font-family: var(--font-body), "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
:lang(zh) .eyebrow, :lang(ja) .eyebrow { letter-spacing: .12em; }
/* the carton photos sit off-centre (pulp tray wider on the left): shift so the label lines up with the house */
/* carton photos: pulp lip is wider on the left, so nudge half the label offset to balance tray and label */
/* recipe titles come from Supabase as plain text: balance the lines instead of hand-placed breaks */
.rc-body strong { text-wrap: balance; }
/* plant-based pouch, tablets & phones: overlap the house without pulling the page up over the text below */
@media (max-width: 900px) {
  .pd-stage.pd-stage--scene.pd-stage--tall img { width: 34%; max-width: 190px; margin-top: -30%; margin-right: 6%; }
}
/* winding timeline: the column count follows the screen (4 / 3 / 2) */
.snake-list { grid-template-columns: repeat(var(--per, 4), 1fr); }
@media (max-width: 760px) {
  .snake { --r: 26px; }
  .snake-list { column-gap: 10px; row-gap: 40px; }
  .snake-icon { width: 46px; height: 46px; margin-bottom: 8px; }
  .snake-item h3 { font-size: .98rem; }
  .snake-item p { font-size: .8rem; margin-bottom: 12px; }
  .snake-year { font-size: 1rem; }
  .snake-end { max-width: none; }
}
/* phones: compact winding timeline, 3 per row */
@media (max-width: 760px) {
  .snake { --r: 18px; --line: 2.5px; }
  .snake-list { column-gap: 6px; row-gap: 22px; padding: 0 var(--r); }
  .snake-icon { width: 34px; height: 34px; margin-bottom: 4px; }
  .snake-item h3 { font-size: .82rem; line-height: 1.3; margin-bottom: 2px; }
  .snake-item p { font-size: .7rem; line-height: 1.4; margin-bottom: 8px; max-width: 16ch; }
  .snake-node { width: 18px; height: 18px; border-width: 4px; box-shadow: 0 0 0 4px var(--cream); }
  .snake-item.is-key .snake-node { box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--c); }
  .snake-year { margin-top: 6px; font-size: .85rem; }
  .snake-year small { font-size: .64rem; }
}
.snake-list { grid-template-columns: repeat(var(--per, 4), minmax(0, 1fr)); }
@media (max-width: 760px) { .snake-item h3 { overflow-wrap: anywhere; } .snake-year { white-space: nowrap; } }
/* phones: intro sections show label + title, then the photos, then the text */
@media (max-width: 760px) {
  .intro-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .intro-grid > div:not(.mosaic) { display: contents; }
  .intro-grid > div:not(.mosaic) > * { order: 4; }
  .intro-grid > div:not(.mosaic) > .eyebrow { order: 1; }
  .intro-grid > div:not(.mosaic) > h2 { order: 2; margin-bottom: 18px; }
  .intro-grid > .mosaic { order: 3; margin: 0 auto 24px; width: 100%; }
}
/* phones: map after both contact cards (below Boonpisal) */
@media (max-width: 760px) {
  .contact-grid--map { display: flex; flex-direction: column; }
  .contact-grid--map > .cc-ap { order: 1; }
  .contact-grid--map > .cc-bps { order: 2; }
  .contact-grid--map > .contact-map { order: 3; }
}
/* floating LINE / Facebook buttons: no pulsing halo or coloured glow, just a soft neutral shadow */
.line-fab::before { content: none; animation: none; }
.line-fab, .fb-fab { box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
/* phones: business pillars show the number and title on one line */
@media (max-width: 760px) {
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .pillar .n { grid-column: 1; margin: 0; line-height: 1; }
  .pillar h3 { grid-column: 2; margin: 0; }
  .pillar p { grid-column: 1 / -1; margin-top: 10px; }
}
/* phones: departments in a 2-column grid, icon on top */
@media (max-width: 760px) {
  .jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .job { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; margin: 0; }
  .job .ic { width: 40px; height: 40px; }
  .job h3 { font-size: .92rem; line-height: 1.3; margin-bottom: 4px; }
  .job p { font-size: .78rem; line-height: 1.45; }
}
@media (max-width: 760px) { .job { grid-template-columns: 1fr; align-content: start; } }
/* phones: step label and title on one line (e.g. BREEDER  พันธุ์สัตว์) */
@media (max-width: 699px) {
  .cycle-list li > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .cycle-list li > div .en { display: inline; margin: 0; }
  .cycle-list li > div h3 { margin: 0; }
  .cycle-list li > div p { flex-basis: 100%; margin-top: 4px; }
}
/* phones: larger plant-based pouch */
@media (max-width: 760px) {
  .pd-stage.pd-stage--scene.pd-stage--tall img { width: 44%; max-width: 230px; margin-top: -40%; }
}
/* product feature box: two columns on phones too, like desktop */
@media (max-width: 440px) {
  .pd-hero .feat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 14px 16px; }
  .pd-hero .feat-list li { font-size: .84rem; gap: 8px; }
  .pd-hero .feat-list li svg { width: 20px; height: 20px; padding: 4px; }
}
/* no menu fade while the page is loading (Safari animated the hidden mobile menu on refresh) */
html:not(.nav-ready) .nav, html:not(.nav-ready) .nav-dd-menu { transition: none !important; }
@media (max-width: 440px) {
  .pd-hero .feat-list { gap: 12px 10px; padding: 16px 16px; }
  .pd-hero .feat-list li { font-size: .95rem; gap: 9px; }
  .pd-hero .feat-list li svg { width: 24px; height: 24px; padding: 5px; }
}
@media (max-width: 760px) { .pd-stage.pd-stage--scene.pd-stage--tall img { margin-top: -46%; margin-right: -1%; } }
/* phones: highlights as a 2-column grid, badge on top */
@media (max-width: 760px) {
  .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .hl { display: flex !important; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px !important; gap: 0; }
  .hl .nutrient-badge { width: 56px; height: 56px; margin: 0 auto 10px !important; }
  .hl .nutrient-badge svg { width: 24px; height: 24px; }
  .hl h3 { font-size: .92rem; line-height: 1.3; margin-bottom: 4px; }
  .hl p { font-size: .8rem; line-height: 1.5; }
}
/* Farm To You / Jumbo carton: sits slightly left of the house walls, nudge right to centre */
.pd-stage img[src*="ftu-"], .pd-stage img[src*="jumbo.webp"] { translate: 2% 0; }
/* size picker: fit the buttons, centred */
.size-tabs { display: flex !important; width: fit-content !important; max-width: 100%; margin-inline: auto !important; justify-content: center; gap: 4px; }
.size-tabs button { flex: 0 0 auto; }
/* B2B & OEM: three across */
.oem-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) {
  .oem-band { gap: 8px; }
  .oem-item { padding: 14px 10px !important; text-align: center; }
  .oem-item .ic { margin: 0 auto 8px; }
  .oem-item h4 { font-size: .86rem; line-height: 1.3; }
  .oem-item p { font-size: .74rem; line-height: 1.45; }
}
/* phones: capability cards two by two */
@media (max-width: 760px) {
  .cap-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .cap { padding: 14px 12px; }
  .cap strong { font-size: .9rem; line-height: 1.35; }
  .cap span { font-size: .78rem; line-height: 1.45; }
}
/* department cards are information only: no hover/tap highlight that looks clickable */
.job, .job:hover { border-color: rgba(234, 212, 158, .18); background: rgba(255, 255, 255, .05); cursor: default; -webkit-tap-highlight-color: transparent; }
/* contact cards: company name on one line, scaled to fit */
.contact-card > h3 { white-space: nowrap; font-size: clamp(.95rem, 4.6vw, 1.35rem); }

/* business pillars: 3 across on every width */
@media (max-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pillar { display: block; padding: 18px 12px; text-align: center; }
  .pillar .n { font-size: 1.6rem; margin: 0 0 6px; }
  .pillar h3 { font-size: .9rem; margin: 0 0 6px; line-height: 1.25; }
  .pillar p { font-size: .76rem; line-height: 1.5; margin: 0; }
}

/* recipe video: keep native controls fully visible and tappable */
.rm-box { overflow: visible; border-radius: 0; background: transparent; box-shadow: none; height: min(80vh, 860px); }
.rm-box video { object-fit: contain; transform: none; border-radius: 14px; }
.rm-close { top: -50px; right: 0; }

/* phones: footer drops the Products and Company link lists */
@media (max-width: 760px) { .footer-grid > :nth-child(2), .footer-grid > :nth-child(3) { display: none; } }

/* phones: Omax signature sits a little closer to the story text */
@media (max-width: 760px) { .signature { margin-top: 4px; padding-top: 6px; } }

/* tablets and unfolded Fold phones: the same ring with text as on desktop, scaled down */
@media (min-width: 700px) and (max-width: 1023px) {
  .cycle { --R: 118px; --icon: 72px; --tw: 155px; margin-top: 40px; }
  .cyc-icon::after { width: 26px; height: 26px; font-size: .66rem; }
  .cycle-hub { padding: 10px; }
  .hub-eyebrow { font-size: .6rem; }
  .cycle-hub strong { font-size: 1.2rem; }
  .hub-sub { font-size: .66rem; }
  .cyc-text .en { font-size: .64rem; margin-bottom: 3px; }
  .cyc-text h3 { font-size: 1rem; }
  .cyc-text p { font-size: .78rem; line-height: 1.5; }
}

/* egg cards: feature pills in pairs */
.egg-card-body .feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.egg-card-body .feat-list li { min-width: 0; padding: 7px 10px; font-size: clamp(.74rem, 2.6vw, .88rem); }

/* tablets, Fold and phones: About the Company label, then photos, then the A&P heading and text */
@media (max-width: 900px) {
  #company .split:first-child { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  #company .split:first-child > div:not(.mosaic) { display: contents; }
  #company .split:first-child > div:not(.mosaic) > * { order: 3; }
  #company .split:first-child > div:not(.mosaic) > .eyebrow { order: 1; }
  #company .split:first-child > .mosaic { order: 2; width: 100%; max-width: 560px; margin: 0 auto 24px; }
}
/* tablets, Fold and phones: certifications in pairs */
@media (max-width: 900px) {
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .check-list li { grid-template-columns: 30px 1fr; gap: 10px; min-width: 0; }
  .check-list li > span { width: 30px; height: 30px; }
  .check-list strong { font-size: clamp(.86rem, 2.8vw, 1rem); }
  .check-list small { font-size: clamp(.76rem, 2.4vw, .93rem); }
}
/* contact cards and map: same full width when stacked */
@media (max-width: 900px) {
  .contact-grid--map { display: flex; flex-direction: column; }
  .contact-grid--map > * { width: 100%; min-width: 0; box-sizing: border-box; }
  .contact-grid--map > .cc-ap { order: 1; }
  .contact-grid--map > .cc-bps { order: 2; }
  .contact-grid--map > .contact-map { order: 3; }
}

/* tablets, Fold and phones: departments sit closer to the perks list */
@media (max-width: 900px) {
  #careers .split { gap: 22px; }
  #careers .perks { margin-bottom: 0; }
}

/* Fold and tablets: the "first certified cage-free farm" badge sits top right, level with the brand line */
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .container:has(.first-badge) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: start; }
  .pd-hero .container:has(.first-badge) > * { grid-column: 1 / -1; }
  .pd-hero .container:has(.first-badge) > div:first-child > * { grid-column: 1 / -1; }
  .pd-hero .container > div:first-child > .crumbs-row { grid-row: 1; }
  .pd-hero .container:has(.first-badge) > div:first-child > .kicker { grid-column: 1; grid-row: 2; }
  .pd-hero .container:has(.first-badge) > div:first-child > h1 { grid-column: 1; grid-row: 3; }
  .pd-hero .container:has(.first-badge) > div:first-child > .th-name { grid-column: 1; grid-row: 4; }
  .pd-hero .container > div:first-child > .first-badge { grid-column: 2; grid-row: 2 / span 3; align-self: start; justify-self: end; margin: 10px 0 0; max-width: 46vw; }
}
/* Fold and tablets: plant-based pouch a little further left */
@media (min-width: 761px) and (max-width: 900px) { .pd-stage.pd-stage--scene.pd-stage--tall img { margin-right: 11%; } }
/* Fold and tablets: badge on one line, level with the product title */
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .container > div:first-child > .first-badge { grid-row: 3; align-self: center; margin: 0; max-width: none; white-space: nowrap; font-size: .8rem; padding: 6px 12px 6px 9px; }
}
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .container > div:first-child > .first-badge { grid-row: 2 / span 2; align-self: center; }
}
@media (min-width: 700px) and (max-width: 900px) { .pd-hero .container > div:first-child > .first-badge { position: relative; top: -10px; } }

/* careers: enquiry button under the perks on desktop/iPad, below the departments on smaller screens */
.jobs-cta--bottom { display: none !important; }
@media (max-width: 900px) { .jobs-cta--side { display: none !important; } .jobs-cta--bottom { display: flex !important; } }
/* solar: one large photo */
.photo-stack { padding: 0; }
.photo-stack .p1 { aspect-ratio: 4 / 3; }
/* integrated-business ring: icons are not links, so no hover lift */
.cyc-step:hover .cyc-icon { transform: none; background: var(--white); color: var(--navy-700); }
.cyc-step--final:hover .cyc-icon { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); }
/* egg cards: each feature pill on one line */
.egg-card-body .feat-list li { white-space: nowrap; font-size: clamp(.7rem, 1.1vw, .86rem); gap: 5px; padding: 7px 9px; }
@media (max-width: 900px) { .egg-card-body .feat-list li { font-size: clamp(.68rem, 2.6vw, .86rem); } }
/* iPad & desktop: Jumbo scene slightly smaller so the carton ends inside the hero */
@media (min-width: 901px) { .pd-stage.pd-stage--scene.pd-stage--jumbo { --scene-w: min(76%, 450px); align-self: start; margin-top: 24px; } }
/* Farm To You: size picker sits under the feature box */
.pd-hero .feat-list + .size-tabs { margin: 0 auto 18px !important; }
@media (min-width: 901px) { .pd-stage.pd-stage--scene.pd-stage--jumbo { --scene-w: min(82%, 490px); } }
@media (min-width: 901px) { .pd-stage.pd-stage--scene.pd-stage--jumbo { margin-top: 0; } }
/* iPad & desktop: Farm To You coop a touch lower */
@media (min-width: 901px) { .pd-stage.pd-stage--scene:has(> svg.cage:not(.colony)) { margin-top: 20px; } }
/* Fold and tablets: a three-item feature box sits on one row */
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .feat-list:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-hero .feat-list:has(> li:nth-child(3):last-child) li:last-child { grid-column: auto; }
  .pd-hero .feat-list:has(> li:nth-child(3):last-child) li { white-space: nowrap; }
}
/* Fold and tablets: product details below the picture are centred */
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .container > div:first-child > .lead { text-align: center; max-width: 620px; margin-inline: auto; }
  .pd-hero .container > div:first-child > .feat-list { width: min(100%, 620px); margin-inline: auto; }
  .pd-hero .container > div:first-child > .spec-row { justify-content: center; text-align: center; }
  .pd-hero .container > div:first-child > .pd-note { justify-content: center; align-self: center; }
}
/* Fold and tablets: feature items centred inside their box */
@media (min-width: 700px) and (max-width: 900px) {
  .pd-hero .container > div:first-child > .feat-list { grid-template-columns: repeat(2, auto); justify-content: center; column-gap: 56px; }
  .pd-hero .container > div:first-child > .feat-list:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, auto); column-gap: 40px; }
}
/* Farm To You steps: in pairs on Fold and phones too */
@media (max-width: 800px) {
  .farm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .farm-step .body { padding: 16px 14px 18px; }
  .farm-step h3 { font-size: .98rem; }
  .farm-step p { font-size: .82rem; line-height: 1.5; }
}
/* "Have a question? Chat on LINE" bubble: switched off for now (delete this rule to bring it back) */
.line-teaser { display: none !important; }
/* Farm To You: size 1 photo has a slightly different shape; fix the box so switching sizes doesn't nudge the page */
#ftu-img { aspect-ratio: 1334 / 618; height: auto; object-fit: contain; }
/* iPad & desktop: even visible gaps between home sections (the stats card, the story photo
   and the LINE band each start without the usual label line, so they get extra room) */
@media (min-width: 761px) {
  .stats-wrap + .section { padding-top: calc(clamp(36px, 3.5vw, 50px) + 48px); }
  #story.section { padding-top: calc(clamp(36px, 3.5vw, 50px) + 14px); }
  .section.section--cream[style*="padding-top:0"]:has(.cta-band) { padding-top: calc(clamp(36px, 3.5vw, 50px) + 9px) !important; }
}
/* product cards with a chip: carton sits below the chip */
.prod-media:has(.chip) img { top: 52px; height: calc(100% - 74px); }
@media (max-width: 560px) { .prod-grid--3 .prod-media:has(.chip) img { top: 34px; height: calc(100% - 44px); } }
/* timeline: the "Upcoming" badge floats above the icon so that item lines up with its row */
.snake:not(.is-vertical) .snake-item.is-upcoming { position: relative; }
.snake:not(.is-vertical) .snake-item.is-upcoming .upcoming-badge { position: absolute; top: -34px; left: 50%; translate: -50% 0; margin: 0; }
/* heritage: grandfather's signature, bottom right */
.heritage-sign { display: flex; flex-direction: column; align-items: center; width: fit-content; margin: 18px 0 0 auto; text-align: center; }
.heritage-sign img { width: clamp(150px, 18vw, 220px); height: auto; }
.heritage-sign span { margin-top: 2px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.heritage-sign span { font-family: "Charmonman", var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.heritage-sign img { translate: 14px 0; }
.heritage-sign span { margin-top: 10px; }
.heritage-sign img { translate: 4px 0; }
.heritage-sign { margin-top: 0; }
/* products page egg cards: carton below the chip */
.egg-card:not([href*="plant-based"]) .egg-card-media:has(.chip) img { top: calc(10px + 2.4em); height: calc(96% - 10px - 2.4em); }
.feat-list li svg { flex: none; }
/* phones: the "Upcoming" badge sits in the last column, so anchor it to the right edge instead of centring */
@media (max-width: 760px) { .snake:not(.is-vertical) .snake-item.is-upcoming .upcoming-badge { left: auto; right: 0; translate: 0 0; font-size: .62rem; padding: 4px 9px; } }

/* 404 page */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound-box { text-align: center; display: grid; justify-items: center; gap: 14px; max-width: 640px; }
.notfound-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--navy-900); display: flex; align-items: center; gap: .08em; }
.notfound-egg { display: inline-block; width: .62em; height: .8em; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; background: radial-gradient(circle at 50% 62%, var(--gold-400) 0 30%, #fff 31%); box-shadow: 0 10px 24px -10px rgba(var(--base-rgb), .45), inset 0 0 0 3px var(--gold-300); }
.notfound h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0; }
.notfound p { color: var(--muted); margin: 0 0 8px; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* language prompt (shared links open in their own language; this offers the visitor's own) */
.lang-ask { position: fixed; z-index: 400; left: 50%; top: calc(var(--header-total, 72px) + 12px); translate: -50% -12px; opacity: 0; transition: opacity .3s, translate .3s; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 24px); padding: 10px 12px 10px 18px; border-radius: 999px; background: var(--navy-900); color: #fff; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); font-size: .92rem; }
.lang-ask.is-in { opacity: 1; translate: -50% 0; }
.lang-ask-go { padding: 6px 14px; border-radius: 999px; background: var(--gold-500); color: var(--navy-950); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lang-ask-x { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .lang-ask { border-radius: 18px; font-size: .85rem; padding: 10px 12px; } }
/* 404 sits on navy so the transparent header stays readable, and clears the fixed header */
.notfound { padding-top: calc(var(--header-total) + clamp(40px, 6vw, 72px)) !important; min-height: 100vh; }
.notfound .notfound-num { color: var(--white); }
.notfound h1 { color: var(--white); }
.notfound p { color: var(--od-3); }
.notfound .btn--outline { border-color: rgba(234, 212, 158, .6); color: var(--gold-300); }
.notfound .btn--outline:hover { background: var(--gold-300); color: var(--navy-950); }
.lang-ask { border: 1px solid rgba(234, 212, 158, .45); }
/* language prompt: two buttons, switch (gold) or stay (outline) */
.lang-ask { padding: 8px; gap: 8px; }
.lang-ask-go, .lang-ask-stay { padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .9rem; white-space: nowrap; cursor: pointer; }
.lang-ask-stay { border: 1px solid rgba(234, 212, 158, .55); background: transparent; color: var(--gold-300); }
.lang-ask-stay:hover { background: rgba(234, 212, 158, .12); }
@media (max-width: 560px) { .lang-ask { border-radius: 999px; } .lang-ask-go, .lang-ask-stay { padding: 8px 12px; font-size: .82rem; } }
/* phones: hero label (A&P AGRI PRODUCT GROUP · SINCE 1985) on one line */
@media (max-width: 560px) { .hero .eyebrow { white-space: nowrap; font-size: clamp(.56rem, 2.9vw, .75rem); letter-spacing: .1em; gap: 8px; } .hero .eyebrow::before { width: 18px; flex: none; } }
.hero h1 em::after { bottom: .14em; }
/* narrow phones: smaller stats card */
@media (max-width: 420px) {
  .stats .stat { padding: 18px 14px !important; }
  .stats .stat strong, .stats .stat .num { font-size: 1.9rem !important; }
  .stats .stat p { font-size: .8rem !important; line-height: 1.45; }
}
@media (max-width: 420px) { .stats .stat-num { font-size: 1.6rem; } .stats .stat-label { font-size: .78rem; line-height: 1.45; margin-top: 4px; } }
@media (min-width: 421px) and (max-width: 760px) { .stats .stat { padding: 22px 20px; } .stats .stat-num { font-size: 1.75rem; } .stats .stat-label { font-size: .85rem; } }
/* phones: the two promises (no hormones / no antibiotics) side by side */
@media (max-width: 760px) {
  .promise-main { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .promise { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 10px; }
  .promise-ic { width: 40px; height: 40px; }
  .promise-ic svg { width: 20px; height: 20px; }
  .promise strong { font-size: .88rem; }
  .promise small { font-size: .7rem; letter-spacing: .03em; }
}
/* narrow phones: phone + contact details on one row, LINE below */
@media (max-width: 420px) {
  .cta-band .actions { display: grid !important; grid-template-columns: auto auto; justify-content: start; gap: 10px; }
  .cta-band .actions .btn--gold { order: 1; }
  .cta-band .actions .btn--ghost { order: 2; }
  .cta-band .actions .line-btn { order: 3; grid-column: 1 / -1; justify-self: start; }
  .cta-band .actions .btn { padding-inline: 16px; font-size: .9rem; }
}
@media (max-width: 560px) { .hero .eyebrow { font-size: clamp(.6rem, 3.55vw, .8rem); letter-spacing: .11em; } }
/* storage note sits right under the spec row (weight / pack) */
.pd-hero .spec-row:has(+ .pd-note) { margin-bottom: 12px; }
.pd-hero .spec-row + .pd-note { margin-top: 0; margin-bottom: 26px; }
@media (max-width: 900px) { .pd-hero .container > div:first-child > .pd-note { order: 6; } }
/* phones: spec row and storage note centred */
@media (max-width: 699px) {
  .pd-hero .container > div:first-child > .spec-row { justify-content: center; text-align: center; }
  .pd-hero .container > div:first-child > .pd-note { align-self: center; justify-content: center; }
}
/* narrow phones: tighten the hero a little so both buttons show without scrolling */
@media (max-width: 420px) {
  .hero .container { padding-top: 4px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero h1 { margin-bottom: 2px !important; line-height: 1.12; }
  .hero-hens { max-width: 88% !important; margin: -4px auto 6px !important; }
  .hero-lead { font-size: .9rem; line-height: 1.6; margin-bottom: 14px !important; }
}
.pd-hero .spec-row { border-top: 0; }
@media (max-width: 420px) { .section-head h2.section-title:has(.nw) { font-size: clamp(1.35rem, 6.6vw, 1.8rem); } }
@media (max-width: 699px) { .snake .upcoming-badge { display: none !important; } }
/* Fold / tablets: Upcoming badge below the year instead of floating above the icon */
@media (min-width: 700px) and (max-width: 1100px) {
  .snake:not(.is-vertical) .snake-item.is-upcoming .upcoming-badge { position: static; translate: none; order: 10; margin: 8px auto 0; font-size: .66rem; padding: 4px 10px; }
}
/* phones: QR + name on one row, add-friend button full width below */
@media (max-width: 699px) {
  .contact-line-box { display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 14px 18px; }
  .contact-line-box > div { display: contents; }
  .contact-line-box h3 { grid-column: 2; grid-row: 1; margin: 0 !important; }
  .contact-line-box .line-btn { grid-column: 1 / -1; grid-row: 2; justify-content: center; width: 100%; }
}
/* phones: trim the empty sky/ground around the hero farm scene so the buttons come up */
@media (max-width: 560px) {
  .hero-hens { margin: -11% auto -9% !important; }
  .hero-lead { margin-bottom: 12px !important; }
}
.lo-br { display: none; }
@media (max-width: 699px) { .contact-line-box h3 { justify-self: center; text-align: center; font-size: 1.15rem !important; } .lo-dot { display: none; } .lo-br { display: inline; } }
@media (max-width: 560px) {
  .hero-hens { margin: -15% auto -13% !important; }
  .hero-lead { margin-bottom: 10px !important; }
  .hero .eyebrow { margin-bottom: 6px !important; }
}
/* phones: hero tags on one line */
@media (max-width: 560px) {
  .hero-tags { flex-wrap: nowrap !important; gap: 10px !important; justify-content: space-between; }
  .hero-tags > * { white-space: nowrap; font-size: clamp(.62rem, 3vw, .8rem) !important; gap: 4px !important; }
  .hero-tags svg { width: 14px !important; height: 14px !important; }
}
@media (max-width: 560px) { .hero-lead { font-size: 1.02rem !important; line-height: 1.65; } }
/* ordering switched off: links are now clean URLs ("order" instead of "order.html") */
.shop-off a[href="order"], .shop-off a[href="../order"], .shop-off a[href$="/order"], .shop-off a[href^="order#"], .shop-off a[href^="order?"] { display: none !important; }

/* egg price board (hidden page /egg-price) */
.pb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pb-date span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.pb-date strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-900); }
.pb-sample { padding: 6px 14px; border-radius: 999px; background: #FDECEC; color: #B3261E; font-size: .82rem; font-weight: 600; }
.pb-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.pb-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pb-table th, .pb-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pb-table thead th { background: var(--navy-900); color: var(--gold-300); font-size: .82rem; font-weight: 600; }
.pb-table tbody tr:last-child td { border-bottom: 0; }
.pb-num { text-align: right !important; font-weight: 600; color: var(--navy-900); }
.pb-table thead th:nth-child(n+3) { text-align: right; }
.pb-chg { text-align: right !important; color: var(--muted); font-size: .9rem; }
.pb-chg.up { color: #1E8E3E; } .pb-chg.down { color: #C5221F; }
.pb-h3 { margin: 32px 0 12px; font-size: 1.1rem; }
.pb-hist thead th { text-align: right; } .pb-hist thead th:first-child { text-align: left; }
@media (max-width: 560px) { .pb-table th, .pb-table td { padding: 10px 10px; font-size: .85rem; } }
/* egg price page: compact, everything on the first screen */
.price-page { padding-top: calc(var(--header-total) + 20px) !important; padding-bottom: 40px !important; }
.price-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 4px; }
.pb-head { margin-bottom: 14px; }
.pb-date { font-size: .95rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.pb-date strong { font-family: inherit; font-size: inherit; color: var(--navy-900); }
.pb-table th, .pb-table td { padding-block: 10px; }
/* pages without a dark hero (egg prices): header always solid navy */
body:has(.price-page) .site-header { background: rgba(var(--deep-rgb), .96); backdrop-filter: blur(10px); box-shadow: 0 6px 20px -12px rgba(0,0,0,.4); }

/* egg price page v2 */
.pp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.pp-card { background: var(--white); border: 1px solid rgba(201, 162, 75, .45); border-radius: 26px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 24px 60px -34px rgba(var(--base-rgb), .45); }
.pp-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); text-align: center; margin: 0 0 4px; line-height: 1.3; }
.pp-on { color: var(--gold-600); }
.pp-updated { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.pp-updated strong { color: var(--navy-900); }
.pp-sample { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #FDECEC; color: #B3261E; font-size: .74rem; font-weight: 600; }
.pp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.pp-table thead th { background: var(--gold-100); color: var(--navy-900); font-family: var(--font-head); font-size: .98rem; padding: 14px 10px; text-align: center; }
.pp-table thead th:first-child { border-radius: 999px 0 0 999px; } .pp-table thead th:last-child { border-radius: 0 999px 999px 0; }
.pp-table td { padding: 10px; text-align: center; border-bottom: 1px solid #F3EBD8; color: var(--navy-800); }
.pp-table tbody tr:last-child td { border-bottom: 0; }
.pp-table td strong { font-size: 1.08rem; color: var(--navy-900); }
.pp-table td small { font-size: .82rem; color: var(--navy-800); } .pp-table td small i { font-style: normal; color: #B9B2A2; }
.pp-mix td { background: #FFFBF1; font-weight: 600; }
.pp-note { text-align: right; font-size: .74rem; color: var(--muted); margin: 6px 4px 14px; }
.pp-contact { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: var(--gold-100); }
.pp-contact img { width: 92px; height: 92px; border-radius: 10px; background: #fff; padding: 4px; }
.pp-lines { display: grid; gap: 10px; }
.pp-lines a { display: flex; gap: 10px; align-items: center; color: var(--navy-900); text-decoration: none; font-size: 1.02rem; }
.pp-lines b { display: block; font-size: .8rem; font-weight: 700; color: var(--navy-800); }
.pp-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--gold-600); font-size: 1rem; }
.pp-ic--line { background: #06C755; color: #fff; font-size: .55rem; font-weight: 800; }
.pp-packs { position: relative; aspect-ratio: 1 / 1.05; }
.pp-packs::before { content: ""; position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, .28), transparent 68%); }
.pk { position: absolute; width: 78%; filter: drop-shadow(0 22px 26px rgba(var(--base-rgb), .28)); }
.pk-1 { left: 11%; top: 2%; } .pk-2 { left: 0; top: 40%; width: 70%; transform: rotate(-4deg); } .pk-3 { right: 0; top: 60%; width: 68%; transform: rotate(5deg); }
@media (max-width: 900px) {
  .pp { grid-template-columns: 1fr; }
  .pp-packs { order: -1; aspect-ratio: auto; height: 230px; max-width: 460px; width: 100%; margin: 0 auto -10px; }
  .pk { width: 52%; } .pk-1 { left: 24%; top: 0; } .pk-2 { left: 0; top: 46%; width: 46%; } .pk-3 { right: 0; top: 50%; width: 46%; }
}
@media (max-width: 560px) {
  .pp-packs { display: none; }
  .pp-table thead th { font-size: .8rem; padding: 10px 6px; } .pp-table td { padding: 8px 4px; font-size: .86rem; }
  .pp-table td strong { font-size: .95rem; } .pp-table td small { font-size: .7rem; }
  .pp-contact { grid-template-columns: 72px 1fr; } .pp-contact img { width: 72px; height: 72px; }
}
.pp-title { text-wrap: balance; } .pp-card { min-width: 0; }
@media (max-width: 560px) { .pp-on { display: block; } .pp-updated .pp-sample { display: table; margin: 6px auto 0; } .pp-note { text-align: center; } }

/* egg price board v3: navy board with gold price tiles */
.pb2 { background: radial-gradient(120% 90% at 0% 0%, var(--navy-700), var(--navy-950)); color: var(--od-2); border-radius: 28px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 70px -36px rgba(var(--base-rgb), .7); border: 1px solid rgba(234, 212, 158, .25); min-width: 0; }
.pb2-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pb2-eyebrow { font-size: .7rem; letter-spacing: .2em; color: var(--gold-400); font-weight: 700; }
.pb2 .pp-title { text-align: left; color: var(--white); margin: 4px 0; }
.pb2 .pp-updated { text-align: left; margin: 0; color: var(--od-5); }
.pb2 .pp-updated strong { color: var(--gold-300); }
.pb2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pb2-tile { display: grid; gap: 2px; padding: 14px 14px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(234, 212, 158, .18); }
.pb2-tile.is-mix { grid-column: span 2; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); border-color: transparent; color: var(--navy-950); }
.pb2-name { font-size: .82rem; color: var(--od-4); }
.pb2-price strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb2-price small { margin-left: 4px; font-size: .74rem; color: var(--gold-300); }
.pb2-tray { font-size: .76rem; color: var(--od-5); } .pb2-tray b { color: var(--od-2); }
.is-mix .pb2-name, .is-mix .pb2-tray, .is-mix .pb2-tray b, .is-mix .pb2-price small { color: rgba(10, 27, 54, .78); }
.is-mix .pb2-price strong { color: var(--navy-950); font-size: 2.1rem; }
.pb2 .pp-note { color: var(--od-6); text-align: right; margin: 8px 2px 16px; }
.pb2-foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; padding-top: 16px; border-top: 1px solid rgba(234, 212, 158, .2); }
.pb2-foot a { display: flex; gap: 10px; align-items: center; color: var(--white); text-decoration: none; font-size: 1rem; }
.pb2-foot b { display: block; font-size: .72rem; font-weight: 600; color: var(--od-5); }
.pb2-foot img { width: 64px; height: 64px; border-radius: 10px; background: #fff; padding: 3px; }
.pb2 .pp-ic { background: rgba(255,255,255,.1); color: var(--gold-300); }
.pb2 .pp-ic--line { background: #06C755; color: #fff; }
@media (max-width: 760px) {
  .pb2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb2-foot { grid-template-columns: 1fr auto; } .pb2-foot img { grid-row: 1 / span 2; grid-column: 2; }
  .pb2-price strong { font-size: 1.45rem; }
}
.pb2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb2-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; } .pb2-price small { margin: 0; white-space: nowrap; }
@media (max-width: 760px) { .pb2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb2-tile.is-mix { grid-column: 1 / -1; } }

/* egg price page: Omax poster on the right */
.pp-poster { position: relative; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 26px 22px 0; text-align: center; min-height: 100%; display: flex; flex-direction: column; align-items: center; box-shadow: 0 30px 70px -40px rgba(var(--base-rgb), .5); }
.pp-poster::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 46%; background: linear-gradient(160deg, #8CC63F, #5FA82B); border-radius: 60% 60% 0 0 / 40% 40% 0 0; z-index: 0; }
.pp-poster > * { position: relative; z-index: 1; }
.pp-wordmark { width: min(62%, 240px); height: auto; }
.pp-slogan { font-family: var(--font-head); font-weight: 700; color: #6B4423; font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 6px 0 8px; }
.pp-brush { display: inline-block; padding: 6px 26px; background: #4CAF50; color: #fff; font-weight: 700; font-size: .98rem; border-radius: 4px 14px 6px 16px; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 rgba(76, 175, 80, .25); }
.pp-stair { position: relative; width: 100%; aspect-ratio: 1 / .78; margin-top: 14px; }
.ps { position: absolute; height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .22)); }
.ps-3 { width: 44%; right: 2%; top: 0; } .ps-2 { width: 44%; right: 10%; top: 17%; } .ps-1 { width: 44%; right: 18%; top: 34%; }
.ps-j { width: 50%; left: 0; top: 46%; transform: rotate(-3deg); } .ps-c { width: 50%; left: 20%; top: 64%; transform: rotate(2deg); }
.pp-hand { position: absolute; font-family: "Mali", var(--font-head); font-style: italic; font-weight: 700; font-size: clamp(.95rem, 1.6vw, 1.25rem); }
.h3 { right: 48%; top: 2%; color: #2E6B3A; } .h2 { right: 56%; top: 19%; color: #A22B2B; } .h1 { right: 64%; top: 36%; color: #1D4E9E; }
.pp-quote { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: clamp(1.1rem, 1.9vw, 1.45rem); margin: auto 0 18px; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pp { align-items: stretch; }
@media (max-width: 900px) { .pp-poster { order: 2; } }
@media (max-width: 560px) { .pp-poster { display: flex; } }
/* poster layout v2: tidy stair top-right with labels on the left, Jumbo + Cage-Free side by side below */
.pp-stair { aspect-ratio: 1 / .9; margin-top: 10px; }
.ps-3 { width: 40%; right: 4%; top: 0; }
.ps-2 { width: 40%; right: 14%; top: 15%; }
.ps-1 { width: 40%; right: 24%; top: 30%; }
.h3 { right: 46%; top: 4%; } .h2 { right: 56%; top: 19%; } .h1 { right: 66%; top: 34%; }
.ps-j { width: 47%; left: 2%; top: 58%; transform: rotate(-2deg); }
.ps-c { width: 47%; left: auto; right: 2%; top: 60%; transform: rotate(2deg); }
.pp-poster::after { height: 40%; }

/* price board as a list: one size per row, read top to bottom */
.pb2-grid.pb2-list { display: grid; grid-template-columns: 1fr; gap: 6px; }
.pb2-row-head, .pb2-list .pb2-tile { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 92px; align-items: center; gap: 12px; }
.pb2-row-head { padding: 0 16px 4px; font-size: .74rem; color: var(--od-5); }
.pb2-row-head span:nth-child(3), .pb2-row-head span:nth-child(4) { text-align: right; }
.pb2-list .pb2-tile { grid-column: auto !important; padding: 9px 16px; border-radius: 14px; }
.pb2-badge { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; background: rgba(234, 212, 158, .14); color: var(--gold-300); border: 1px solid rgba(234, 212, 158, .35); }
.pb2-list .pb2-name { font-size: .98rem; color: var(--white); }
.pb2-list .pb2-price { justify-content: flex-end; }
.pb2-list .pb2-price strong { font-size: 1.5rem; }
.pb2-list .pb2-tray { text-align: right; font-size: .82rem; }
.pb2-list .pb2-tile.is-mix .pb2-badge { background: var(--navy-950); color: var(--gold-300); border-color: transparent; }
.pb2-list .pb2-tile.is-mix .pb2-name { color: var(--navy-950); font-weight: 700; }
.pb2-list .pb2-tile.is-mix .pb2-price strong { font-size: 1.7rem; }
.pb2-list .pb2-tile:not(.is-mix):nth-child(odd) { background: rgba(255, 255, 255, .025); }
@media (max-width: 560px) {
  .pb2-row-head, .pb2-list .pb2-tile { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; }
  .pb2-row-head span:nth-child(4) { display: none; }
  .pb2-list .pb2-tray { grid-column: 3; grid-row: 2; margin-top: -4px; }
  .pb2-badge { width: 30px; height: 30px; font-size: .9rem; }
  .pb2-list .pb2-tile { padding: 8px 12px; }
  .pb2-list .pb2-name { font-size: .88rem; }
  .pb2-list .pb2-badge { grid-row: 1 / span 2; } .pb2-list .pb2-name { grid-row: 1 / span 2; }
}
.pb2-list .pb2-tile { padding: 6px 16px; }
.pb2-list .pb2-price strong { font-size: 1.32rem; }
.pb2-list .pb2-tile.is-mix .pb2-price strong { font-size: 1.5rem; }
.pb2-badge { width: 32px; height: 32px; font-size: .95rem; }
.pb2 { padding-block: 22px; } .pb2-head { margin-bottom: 10px; } .pb2 .pp-note { margin: 4px 2px 10px; } .pb2-foot { padding-top: 12px; }
/* poster: no green wave; brown quote and a products button */
.pp-poster::after { content: none; }
.pp-quote { color: #6B4423; text-shadow: none; margin: auto 0 12px; }
.pp-cta { margin-bottom: 24px; }
/* price list: no box per row, fixed columns so prices line up, larger tray price */
.pb2-row-head, .pb2-list .pb2-tile { grid-template-columns: 36px minmax(0, 1fr) 150px 130px; }
.pb2-list .pb2-tile:not(.is-mix) { background: none !important; border: 0; border-bottom: 1px solid rgba(234, 212, 158, .14); border-radius: 0; }
.pb2-list .pb2-tile:last-child { border-bottom: 0; }
.pb2-list { gap: 0 !important; }
.pb2-list .pb2-tile.is-mix { margin-bottom: 6px; }
.pb2-list .pb2-price strong, .pb2-list .pb2-tray b { font-variant-numeric: tabular-nums; }
.pb2-list .pb2-tray { font-size: 1rem; color: var(--od-4); }
.pb2-list .pb2-tray b { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); }
.pb2-list .is-mix .pb2-tray b { color: var(--navy-950); }
@media (max-width: 560px) {
  .pb2-row-head, .pb2-list .pb2-tile { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .pb2-list .pb2-tray { font-size: .85rem; } .pb2-list .pb2-tray b { font-size: .95rem; }
}
.pp-poster { justify-content: flex-start; } .pp-quote { margin: 4px 0 12px; } .pp-stair { aspect-ratio: 1 / .82; }
/* egg-shaped size icons: size 0 biggest, size 6 smallest */
.pb2-egg { width: 36px; height: 40px; display: grid; place-items: center; }
.pb2-egg i { display: grid; place-items: center; width: calc(30px * var(--s)); height: calc(38px * var(--s)); border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: linear-gradient(160deg, #FFF6E2, #E9CF98); box-shadow: inset -2px -3px 0 rgba(176, 138, 54, .35), 0 3px 8px rgba(0,0,0,.3); color: var(--navy-950); font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: calc(.95rem * var(--s)); line-height: 1; padding-top: 3px; }
.is-mix .pb2-egg i { background: var(--navy-950); color: var(--gold-300); box-shadow: none; }
/* clearer colours */
.pb2-row-head { color: var(--gold-300); font-weight: 600; }
.pb2-list .pb2-price small { color: var(--gold-300); }
.pb2-list .pb2-tray { color: var(--od-3); }
.pb2-list .is-mix .pb2-tray, .pb2-list .is-mix .pb2-price small { color: var(--navy-950); font-weight: 600; }
.pb2-list .pb2-tile:not(.is-mix) { border-bottom-color: rgba(234, 212, 158, .2); }
.pb2-list .pb2-tile[data-item="mix"] { border-bottom: 1px solid rgba(234, 212, 158, .2); }
.pb2-list .pb2-tile[data-item="mix"] .pb2-egg i { background: linear-gradient(160deg, #FFF6E2, #E9CF98); color: var(--navy-950); }
.pp-stair { aspect-ratio: 1 / .74; } .pp-quote { margin: -6px 0 10px; } .pp-cta { margin-bottom: 0; } .pp-poster { justify-content: center; padding-bottom: 22px; }
.pb2-side { display: grid; justify-items: end; gap: 8px; text-align: right; }
.pb2 .pb2-upd { text-align: right; }
@media (max-width: 560px) { .pb2-side { justify-items: start; text-align: left; } .pb2 .pb2-upd { text-align: left; } }
/* LINE popup: egg-price page gets its own text and no AP FEED link */
.lp-price { display: none; }
body:has(.price-page) .lp-default { display: none; }
body:has(.price-page) .lp-price { display: block; }
body:has(.price-page) .line-alt { display: none !important; }
.pb2-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 8px 2px 12px; }
.pb2-meta .pp-updated, .pb2-meta .pp-note { margin: 0 !important; text-align: left; }
.pb2-meta .pp-note { text-align: right; }
.pb2-meta .pp-updated { flex: 1 1 auto; min-width: 0; white-space: normal; }
.pb2-meta .pp-note { flex: none; }
/* ?card=1: only the price board, for the LINE image */
.card-shot .site-header, .card-shot footer, .card-shot .site-footer, .card-shot .pp-poster, .card-shot .line-fab, .card-shot .fab-stack, .card-shot [class*="fab"], .card-shot .line-pop, .card-shot .fb-pop { display: none !important; }
.card-shot body { background: #F3EEE2; }
.card-shot .price-page { padding: 16px !important; min-height: 0; }
.card-shot .container { max-width: none; padding: 0; }
.card-shot .pp { grid-template-columns: 1fr; }
.card-shot .pp-sample { display: none; }
/* card-shot: board at the website's desktop width */
.card-shot .pp { display: block; max-width: 620px; margin: 0 auto; }
/* phones: same one-row layout as desktop, just scaled down */
@media (max-width: 760px) {
  .pb2 { padding: 18px 14px; border-radius: 22px; }
  .pb2-row-head, .pb2-list .pb2-tile { grid-template-columns: 24px minmax(0, 1fr) auto auto !important; gap: 8px !important; }
  .pb2-row-head span:nth-child(4) { display: block !important; }
  .pb2-row-head { padding: 0 6px 4px; font-size: .62rem; }
  .pb2-list .pb2-tile { padding: 8px 6px !important; }
  .pb2-list .pb2-egg, .pb2-list .pb2-name, .pb2-list .pb2-tray { grid-row: auto !important; grid-column: auto !important; margin: 0 !important; }
  .pb2-egg { width: 24px; height: 30px; } .pb2-egg i { width: calc(22px * var(--s)); height: calc(28px * var(--s)); font-size: calc(.72rem * var(--s)); }
  .pb2-list .pb2-name { font-size: .82rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pb2-list .pb2-price strong { font-size: 1.05rem !important; }
  .pb2-list .pb2-price small, .pb2-list .pb2-tray { font-size: .62rem !important; }
  .pb2-list .pb2-tray b { font-size: .92rem !important; }
  .pb2-list .pb2-tray { min-width: 64px; text-align: right; }
  .pb2-meta .pp-updated { font-size: .72rem; } .pb2-meta .pp-note { font-size: .64rem; }
  .pb2-foot { grid-template-columns: 1fr 1fr auto !important; gap: 8px; }
  .pb2-foot img { grid-row: auto !important; grid-column: auto !important; width: 52px; height: 52px; }
  .pb2-foot a { font-size: .8rem; gap: 6px; } .pb2-foot b { font-size: .58rem; }
  .pb2 .pp-ic { width: 28px; height: 28px; font-size: .75rem; } .pb2 .pp-ic--line { font-size: .45rem; }
  .pb2 .pp-title { font-size: 1.25rem; }
}
/* card-shot: transparent around the rounded board, no outline */
.card-shot, .card-shot body, .card-shot main, .card-shot .price-page { background: transparent !important; }
.card-shot .pb2 { border: 0; box-shadow: none; }
.pb2-line { display: grid; gap: 8px; justify-items: start; }
.pb2-add { display: inline-flex !important; padding: 6px 14px; border-radius: 999px; background: #06C755; color: #fff !important; font-size: .78rem !important; font-weight: 700; }
.card-shot .pb2-add { display: none !important; }
.pb2-line { gap: 10px; }
.pb2-add { margin-left: 46px; }
@media (max-width: 760px) { .pb2-add { margin-left: 34px; padding: 5px 10px; font-size: .68rem !important; } }
.pb2-add { display: none !important; }
.pb2-foot a > span:last-child { text-align: center; }
.pb2-foot b { margin-bottom: 0; line-height: 1.3; } .pb2-foot a > span:last-child { line-height: 1.25; }
.pb2-list .pb2-tile, .pb2-list .pb2-tile[data-item] { border-bottom: 0 !important; }
/* LINE ordering as a soft green pill button */
.pb2-line > a:first-child { padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(6, 199, 85, .16); border: 1px solid rgba(6, 199, 85, .5); transition: background .2s; }
.pb2-line > a:first-child:hover { background: rgba(6, 199, 85, .26); }
.pb2-line > a:first-child b { color: #BFF2D2; }
.pb2-line > a:first-child .pp-ic--line { width: 34px; height: 34px; }
/* LINE ordering pill: label on one line */
.pb2-line > a:first-child b { white-space: nowrap; }
.pb2-foot { grid-template-columns: minmax(0, 1fr) auto auto; }
@media (max-width: 760px) { .pb2-line > a:first-child { padding: 6px 12px 6px 6px; } .pb2-line > a:first-child b { font-size: .56rem !important; } }

/* Narrow phones / Galaxy Fold cover screen: LINE button full width on top,
   phone + QR side by side below; the phone number never wraps. */
@media (max-width: 520px) {
  .pb2-foot { grid-template-columns: minmax(0, 1fr) auto !important; gap: 12px !important; }
  .pb2-foot > .pb2-line { grid-column: 1 / -1; grid-row: 1; justify-items: stretch; }
  .pb2-foot > .pb2-line > a:first-child { justify-content: flex-start; padding: 8px 16px 8px 8px; }
  .pb2-foot > .pb2-line > a:first-child > span:last-child { text-align: left; }
  .pb2-foot > a[href^="tel:"] { grid-column: 1; grid-row: 2; }
  .pb2-foot > a[href^="tel:"] > span:last-child { text-align: left; white-space: nowrap; font-size: 1rem; }
  .pb2-foot > a[href^="tel:"] b { white-space: nowrap; font-size: .7rem; }
  .pb2-foot > img { grid-column: 2 !important; grid-row: 2 !important; width: 72px !important; height: 72px !important; }
}
/* LINE ordering pill: outline only, content centred */
.pb2-line > a:first-child { background: transparent !important; border: 1.5px solid #06C755 !important; justify-content: center; }
.pb2-line > a:first-child:hover { background: rgba(6, 199, 85, .08) !important; }
.pb2-line { justify-items: center; }
/* footer: phone left, LINE pill exactly centred, QR right */
.pb2-foot { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
.pb2-foot > img { justify-self: end; }
/* footer: three items spaced evenly, labels never wrap */
.pb2-foot { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; }
.pb2-foot b { white-space: nowrap; }
.pb2-foot > img { flex: none; }
