
/* Layout: sticky bar with dropdown menu, full-bleed hero/page heads, then bands alternating ground and surface. */
:root {
  --ground: #f2f4f0;      /* chalky field-grey with a green bias */
  --surface: #ffffff;
  --ink: #14211b;
  --ink-soft: #4f5d55;
  --line: #d9ded6;
  --wheat: #c98a12;       /* ripe wheat: the one bold accent */
  --wheat-ink: #2a1c00;
  --moss: #2d5a3c;
  --up: #2d7a46;
  --down: #b2452f;
  --band: #f7efd9;        /* sunlit straw band */
  --band-fg: #14211b;
  --wheat-deep: #9a6400;  /* accent for text on light grounds */
  color-scheme: light;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.6rem);
  --step-4: clamp(2.5rem, 6.2vw, 4.6rem);
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.eyebrow { font: 500 .78rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.demo-tag { font: 500 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: 4px 7px; border-radius: 99px; border: 1px dashed currentColor; color: var(--ink-soft); white-space: nowrap; }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Header */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.3rem/1 var(--f-display); letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { font: 500 .72rem/1 var(--f-mono); color: var(--ink-soft); letter-spacing: .08em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1.5px solid transparent; font: 600 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--wheat); color: var(--wheat-ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; color: var(--ink); font: 600 .9rem var(--f-body); cursor: pointer; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 800; margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--wheat); }
.hero .lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 34ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero scene: a bright summer-day field, colours set explicitly */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #a9d4ee; color: var(--ink); padding-block: clamp(48px, 8vw, 96px) clamp(150px, 20vw, 260px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(250,249,243,.88) 0%, rgba(250,249,243,.6) 42%, rgba(250,249,243,0) 70%); }
.hero .eyebrow { color: var(--ink-soft); }
.hero h1 { text-shadow: 0 1px 20px rgba(255,255,255,.6); }
.hero h1 em { color: var(--wheat-deep); }
.hero .lead { color: #2c3a33; text-shadow: 0 1px 12px rgba(255,255,255,.7); }
.hero .btn-line { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.hero .board { color: var(--ink); box-shadow: 0 30px 60px -30px rgba(40,60,50,.35); }
@media (max-width: 900px) { .hero::before { background: linear-gradient(180deg, rgba(250,249,243,.85), rgba(250,249,243,.5) 55%, rgba(250,249,243,0) 75%); } }

.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 16px; box-shadow: 0 30px 60px -40px rgba(20,33,27,.45); min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.board-head h2 { font-size: var(--step-1); }
.board table { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); padding: 10px 0; border-bottom: 1px solid var(--line); }
.board th:not(:first-child), .board td:not(:first-child) { text-align: right; }
.board td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.board tr:last-child td { border-bottom: 0; }
.board td:first-child { font-weight: 500; }
.chg { font: 500 .85rem var(--f-mono); font-variant-numeric: tabular-nums; padding-left: 12px; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); } .chg.flat { color: var(--ink-soft); }
.board-foot { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-soft); max-width: 46ch; }
.surface { background: var(--surface); border-block: 1px solid var(--line); }

/* Services: ruled list, not cards */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 72px); }
.service { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; padding-block: 26px; border-top: 1.5px solid var(--ink); }
.service svg { width: 36px; height: 36px; grid-row: span 2; color: var(--moss); }
.service p { color: var(--ink-soft); }

