:root {
  --ink: #102b38;
  --paper: #f7f6f2;
  --muted: #4e626a;
  --line: #dce2df;
  --orange: #ed9368;
  --accent-text: #954526;
  --gutter: clamp(24px, 5.4vw, 104px);
}

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c9663c; outline-offset: 4px; }
body { font-family: "Inter", "Aptos", system-ui, sans-serif; }
header { height: 78px; padding-inline: var(--gutter); }
nav { gap: clamp(14px, 2vw, 30px); font-size: 14px; font-weight: 590; }
nav a[aria-current="location"] { color: var(--accent-text); text-decoration: underline; text-underline-offset: 7px; }
nav .btn:hover { color: white; background: #254755; }
.btn { border-radius: 5px; padding: 14px 20px; gap: 12px; font-size: 14px; }
.btn:hover { filter: brightness(1.05); }
.btn .arrow, .text-link .arrow, .cat .arrow { display: none !important; }
.section { padding-inline: var(--gutter); }
.section-top h2, .section h2 { letter-spacing: -.05em; }
.section-top p { max-width: 430px; font-size: 16px; line-height: 1.6; }
.eyebrow { font-size: 12px; font-weight: 750; letter-spacing: .13em; }
.note { font-size: 13px; }
.skip-link { position: fixed; z-index: 40; top: 8px; left: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.trade-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: clamp(510px, 67vh, 740px);
  align-items: center;
  color: #fff;
  background: #0c222d;
}
.trade-hero img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 77%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 59%;
  z-index: -2;
}
.trade-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0c222d 23%, #0c222df2 33%, #0c222d9c 57%, #0c222d21 100%),
    linear-gradient(0deg, #0c222d9c, transparent 55%);
}
.trade-hero-content { padding: 68px var(--gutter) 90px; width: 100%; }
.trade-hero .eyebrow { color: #ffc4a4; }
.trade-hero h1 { font-size: clamp(48px, 6.75vw, 110px); margin: 24px 0; max-width: 14ch; line-height: .98; letter-spacing: -.07em; text-wrap: balance; }
.trade-hero p { color: #e0e9e9; max-width: 42ch; font-size: clamp(17px, 1.43vw, 21px); line-height: 1.55; }
.trade-hero .hero-actions { gap: 12px; }
.trade-hero .btn.outline { background: #0c222d6b; }

.divisions { position: relative; margin: -39px var(--gutter) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; z-index: 1; }
.division-link { min-height: 158px; padding: 22px; display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px #102b3810; }
.division-link img { width: 100%; height: 108px; object-fit: cover; border-radius: 5px; }
.division-link strong { display: block; font-size: clamp(20px, 2vw, 29px); letter-spacing: -.04em; line-height: 1.2; }
.division-link small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.division-link:hover { border-color: #b75b37; }
.division-link:hover strong { color: var(--accent-text); }

.catalog-tools { border: 0; gap: 16px; margin: 0; padding: 0 0 16px; font-size: 14px; letter-spacing: 0; }
.catalog-tools label { width: min(100%, 370px); min-width: 0; }
.catalog-tools input, .customer-toolbar input { width: 100%; display: block; padding: 12px 14px; min-height: 46px; border: 1px solid #aebbb7; border-radius: 5px; font-size: 16px; background: white; }
.catalog-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); }
#clear-products { padding: 9px 4px; border: 0; background: none; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
.range-filters { gap: 8px; margin-bottom: 25px; }
.range-filters button { padding: 10px 14px; min-height: 44px; border-radius: 5px; font-size: 14px; font-weight: 600; }
.range-filters button.active { background: var(--ink); }
.categories { gap: 20px; }
.cat { min-width: 0; align-self: stretch; padding: 0; border: 1px solid var(--line); background: white; border-radius: 9px; overflow: hidden; }
.cat:hover { background: white; border-color: #ba6d49; }
.product-photo { width: 100%; margin-bottom: 0; aspect-ratio: 16 / 10; }
.cat-copy { padding: 18px; }
.cat h3 { min-height: 0; font-size: 21px; padding: 0; }
.cat p { min-height: 0; font-size: 15px; line-height: 1.5; }
.cat .cat-sector { display: block; color: var(--accent-text); font-size: 13px; margin-bottom: 9px; font-weight: 650; }
.cat .explore { font-size: 14px; letter-spacing: 0; margin-top: 14px; color: var(--accent-text); }
#no-products { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 6px; }

#food-commodities { background: #e9efea; }
.food-card { border-radius: 8px; }
.food-card img { aspect-ratio: 16 / 11; transition: scale .38s ease; }
.food-card:hover img { scale: 1.025; }
.food-card-body { position: relative; background: white; }
.food-card a { color: var(--accent-text); text-decoration: underline; }
.service p, .industrial-about p, .enquiry p, .faqs details p { font-size: 16px; line-height: 1.65; }
.industrial-services { gap: 18px; }
.industrial-services .service { padding: 22px; background: white; border: 1px solid var(--line); border-top: 3px solid #ad5836; border-radius: 7px; }
.industrial-services .service h3, .industrial-services .service p { min-height: 0; }
.service ul { font-size: 14px; }
.form input, .form select, .form textarea { font-size: 16px; }
.form small { font-size: 13px; }

@media (max-width: 900px) {
  header { height: 72px; }
  header nav { top: 72px; }
  .division-link { padding: 16px; grid-template-columns: 82px 1fr; gap: 14px; }
  .division-link img { height: 82px; }
  .industrial-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 83px; }
  .trade-hero { min-height: 530px; align-items: flex-end; }
  .trade-hero img { width: 100%; object-position: 65% 40%; }
  .trade-hero::after { background: linear-gradient(0deg, #0c222d 0%, #0c222df0 26%, #0c222d6b 100%); }
  .trade-hero-content { padding-block: 80px 60px; }
  .trade-hero h1 { font-size: clamp(41px, 10.5vw, 65px); }
  .divisions { margin-top: 16px; grid-template-columns: 1fr; }
  .division-link { min-height: 104px; }
  .catalog-tools { display: flex; align-items: stretch; flex-direction: column-reverse; }
  .catalog-tools label { margin: 0; }
  .categories { gap: 14px; }
  .cat-copy { padding: 12px; }
  .cat h3 { font-size: 18px; }
  .cat p { font-size: 14px; }
  .industrial-services { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .categories { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .trade-hero-content { animation: rise-in .72s cubic-bezier(.22,.61,.36,1) both; }
  .trade-hero img { animation: settle-image 1.3s ease-out both; }
  .division-link, .cat { transition: border-color .22s ease, translate .22s ease, box-shadow .22s ease; }
  .division-link:hover, .cat:hover { translate: 0 -3px; box-shadow: 0 11px 26px #102b3814; }
  .reveal-in { animation: rise-in .68s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes rise-in { from { opacity: .15; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
  @keyframes settle-image { from { scale: 1.04; } to { scale: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cat:hover .product-photo img, .food-card:hover img { transform: none; scale: none; }
}

.catalog-more:not(:has([hidden])) { margin-top: 24px; }
.catalog-more:has([hidden]) { display: none; }

.product-photo { height: auto; }
@media (max-width: 780px) {
  header .menu { display: block; border: 1px solid #aebbb7; padding: 9px 12px; background: white; color: var(--ink); border-radius: 5px; }
  header nav { display: none; position: absolute; left: 0; right: 0; padding: 18px var(--gutter) 23px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; box-shadow: 0 12px 28px #102b381a; }
  header nav.open { display: flex; }
  header nav a { padding-block: 7px; }
  header nav .btn { display: inline-flex; align-self: flex-start; padding: 12px 16px; }
}
