/* =====================================================================
   TAMCU LTD — site stylesheet
   Palette is taken from the union's seal: deep ring blue, leaf green,
   cashew-apple yellow and red. Headings use condensed Archivo, like the
   stencilled lettering on produce sacks; body copy is Public Sans.
   ===================================================================== */

:root {
  --ink: #0d2250;        /* seal ring, deep */
  --blue: #2348b4;       /* seal ring, bright — links & actions */
  --blue-dark: #1a3890;
  --leaf: #2e7d32;       /* in season, price up */
  --cashew: #f2b21b;     /* cashew apple yellow — season highlight */
  --apple: #c8381f;      /* cashew apple red — price down, alerts */
  --paper: #f3f5f1;      /* page background */
  --surface: #ffffff;
  --line: #d9ded6;
  --text: #15202e;
  --muted: #586374;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(13, 34, 80, .06), 0 6px 18px rgba(13, 34, 80, .06);
  --shadow-lg: 0 18px 50px rgba(13, 34, 80, .18);
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cashew); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cashew); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.005em; }
.display { font-stretch: 78%; font-weight: 800; text-transform: uppercase; }
h1.display { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .98; }
h2.display { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 90%; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--leaf); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--cashew); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-white { background: var(--surface); }
.section-ink { background: var(--ink); color: #dfe6f5; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head > div { max-width: 680px; }
.section-head .lede { margin: 12px 0 0; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.15fr .85fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-cashew { background: var(--cashew); color: var(--ink); }
.btn-cashew:hover { background: #e3a20c; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .i { transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Top bar & price ticker ---------- */
.topbar { background: #081735; color: #c9d3ea; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 38px; }
.ticker { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; gap: 36px; white-space: nowrap; animation: ticker 40s linear infinite; padding-right: 36px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 6px; }
.ticker-item b { color: #fff; font-weight: 700; }
.ticker-label { color: var(--cashew); font-weight: 700; }
.up { color: #6fcf73; } .down { color: #ff8a73; }
@keyframes ticker { to { transform: translateX(-50%); } }
.topbar-links { display: none; gap: 18px; align-items: center; }
.topbar-links a { color: #c9d3ea; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; }
@media (min-width: 900px) { .topbar-links { display: flex; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.brand:hover { color: #fff; }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: #fff; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 1.3rem; line-height: 1; letter-spacing: .01em; display: block; }
.brand-sub { font-size: .72rem; color: #aebbd8; line-height: 1.25; display: block; margin-top: 3px; max-width: 230px; }
.nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
.nav a { color: #dfe6f5; padding: 8px 11px; border-radius: 8px; font-size: .92rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--cashew); border-radius: 8px 8px 2px 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 8px; padding: 3px; }
.lang button { border: 0; background: none; color: #aebbd8; font-size: .78rem; font-weight: 800; padding: 6px 9px; border-radius: 6px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--cashew); color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
.header .btn-contact { display: none; }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .menu-btn { display: none; }
  .header .btn-contact { display: inline-flex; }
}
@media (max-width: 420px) { .brand-sub { display: none; } .brand img { width: 42px; height: 42px; } }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 23, 53, .55); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--surface); z-index: 150; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head strong { font-family: var(--font-display); font-stretch: 80%; font-size: 1.2rem; color: var(--ink); }
.drawer-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; padding: 12px; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--paper); }
.drawer-foot { margin-top: auto; padding: 16px 20px 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.drawer .lang { background: var(--paper); justify-self: start; }
.drawer .lang button { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-media img.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,23,53,.92) 0%, rgba(8,23,53,.72) 45%, rgba(8,23,53,.35) 100%), linear-gradient(0deg, rgba(8,23,53,.7), transparent 40%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 32px; padding-top: clamp(40px, 8vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1fr 440px; align-items: center; min-height: min(78vh, 720px); } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--cashew); }
.hero-kicker { font-weight: 700; color: #cfd8ee; font-size: .95rem; margin-bottom: 16px; display: block; }
.hero-text { color: #dfe6f5; font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 52ch; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { margin-top: 28px; font-size: .82rem; color: #aebbd8; display: flex; align-items: center; gap: 8px; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 22px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--cashew); width: 34px; }

/* ---------- Season board (signature) ---------- */
.board { background: rgba(255,255,255,.97); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--cashew); color: var(--ink); }
.board-head h2 { font-size: 1.15rem; font-stretch: 80%; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.board-head span { font-size: .78rem; font-weight: 700; }
.board-row { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board-row-top { display: flex; align-items: center; gap: 12px; }
.board-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper); }
.board-name { font-family: var(--font-display); font-weight: 800; font-stretch: 85%; font-size: 1.2rem; color: var(--ink); line-height: 1.1; }
.board-months { font-size: .82rem; color: var(--muted); font-weight: 600; }
.board-links { margin-left: auto; display: flex; gap: 6px; }
.board-links a { font-size: .74rem; font-weight: 800; padding: 7px 9px; border-radius: 7px; background: var(--ink); color: #fff; white-space: nowrap; }
.board-links a + a { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.board-links a:hover { background: var(--blue); color: #fff; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-top: 10px; }
.months span { height: 20px; border-radius: 4px; background: #e9ece6; font-size: .62rem; font-weight: 700; color: #8a93a0; display: flex; align-items: center; justify-content: center; position: relative; }
.months span.on { background: var(--cashew); color: var(--ink); }
.months span.now { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.board-other { padding: 12px 18px 16px; background: #fafbf8; }
.board-other h3 { font-size: .8rem; font-weight: 800; color: var(--muted); font-family: var(--font-body); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; }
.chip b { color: var(--ink); }
.chip small { color: var(--muted); font-weight: 600; }
.status { display: inline-block; font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: #e7f2e7; color: var(--leaf); margin-left: 6px; vertical-align: 2px; }
.status.off { background: #eef0f3; color: var(--muted); }

/* ---------- Facts strip ---------- */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .facts .wrap { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px 12px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
@media (max-width: 759px) { .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.fact strong { display: block; font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); line-height: 1; }
.fact span { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
a.card { color: inherit; }
.card:hover { box-shadow: var(--shadow); }
a.card:hover { transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #fff6dd; color: #8a5a00; }
.tag-green { background: #e7f2e7; color: var(--leaf); }
.tag-blue { background: #e6ecfa; color: var(--blue); }

/* Crop cards: image fills, label stamped on it */
.crop { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); color: #fff; display: flex; align-items: flex-end; }
.crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.crop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,23,53,.92) 0%, rgba(8,23,53,.25) 55%, transparent 80%); }
.crop:hover img { transform: scale(1.04); }
.crop-body { position: relative; z-index: 1; padding: 20px; }
.crop-body h3 { color: #fff; font-size: 1.7rem; font-stretch: 78%; font-weight: 800; text-transform: uppercase; }
.crop-body p { color: #d5dcec; font-size: .9rem; margin: 6px 0 0; }
.crop .tag { margin-bottom: 8px; }
a.crop:hover { color: #fff; }

/* Services */
.service { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: #e6ecfa; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.service-icon .i { width: 26px; height: 26px; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }
.service .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Leadership ---------- */
.message { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 860px) { .message { grid-template-columns: 340px 1fr; } }
.portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #e6ecfa, #cfd9f0); aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 12px 14px; }
.portrait figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); font-stretch: 88%; font-size: 1.1rem; }
.portrait figcaption span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.portrait-empty { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.portrait-empty .i { width: 30%; height: 30%; opacity: .35; stroke-width: 1.4; }
.quote { font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.7; color: var(--text); }
.signature { margin-top: 20px; padding-top: 16px; border-top: 2px solid var(--cashew); display: inline-block; }
.signature strong { display: block; color: var(--ink); font-size: 1.05rem; }
.signature span { color: var(--muted); font-size: .9rem; }
.leaders { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.leader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.leader .portrait { border-radius: 0; aspect-ratio: 1; }
.leader-body { padding: 14px 16px 18px; }
.leader-body strong { display: block; color: var(--ink); font-size: 1.02rem; }
.leader-body span { color: var(--muted); font-size: .88rem; }
.leader-body p { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Data tables ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 42px; }
.tabs button img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 14px; }
.select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 36px 8px 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d2250' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-weight: 700; color: var(--ink); }
.summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 760px) { .summary { grid-template-columns: repeat(4, 1fr); } }
.summary div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.summary span { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; }
.summary strong { font-family: var(--font-display); font-stretch: 85%; font-size: 1.45rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.table-title { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ink); color: #fff; }
.table-title h3 { color: #fff; font-size: 1.1rem; font-stretch: 82%; text-transform: uppercase; font-weight: 800; }
.table-title span { margin-left: auto; font-size: .8rem; color: #aebbd8; font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.data th { text-align: left; font-size: .74rem; font-weight: 800; color: var(--ink); background: #fff6dd; padding: 11px 12px; border-bottom: 2px solid var(--cashew); white-space: nowrap; }
.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.data tbody tr:nth-child(even) td { background: #fafbf8; }
.data tbody tr:hover td { background: #f1f5fd; }
.data .r { text-align: right; }
.data td small { display: block; color: var(--muted); font-size: .78rem; white-space: normal; }
.data td.hi { color: var(--leaf); font-weight: 700; }
.data td.lo { color: var(--apple); font-weight: 700; }
.data td.avg { font-weight: 800; color: var(--ink); }
.data tfoot td { font-weight: 800; background: #eef2fb; color: var(--ink); border-bottom: 0; }
.data th:first-child, .data td:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
.data td:first-child { background: var(--surface); color: var(--muted); font-weight: 700; }
.data tbody tr:nth-child(even) td:first-child { background: #fafbf8; }
.data th:first-child { background: #fff6dd; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.empty .i { width: 36px; height: 36px; margin: 0 auto 10px; color: #b5bdc9; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Bar chart (production) */
.bars { display: grid; gap: 10px; padding: 18px; }
.bar { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; }
.bar-track { height: 14px; background: #eef0ec; border-radius: 7px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--leaf), #58a35c); border-radius: 7px; width: 0; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.bar:last-child .bar-fill { background: linear-gradient(90deg, #d79a00, var(--cashew)); }
.bar small { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Daily updates viewer ---------- */
.updates { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(14px, 2.4vw, 24px); }
@media (min-width: 860px) { .updates { grid-template-columns: minmax(0, 420px) 1fr; } }
.update-image { position: relative; aspect-ratio: 1080 / 1350; border-radius: 12px; overflow: hidden; background: var(--paper); }
.update-image img { width: 100%; height: 100%; object-fit: contain; }
.update-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.update-text h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-stretch: 82%; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.update-body { color: var(--text); white-space: pre-line; }
.thumbs { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; overflow-x: auto; scrollbar-width: thin; }
.thumbs button { flex: none; width: 72px; aspect-ratio: 1080 / 1350; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--paper); position: relative; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--cashew); }
.thumbs button span { position: absolute; left: 4px; top: 4px; background: var(--ink); color: #fff; font-size: .62rem; font-weight: 800; padding: 1px 5px; border-radius: 4px; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 14px; }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 132px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.3; }
.partner img { max-height: 58px; max-width: 120px; width: auto; object-fit: contain; filter: grayscale(.2); }
.partner:hover { border-color: var(--blue); color: var(--blue); }
.partner:hover img { filter: none; }
.partner-mark { width: 58px; height: 58px; border-radius: 50%; background: #e6ecfa; color: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 1rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero .wrap { position: relative; padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #cfd8ee; margin-top: 14px; }
.crumbs { font-size: .84rem; color: #aebbd8; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: #dfe6f5; }

/* ---------- Prose / lists ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; font-stretch: 88%; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #2b3646; }
.prose ul { padding-left: 1.2em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--leaf); margin-top: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.kv { display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { color: var(--ink); text-align: right; }

/* Regions */
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.region { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.region strong { color: var(--ink); display: block; }
.region small { color: var(--muted); }
.region b { font-family: var(--font-display); font-stretch: 80%; font-size: 1.6rem; color: var(--blue); }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0b1630; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c7cdd6; border-radius: 10px; background: var(--surface); font-size: 1rem; }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35,72,180,.18); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert[hidden] { display: none; }
.alert-ok { background: #e7f2e7; color: #1d5b20; }
.alert-err { background: #fde9e5; color: #8b2412; }
.alert-warn { background: #fff6dd; color: #6e4a00; }

/* Contact */
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.contact-item .service-icon { width: 44px; height: 44px; }
.contact-item strong { display: block; color: var(--ink); font-size: .85rem; }
.contact-item a, .contact-item span { color: var(--text); font-weight: 600; word-break: break-word; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius-lg); background: var(--paper); }

/* Staff portal */
.portal { min-height: calc(100vh - 110px); display: grid; place-items: center; padding: 40px var(--gutter); background: radial-gradient(1200px 600px at 10% -10%, #1f3c86 0%, transparent 60%), var(--ink); }
.portal-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: 20px; padding: clamp(24px, 5vw, 36px); box-shadow: var(--shadow-lg); }
.portal-card img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.portal-card h1 { font-size: 1.8rem; font-stretch: 80%; text-transform: uppercase; font-weight: 800; }
.portal-card p { color: var(--muted); }
.construction { text-align: center; }
.construction .i { width: 54px; height: 54px; color: var(--cashew); margin: 0 auto 12px; }

/* ---------- CTA band ---------- */
.cta { background: var(--leaf); color: #e8f3e8; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta h2 { color: #fff; }
.cta p { margin: 8px 0 0; max-width: 60ch; }

/* ---------- Footer ---------- */
.footer { background: #081735; color: #aebbd8; padding: 56px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #aebbd8; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { color: var(--cashew); margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.socials a:hover { background: var(--blue); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Article ---------- */
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); margin-bottom: 28px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { white-space: pre-line; font-size: 1.06rem; line-height: 1.8; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.skeleton { background: linear-gradient(90deg, #eceee9 25%, #f6f7f4 50%, #eceee9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; min-height: 120px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
@media print { .topbar, .header, .footer, .drawer, .cta { display: none !important; } body { background: #fff; } }

/* Grid tracks must never grow to fit wide content (tables, nowrap rows) — keep everything inside the viewport. */
.split, .hero-inner, .message, .updates, .grid { grid-template-columns: minmax(0, 1fr); }
.split > *, .hero-inner > *, .message > *, .updates > *, .grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.15fr .85fr; } }
@media (min-width: 980px) { .hero-inner { grid-template-columns: minmax(0, 1fr) 440px; } }
@media (min-width: 860px) { .message { grid-template-columns: 340px minmax(0, 1fr); } .updates { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } }
@media (max-width: 520px) {
  .board-row-top { flex-wrap: wrap; }
  .board-links { margin-left: 0; width: 100%; }
  .board-links a { flex: 1; text-align: center; padding: 9px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section-head { margin-bottom: 24px; }
}
@media (max-width: 859px) { .message .portrait { max-width: 280px; } .portrait-empty { aspect-ratio: 1; max-width: 180px; } .portrait-empty figcaption { display: none; } }