/* Harvest calendar */
.cal-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); }
.cal { position: relative; display: grid; grid-template-columns: 132px repeat(24, minmax(18px, 1fr)); min-width: 640px; padding: 18px 20px 14px; row-gap: 10px; }
.cal .m { grid-column: span 2; font: 500 .72rem/1 var(--f-mono); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; border-left: 1px solid var(--line); padding: 2px 0 8px 6px; }
.cal .lbl { grid-column: 1; font-weight: 600; font-size: .95rem; align-self: center; }
.cal .seg { height: 26px; border-radius: 99px; background: var(--wheat); align-self: center; display: flex; align-items: center; padding-inline: 10px; font: 500 .7rem/1 var(--f-mono); color: var(--wheat-ink); white-space: nowrap; overflow: hidden; }
.cal .seg.oil { background: var(--moss); color: var(--surface); }
.cal .now { position: absolute; top: 8px; bottom: 8px; width: 2px; background: var(--down); pointer-events: none; }
.cal .now span { position: absolute; top: -2px; left: 6px; font: 500 .68rem/1 var(--f-mono); color: var(--down); white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: 22px; height: 10px; border-radius: 99px; margin-right: 8px; vertical-align: middle; background: var(--wheat); }
.legend i.oil { background: var(--moss); }

/* Quality */
.quality { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.q { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.q b { font: 500 var(--step-2)/1 var(--f-mono); letter-spacing: -0.02em; }
.q b small { font-size: .9rem; color: var(--ink-soft); margin-left: 4px; }
.q span { color: var(--ink-soft); font-size: .92rem; }

/* About band */
.band { background: var(--band); color: var(--band-fg); border-block: 1px solid #eadfbf; }
.band .eyebrow { color: color-mix(in srgb, var(--band-fg) 65%, transparent); }
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about h2 { margin-block: 14px 20px; }
.about p { color: color-mix(in srgb, var(--band-fg) 78%, transparent); max-width: 56ch; }
.about p + p { margin-top: 14px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 18px; border-bottom: 1px solid color-mix(in srgb, var(--band-fg) 18%, transparent); }
.facts dt { color: color-mix(in srgb, var(--band-fg) 65%, transparent); }
.facts dd { margin: 0; font: 700 var(--step-2)/1 var(--f-display); color: var(--wheat-deep); }

/* Contact + form */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); }
.cinfo { display: grid; gap: 22px; align-content: start; }
.cinfo dl { margin: 0; display: grid; gap: 18px; }
.cinfo dt { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 6px; }
.cinfo dd { margin: 0; font-size: var(--step-1); font-weight: 500; user-select: all; }
.cinfo .maplink { font-weight: 600; color: var(--moss); }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--ground); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--wheat); }
textarea { min-height: 96px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot small { color: var(--ink-soft); }
.ok { grid-column: 1 / -1; background: color-mix(in srgb, var(--up) 14%, var(--surface)); border: 1px solid var(--up); border-radius: 10px; padding: 14px 16px; }
.err { color: var(--down); font-size: .85rem; }

footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--ink-soft); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  form { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Multi-page additions ---- */
.brand { white-space: nowrap; }

/* Dropdown navigation (mirrors the original site's menu tree) */
.nav { align-items: center; }
.nav > .item { position: relative; }
.nav .top { display: inline-flex; align-items: center; gap: 6px; padding-block: 22px; text-decoration: none; font-weight: 500; color: var(--ink-soft); background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.nav .top:hover, .nav .item.current > .top { color: var(--ink); }
.nav .item.current > .top { box-shadow: inset 0 -2px 0 var(--wheat); }
.nav .caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav .sub { position: absolute; top: 100%; left: -16px; min-width: 280px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -24px rgba(20,33,27,.35); display: none; z-index: 30; }
.nav .item:hover > .sub, .nav .item:focus-within > .sub { display: block; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--ground); }
.nav .sub .sub2 { list-style: none; margin: 0 0 4px 12px; padding: 0 0 0 10px; border-left: 1.5px solid var(--line); }
.nav .sub .sub2 a { font-weight: 400; color: var(--ink-soft); padding-block: 7px; font-size: .94rem; }
.nav .search-link { display: inline-flex; padding: 8px; border-radius: 99px; color: var(--ink-soft); }
.nav .search-link:hover { color: var(--ink); background: var(--surface); }
.nav .search-link svg { width: 18px; height: 18px; }

/* Page header for inner pages */
.page-head { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: #e9eee6; padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-head img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(248,247,240,.95) 0%, rgba(248,247,240,.82) 45%, rgba(248,247,240,.25) 100%); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; margin-top: 14px; max-width: 22ch; }
.page-head .eyebrow { color: var(--ink-soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Inner page layout: section nav + prose */
.page { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); }
.side h2 { font: 500 .78rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 10px; }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side ul ul { margin-left: 12px; padding-left: 10px; border-left: 1.5px solid var(--line); }
.side a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.side a:hover { color: var(--ink); background: var(--surface); }
.side a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 3px 0 0 var(--wheat); }

.prose { max-width: 70ch; min-width: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .3em; }
.prose li::marker { color: var(--wheat); }
.prose .lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.prose details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px 16px; }
.prose details summary { cursor: pointer; font-weight: 600; }
.prose details p { margin-top: .6em; color: var(--ink-soft); font-size: .95rem; }

.kv { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); margin-block: 1.4em; }
.kv dt, .kv dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--ink-soft); font-size: .9rem; padding-right: 16px; }
.kv dd { font-weight: 500; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.table-wrap th { font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); background: var(--ground); }
.table-wrap td.n, .table-wrap th.n { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap tfoot td { font-weight: 700; border-bottom: 0; }

/* Photo gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 2em; }
.gallery button { padding: 0; border: 0; background: var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; max-width: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery.contain button { background: #fff; }
.gallery.contain img { object-fit: contain; padding: 8px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(6,10,8,.88); }
dialog.lightbox img { display: block; max-width: 100%; max-height: 84vh; border-radius: 10px; margin: 0 auto; }
dialog.lightbox p { color: #e9eee9; text-align: center; margin-top: 10px; font-size: .92rem; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: #fbf3e2; color: #14211b; font-size: 1.4rem; cursor: pointer; }

/* Home: division cards with real photos */
.divisions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.division { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: #fbf3e2; text-decoration: none; isolation: isolate; background: #13232c; }
.division img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.division::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,20,0) 40%, rgba(10,18,20,.78) 100%); }
.division:hover img { transform: scale(1.05); }
.division .body { padding: 20px; display: grid; gap: 6px; }
.division h3 { font-size: 1.15rem; overflow-wrap: anywhere; hyphens: auto; }
.division p { font-size: .92rem; color: rgba(251,243,226,.85); }
.division .more { font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: #f5c46a; margin-top: 6px; }

.activities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); list-style: none; padding: 0; margin: 0; }
.activities li { padding-block: 16px; border-top: 1.5px solid var(--ink); font-weight: 500; display: flex; gap: 12px; align-items: baseline; }
.activities li span { font: 500 .75rem/1 var(--f-mono); color: var(--ink-soft); }
.main-activity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 28px; font-size: var(--step-2); font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; }
.main-activity small { font: 500 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }

/* Port feature */
.port { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.port figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.port figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.port h2 { margin-block: 14px 18px; }
.port p { color: color-mix(in srgb, var(--band-fg) 80%, transparent); }

/* Hero facts card (replaces sample prices) */
.facts-card dl { margin: 0; display: grid; }
.facts-card dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.facts-card dl div:last-child { border-bottom: 0; }
.facts-card dt { color: var(--ink-soft); font-size: .95rem; }
.facts-card dd { margin: 0; font: 700 1.35rem/1 var(--f-display); color: var(--ink); text-align: right; white-space: nowrap; }
.facts-card dd small { font: 500 .8rem var(--f-body); color: var(--ink-soft); margin-left: 4px; }

/* Timeline (a real sequence, so it is ordered) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.timeline li { border-top: 3px solid var(--wheat); padding-top: 14px; display: grid; gap: 6px; }
.timeline b { font: 700 var(--step-3)/1 var(--f-display); }
.timeline span { color: var(--ink-soft); }

/* Tender list */
.tenders { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tenders a { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; height: 100%; }
.tenders a:hover { border-color: var(--wheat); }
.tenders code { font: 500 .8rem var(--f-mono); color: var(--ink-soft); }
.tenders strong { font-weight: 600; }
.tenders .meta { font-size: .88rem; color: var(--ink-soft); }
.logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.logos img { height: 64px; width: auto; max-width: 100%; background: #fff; border-radius: 8px; padding: 6px; border: 1px solid var(--line); }

/* EU funding info block: kept visible in the lower right corner, as on the original site */
.infoblokk { position: fixed; right: 0; bottom: 0; z-index: 25; width: clamp(130px, 14vw, 200px); line-height: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; border-top-left-radius: 10px; box-shadow: 0 -6px 24px -10px rgba(0,0,0,.35); }
.infoblokk img { width: 100%; height: auto; border-top-left-radius: 10px; }

footer { padding-bottom: calc(clamp(130px, 14vw, 200px) * .7 + 20px); }

/* Sitemap + search */
.search-box { display: flex; gap: 10px; margin-bottom: 24px; max-width: 520px; }
.search-box input { flex: 1; }
.sitemap { columns: 2 280px; column-gap: 40px; }
.sitemap ul { list-style: none; padding: 0; margin: 0; }
.sitemap > ul > li { break-inside: avoid; margin-bottom: 22px; }
.sitemap > ul > li > a { font-weight: 700; font-family: var(--f-display); font-size: 1.15rem; }
.sitemap ul ul { margin-top: 8px; padding-left: 14px; border-left: 1.5px solid var(--line); display: grid; gap: 6px; }
.sitemap a { text-decoration: none; }
.sitemap a:hover { color: var(--moss); text-decoration: underline; }
.hits { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hits a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; }
.hits small { display: block; color: var(--ink-soft); }
.photo-band { margin-top: 2em; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1060px) {
  .divisions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-head::before { background: linear-gradient(180deg, rgba(248,247,240,.92), rgba(248,247,240,.8)); }
  .page, .port { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 24px; }
  .activities, .timeline, .tenders { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 16px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav .top { padding-block: 12px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav .item.current > .top { box-shadow: none; color: var(--ink); }
  .nav .sub { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 12px; min-width: 0; }
  .nav .item:hover > .sub, .nav .item:focus-within > .sub { display: none; }
  .nav .item.open > .sub { display: block; }
  .nav .search-link { padding: 12px 0; }
  .menu-btn { display: inline-block; }
  .bar .btn-primary { display: none; }
}
@media (max-width: 600px) {
  .divisions { grid-template-columns: minmax(0, 1fr); }
  .division { min-height: 260px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .infoblokk { width: 110px; }
  footer { padding-bottom: 100px; }
}

/* Hero: aerial harvest photo with a slow drone-style camera move (pan + push-in + slight bank) */
.hero { background: #d9cfae; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; object-position: 60% 60%;
  transform-origin: 62% 58%; animation: flyover 14s ease-in-out infinite alternate; will-change: transform; }
@keyframes flyover {
  0%   { transform: scale(1.02) translate3d(2.5%, 2%, 0) rotate(-.6deg); }
  50%  { transform: scale(1.16) translate3d(-1%, -1.5%, 0) rotate(.2deg); }
  100% { transform: scale(1.3) translate3d(-3.5%, -3%, 0) rotate(.8deg); }
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 40%, rgba(255,250,235,0) 50%, rgba(40,30,10,.18) 100%); }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; transform: scale(1.08); } }

/* Animated wheat field at the bottom of every page, just above the footer */
.field-band { position: relative; height: clamp(180px, 24vw, 320px); overflow: hidden; background: #e6cf92; margin-top: clamp(24px, 4vw, 48px); }
.field-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.field-band + footer { border-top: 0; }
