/* Mari-Tec — site stylesheet. Design notes live in DESIGN.md. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/caladea-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/caladea-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --navy: #1b2550;        /* topsides */
  --navy-deep: #121936;
  --red: #a3222f;         /* antifouling */
  --red-deep: #861a26;
  --boot: #0e1220;        /* boot-top line */
  --ink: #151a2d;
  --text: #2d3448;
  --muted: #586177;
  --line: #d4d9e2;
  --line-soft: #e4e8ee;
  --chalk: #f6f7f9;
  --plate: #e9edf3;       /* matches the 3D stage background */
  --white: #fff;
  --on-navy: #e8ebf3;
  --on-navy-muted: #b3bbd0;
  --serif: "Caladea", Cambria, "Hoefler Text", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8.5vw, 116px);
  --header-h: 78px;
  --radius: 3px;
  --shadow: 0 1px 2px rgb(18 25 54 / .06), 0 12px 32px -12px rgb(18 25 54 / .18);
  --waterline: linear-gradient(to bottom, var(--navy) 0 38%, var(--boot) 38% 50%, var(--red) 50% 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--navy); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; 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(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.page-top-anchor { position: absolute; top: 0; }
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mt-icon { width: 22px; height: 22px; flex: none; }
.section-motif, .image-shine, .scroll-depth-layer { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, .section-heading { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); line-height: 1.04; }
h2, .section-heading { font-size: clamp(1.8rem, 3.3vw, 2.7rem); line-height: 1.1; max-width: 25ch; }
h3 { font-size: 1.3rem; line-height: 1.22; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }

/* the label carries the hull colours as a small flag: navy over red */
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 .875rem/1.3 var(--sans); color: var(--red) !important; letter-spacing: .01em; }
.section-label::before { content: ""; flex: none; width: 26px; height: 8px; background: var(--waterline); }
.section-intro { color: var(--muted); max-width: 62ch; font-size: 1.0625rem; }
.about-statement { margin-top: 22px; font-size: 1.19rem; line-height: 1.58; color: var(--text); max-width: 60ch; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button .mt-icon { width: 18px; height: 18px; transition: transform .18s; }
.button:hover .mt-icon { transform: translateX(3px); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-deep); }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: var(--navy-deep); }
.button-ghost-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-ghost-dark:hover { background: var(--navy); color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line-soft); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(18 25 54 / .35); }
.site-header.is-menu-open { background: var(--surface); }
.nav-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark-3d { display: block; width: 52px; height: 52px; flex: none; }
.brand-mark-3d img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { display: grid; line-height: 1.1; }
.brand-word strong { font: 700 1.45rem/1 var(--serif); color: var(--navy); letter-spacing: -.01em; }
.brand-word span { margin-top: 5px; font: 500 .72rem/1 var(--sans); color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .dropdown-main { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border: 0; background: none; border-radius: var(--radius); font: 500 .97rem/1 var(--sans); color: var(--ink); text-decoration: none; position: relative; }
.nav-links > a::after, .nav-dropdown > .dropdown-main::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links > a:hover::after, .nav-links > a.active::after, .nav-dropdown:hover > .dropdown-main::after, .nav-dropdown.active > .dropdown-main::after, .nav-dropdown.open > .dropdown-main::after { transform: scaleX(1); }
.nav-dropdown { display: flex; align-items: center; }
.nav-dropdown--simple { position: relative; }
.dropdown-main { padding-right: 4px; }
.nav-dropdown > .dropdown-main::after { right: 4px; }
.dropdown-toggle { width: 26px; height: 44px; padding: 0; border: 0; background: none; color: var(--muted); display: inline-grid; place-items: center; }
.dropdown-toggle span { display: block; width: 8px; height: 8px; overflow: hidden; text-indent: -99px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-dropdown.open .dropdown-toggle span { transform: translateY(2px) rotate(-135deg); }
.nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--red); color: #fff; border-radius: var(--radius); font: 600 .97rem/1 var(--sans); text-decoration: none; transition: background-color .18s; }
.nav-cta:hover { background: var(--red-deep); }

.mega-menu, .dropdown-menu { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-dropdown.open > .mega-menu, .nav-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.mega-menu { left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 10px solid transparent; border-image: var(--waterline) 1; border-image-slice: 0 0 10 0; box-shadow: 0 30px 50px -30px rgb(18 25 54 / .4); max-height: calc(100vh - var(--header-h)); overflow: auto; }
.mega-menu-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-block: 34px 40px; }
.mega-side-label { display: none; }
.mega-menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; }
.mega-menu--products .mega-menu-list { grid-template-columns: 1fr; }
.mega-menu-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid var(--navy); font: 700 1.25rem/1.2 var(--serif); color: var(--ink); }
.mega-menu-heading a { font: 600 .9rem/1 var(--sans); color: var(--red); text-decoration: none; }
.mega-menu-heading a:hover { text-decoration: underline; }
.mega-menu-item { display: grid; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 8px; padding: 13px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; }
.mega-item-number { font: 600 .8rem/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.mega-item-arrow { color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .15s, transform .15s; display: grid; }
.mega-item-arrow .mt-icon { width: 18px; height: 18px; }
.mega-menu-item:hover, .mega-menu-item.is-previewed { color: var(--red); }
.mega-menu-item:hover .mega-item-arrow, .mega-menu-item.is-previewed .mega-item-arrow { opacity: 1; transform: none; }
.mega-preview { display: grid; grid-template-columns: 1fr; align-content: start; gap: 18px; text-decoration: none; }
.mega-preview-image { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--plate); }
.mega-preview-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .12s; }
.mega-preview-image img.is-switching { opacity: .2; }
.mega-preview-copy span { font: 600 .8rem/1 var(--sans); color: var(--red); }
.mega-preview-copy h2 { margin: 6px 0 8px; font-size: 1.5rem; max-width: none; }
.mega-preview-copy p { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.mega-preview-copy b { display: inline-block; margin-top: 12px; font-size: .92rem; color: var(--navy); }
.mega-preview-copy i { font-style: normal; }
.dropdown-menu { left: 0; min-width: 300px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dropdown-menu a { display: block; padding: 12px 14px; border-radius: 2px; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink); }
.dropdown-menu a:hover { background: var(--plate); }

.mobile-menu-btn { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); place-items: center; align-content: center; gap: 5px; }
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-panel { display: none; }
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: grid; }
  .brand-mark-3d { width: 46px; height: 46px; }
  .mobile-panel.open { display: block; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow: auto; background: var(--surface); border-top: 1px solid var(--line-soft); padding: 8px var(--gutter) 28px; box-shadow: 0 30px 40px -24px rgb(18 25 54 / .4); }
  .mobile-panel a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font: 500 1.06rem/1.2 var(--sans); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .mobile-panel a.active { color: var(--red); }
  .mobile-nav-group > div:first-child { display: flex; border-bottom: 1px solid var(--line-soft); }
  .mobile-nav-group > div:first-child a { flex: 1; border: 0; }
  .mobile-sub-toggle { width: 52px; height: 52px; border: 0; border-left: 1px solid var(--line-soft); background: none; font-size: 1.2rem; color: var(--navy); transition: transform .2s; }
  .mobile-nav-group.open .mobile-sub-toggle { transform: rotate(180deg); border-left: 0; border-right: 1px solid var(--line-soft); }
  .mobile-submenu { display: none; padding: 4px 0 8px 16px; background: var(--chalk); }
  .mobile-nav-group.open .mobile-submenu { display: block; }
  .mobile-submenu a { min-height: 46px; font-size: .98rem; color: var(--text); }
  .mobile-panel a.contact-mobile-link { margin-top: 20px; justify-content: center; background: var(--red); color: #fff; border: 0; border-radius: var(--radius); font-weight: 600; }
}

/* ---------- section rhythm ---------- */
main > section { padding-block: var(--section); }
main > section.page-hero { padding-block: 0; }
main > section.operations, main > section.open-jobs-section, main > section.purchasing-process, main > section.farm-gallery-section { background: var(--chalk); border-block: 1px solid var(--line-soft); }
.section-heading + .section-intro { margin-top: 18px; }

/* ---------- inner page hero: topsides above, waterline below ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--on-navy); isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 12px 54%; background: var(--page-image, none) center / cover no-repeat; z-index: -1; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(to bottom, var(--boot) 0 3px, var(--red) 3px 100%); }
.page-hero > .container { padding-block: clamp(56px, 8vw, 104px) calc(clamp(56px, 8vw, 104px) + 12px); min-height: clamp(340px, 38vw, 460px); display: flex; flex-direction: column; justify-content: center; }
.page-hero > .container > * { max-width: min(50%, 600px); }
.hr-admin-hero > .container > * { max-width: 640px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.1vw, 3.4rem); }
.page-hero p { margin-top: 20px; font-size: 1.14rem; line-height: 1.55; color: var(--on-navy); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font: 500 .875rem/1.3 var(--sans); color: var(--on-navy-muted); }
.crumbs a { color: var(--on-navy-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs > span:last-child { color: #fff; }
.page-hero .button-primary { background: var(--surface); color: var(--navy); }
.page-hero .button-primary:hover { background: var(--plate); }
.store-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.store-hero-actions > span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; color: var(--on-navy); }
.store-hero-actions i { width: 22px; height: 8px; background: linear-gradient(to bottom, #fff 0 50%, var(--red) 50%); }
@media (max-width: 860px) {
  .page-hero::before { position: relative; display: block; inset: auto; height: 46vw; max-height: 300px; z-index: 0; }
  .page-hero:not([style])::before { display: none; }
  .page-hero > .container { min-height: 0; padding-block: 36px 52px; }
  .page-hero > .container > * { max-width: none; }
}

/* ---------- shared content blocks ---------- */
.feature-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.image-panel, .product-feature-image { position: relative; min-height: 420px; aspect-ratio: 5 / 5.2; border-radius: var(--radius); background: var(--plate) center / cover no-repeat; overflow: hidden; }
.product-feature-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-badge { position: absolute; left: 0; bottom: 0; padding: 12px 18px 12px 16px; background: var(--surface); border-top-right-radius: var(--radius); font: 600 .85rem/1.2 var(--sans); color: var(--navy); border-left: 6px solid var(--red); }
.content-list { list-style: none; margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.content-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.content-list .mt-icon { color: var(--red); margin-top: 3px; }
.content-list strong { color: var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill-row span { padding: 7px 13px; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 2px; font: 500 .9rem/1.2 var(--sans); color: var(--ink); background: var(--surface); }

/* numbered sequences and value sets: ruled columns, serif numerals */
.operations-grid, .purchasing-steps, .highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 56px); }
.operation, .purchasing-steps article, .highlight { padding-top: 22px; border-top: 3px solid var(--navy); }
.operation-number, .purchasing-steps article > span { display: block; font: 700 2.5rem/1 var(--serif); color: var(--red); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.operation h3, .purchasing-steps h3 { margin-bottom: 10px; }
.operation p, .purchasing-steps p, .highlight span { color: var(--muted); }
.highlight strong { display: block; font: 700 2.1rem/1.1 var(--serif); color: var(--ink); margin-bottom: 12px; }
.highlight span { display: block; }

/* capability lists: a specification table, not cards */
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 52px); border-top: 3px solid var(--navy); background: var(--surface); }
.method-grid article { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 22px 24px 22px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-weight: 500; color: var(--ink); line-height: 1.45; }
.method-grid article:nth-child(3n) { border-right: 0; }
.method-grid .mt-icon { color: var(--red); margin-top: 2px; }
.workflow-list { counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 80px); margin-top: clamp(32px, 5vw, 52px); border-top: 3px solid var(--navy); }
.workflow-list article { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.workflow-list article > span { font: 700 1.6rem/1 var(--serif); color: var(--red); }
.workflow-list p { color: var(--text); }

.fm-grid, .product-application-grid, .clients-grid, .standard-grid, .audience-grid { display: grid; gap: 0; margin-top: clamp(32px, 5vw, 52px); border-top: 3px solid var(--navy); border-left: 1px solid var(--line); background: var(--surface); }
.fm-grid, .product-application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clients-grid, .standard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fm-card, .product-application, .client-sector, .standard-card, .audience-card { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fm-card > .mt-icon, .product-application > .mt-icon, .client-sector > .mt-icon, .standard-card > .mt-icon, .audience-card > .mt-icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 18px; display: block; }
.fm-card h3, .product-application h3, .client-sector h3, .standard-card h3 { margin-bottom: 10px; }
.fm-card p, .product-application p, .client-sector p, .standard-card p { color: var(--muted); }
.fm-card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: .98rem; }
.fm-card li { position: relative; padding-left: 20px; }
.fm-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--red); }
.audience-card span { font: 700 1.2rem/1.25 var(--serif); color: var(--ink); }

.product-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--line); }
.product-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.45; }
.product-check .mt-icon { color: var(--red); margin-top: 1px; }

/* navy band */
main > section.equipment-band { background: var(--navy); color: var(--on-navy); }
.equipment-band .section-label { color: #f2b8be !important; }
.equipment-band .section-label::before { background: linear-gradient(to bottom, #fff 0 50%, var(--red) 50%); }
.equipment-band .section-heading { color: #fff; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.equipment-card { padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .28); }
.equipment-card .mt-icon { width: 30px; height: 30px; color: #fff; margin-bottom: 18px; display: block; }
.equipment-card h3 { color: #fff; margin-bottom: 10px; }
.equipment-card p { color: var(--on-navy-muted); }

/* closing call to action: the red below the waterline */
main > section.cta-band { background: var(--red); color: #fff; padding-block: clamp(48px, 6vw, 76px); border-top: 4px solid var(--boot); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 24ch; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band h2 span { color: inherit; }
.cta-band .button-primary { background: var(--surface); color: var(--navy); }
.cta-band .button-primary:hover { background: var(--plate); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
label { font: 600 .9rem/1.3 var(--sans); color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="date"], input[type="search"], input:not([type]), select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--surface); border: 1px solid #aab2c0; border-radius: var(--radius); font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(27 37 80 / .22); }
::placeholder { color: #7a8397; opacity: 1; }
.form-note { margin-top: 16px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.form-note code, .hr-login-card code { font-size: .88em; background: var(--plate); padding: 1px 5px; border-radius: 2px; }
.form-status { margin-bottom: 20px; padding: 14px 16px; border-left: 5px solid var(--navy); background: var(--plate); font-weight: 500; color: var(--ink); border-radius: 2px; }
.form-status.success { border-color: #1d7a4c; background: #d3e8dc; }
.form-status.error { border-color: var(--red); background: #efd3d8; }
.application-honeypot { position: absolute; left: -10000px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-details { margin-top: 34px; border-top: 3px solid var(--navy); }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--plate); color: var(--navy); border-radius: var(--radius); }
.contact-item strong { display: block; font-size: .88rem; color: var(--muted); font-weight: 500; }
.contact-item a { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.06rem; line-height: 1.4; }
.contact-item a:hover { color: var(--red); text-decoration: underline; }
.contact-map { margin-top: 26px; padding: 24px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); border-bottom: 8px solid var(--red); }
.contact-map strong { font: 700 1.3rem/1.2 var(--serif); color: #fff; }
.contact-map p { margin: 8px 0 16px; color: var(--on-navy-muted); }
.contact-map a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.contact-map .mt-icon { width: 18px; height: 18px; }
.contact-form, .career-application-form, .job-editor, .hr-login-card { padding: clamp(24px, 4vw, 40px); background: var(--chalk); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); }
.contact-form h2 { font-size: 1.7rem; margin-bottom: 24px; }

/* ---------- services overview ---------- */
.services-header, .products-header, .farm-gallery-heading, .store-welcome, .home-section-head, .atlas-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.services-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) clamp(20px, 2.6vw, 32px); margin-top: clamp(36px, 5vw, 60px); }
.service-detail-visual { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--plate); }
.service-detail-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.service-detail:hover .service-detail-visual img { transform: scale(1.04); }
.service-detail-visual .number { position: absolute; left: 0; top: 0; padding: 9px 12px; background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--serif); border-bottom-right-radius: var(--radius); }
.service-detail-view { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); color: var(--navy); font: 600 .85rem/1 var(--sans); border-top-left-radius: var(--radius); }
.service-detail-view .mt-icon { width: 16px; height: 16px; color: var(--red); }
.service-detail-copy { padding-top: 20px; }
.service-icon { display: none; }
.service-detail-copy h2 { font-size: 1.45rem; max-width: none; }
.service-detail-copy h2 a { text-decoration: none; }
.service-detail-copy h2 a:hover { color: var(--red); }
.service-detail-copy p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.detail-list { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.detail-list li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); margin-top: clamp(36px, 5vw, 60px); }
.product-card { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-content: start; }
.product-photo { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--plate); margin-bottom: 20px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-photo img { transform: scale(1.04); }
.product-icon { display: none; }
.product-eyebrow { grid-column: 1 / -1; font: 600 .85rem/1.2 var(--sans); color: var(--red); margin-bottom: 8px; }
.product-card h3 { grid-column: 1 / -1; font-size: 1.6rem; }
.product-card p { grid-column: 1 / -1; margin-top: 10px; color: var(--muted); }
.product-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 .92rem/1.2 var(--sans); color: var(--ink); }
.product-inquiry { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); transition: background-color .18s; }
.product-inquiry:hover { background: var(--red); }
.products-note, .farm-gallery-note, .catalog-disclaimer { margin-top: 32px; padding-left: 16px; border-left: 3px solid var(--line); font-size: .93rem; color: var(--muted); max-width: 78ch; }

/* ---------- container farms gallery ---------- */
.farm-gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(36px, 5vw, 56px); }
.farm-gallery-card { grid-column: span 2; }
.farm-gallery-card:nth-child(-n+2) { grid-column: span 3; }
.farm-gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--plate); }
.farm-gallery-card:nth-child(-n+2) img { aspect-ratio: 16 / 9; }
.farm-gallery-card figcaption { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: baseline; padding-top: 14px; }
.farm-gallery-card figcaption > span { font: 700 1.25rem/1 var(--serif); color: var(--red); }
.farm-gallery-card strong { display: block; font: 700 1.1rem/1.25 var(--serif); color: var(--ink); }
.farm-gallery-card small { display: block; margin-top: 3px; font-size: .9rem; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.purpose-grid, .home-approach-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.purpose-note, .home-approach-values article { padding-top: 18px; border-top: 3px solid var(--navy); }
.purpose-note > span, .home-approach-values article > span { display: block; font: 600 .82rem/1.2 var(--sans); color: var(--red); margin-bottom: 10px; letter-spacing: .02em; }
.purpose-note p, .home-approach-values p { color: var(--text); font-size: 1rem; }
.about-art { position: relative; aspect-ratio: 4 / 4.6; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); border-bottom: 12px solid var(--red); display: grid; place-items: center; overflow: hidden; }
.art-corner { position: absolute; left: 24px; right: 24px; font-size: .92rem; line-height: 1.4; color: var(--on-navy-muted); }
.art-corner strong { display: block; font: 700 1.15rem/1.3 var(--serif); color: #fff; }
.art-corner.top { top: 24px; }
.art-corner.bottom { bottom: 22px; text-align: right; }
.compass { position: relative; width: min(56%, 230px); aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .45); border-radius: 50%; box-shadow: inset 0 0 0 12px var(--navy), inset 0 0 0 13px rgb(255 255 255 / .2); }
.compass .mark { position: absolute; font: 700 .95rem/1 var(--serif); color: #fff; }
.compass .n { top: 18px; left: 50%; transform: translateX(-50%); }
.compass .s { bottom: 18px; left: 50%; transform: translateX(-50%); }
.compass .e { right: 20px; top: 50%; transform: translateY(-50%); }
.compass .w { left: 18px; top: 50%; transform: translateY(-50%); }
.compass-needle { position: absolute; left: 50%; top: 50%; width: 14px; height: 52%; transform: translate(-50%, -50%) rotate(28deg); }
.compass-needle .north, .compass-needle .south { position: absolute; left: 0; right: 0; }
.compass-needle .north { top: 0; bottom: 50%; background: #d6394a; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.compass-needle .south { top: 50%; bottom: 0; background: var(--surface); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.compass .center { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; }

/* ---------- purchasing catalogue ---------- */
.store-welcome { align-items: stretch; }
.store-assurance { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-self: end; padding: 22px; background: var(--chalk); border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius); }
.store-assurance-icon { color: var(--navy); }
.store-assurance-icon .mt-icon { width: 34px; height: 34px; }
.store-assurance strong { color: var(--ink); }
.store-assurance p { margin-top: 4px; font-size: .95rem; color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.catalog-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.catalog-request-card { padding: 24px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); border-bottom: 8px solid var(--red); }
.catalog-request-head { display: flex; align-items: center; gap: 10px; color: #fff; }
.catalog-kicker { font: 700 1.2rem/1 var(--serif); }
.catalog-count { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 12px; }
.catalog-count strong { font: 700 3rem/1 var(--serif); color: #fff; }
.catalog-count span { color: var(--on-navy-muted); }
.catalog-rfq-list { list-style: none; margin-bottom: 18px; border-top: 1px solid rgb(255 255 255 / .22); font-size: .93rem; }
.catalog-rfq-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .22); }
.catalog-rfq-empty { color: var(--on-navy-muted); }
.catalog-rfq-list button { flex: none; width: 30px; height: 30px; border: 1px solid rgb(255 255 255 / .4); border-radius: 2px; background: none; color: #fff; font-size: 1.1rem; line-height: 1; }
.catalog-rfq-list button:hover { background: var(--surface); color: var(--navy); }
.catalog-request-button { width: 100%; background: var(--surface); color: var(--navy); }
.catalog-request-button:hover { background: var(--plate); }
.catalog-request-button[aria-disabled="true"] { background: rgb(255 255 255 / .16); color: rgb(255 255 255 / .72); cursor: not-allowed; }
.catalog-request-note { margin-top: 14px; font-size: .86rem; line-height: 1.5; color: var(--on-navy-muted); }
.catalog-help-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--chalk); }
.catalog-help-card > span { font: 700 1.15rem/1.2 var(--serif); color: var(--ink); }
.catalog-help-card p { margin: 8px 0 12px; font-size: .95rem; color: var(--muted); }
.catalog-help-card a, .purchasing-process-note a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); text-decoration: none; }
.catalog-help-card a:hover, .purchasing-process-note a:hover { text-decoration: underline; }
.catalog-help-card .mt-icon, .purchasing-process-note .mt-icon { width: 18px; height: 18px; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.catalog-search { position: relative; display: block; }
.catalog-search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.catalog-search input { padding-left: 44px; }
.catalog-sort { display: flex; align-items: center; gap: 10px; }
.catalog-sort span { white-space: nowrap; font: 500 .92rem/1 var(--sans); color: var(--muted); }
.catalog-sort select { width: auto; min-width: 190px; }
.catalog-filters, .home-service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filters { margin-top: 16px; }
.catalog-filter, .home-service-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid #aab2c0; border-radius: var(--radius); background: var(--surface); font: 500 .95rem/1 var(--sans); color: var(--ink); transition: background-color .15s, color .15s, border-color .15s; }
.catalog-filter span { font-size: .82rem; color: var(--muted); }
.catalog-filter:hover, .home-service-filters button:hover { border-color: var(--navy); }
.catalog-filter.is-active, .home-service-filters button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog-filter.is-active span { color: var(--on-navy-muted); }
.catalog-results-line { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0 18px; padding-bottom: 12px; border-bottom: 3px solid var(--navy); font-size: .92rem; color: var(--muted); }
.catalog-results-line strong { color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.catalog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.catalog-card-image { position: relative; aspect-ratio: 16 / 10; background: var(--plate); }
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-card-type { position: absolute; left: 0; top: 0; padding: 7px 10px; background: var(--navy); color: #fff; font: 600 .78rem/1 var(--sans); border-bottom-right-radius: var(--radius); }
.catalog-card-sku { position: absolute; right: 0; bottom: 0; padding: 6px 10px; background: var(--surface); color: var(--ink); font: 600 .78rem/1 var(--sans); font-variant-numeric: tabular-nums; border-top-left-radius: var(--radius); }
.catalog-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.catalog-card-category { font: 600 .82rem/1.2 var(--sans); color: var(--red); margin-bottom: 6px; }
.catalog-card h3 { font-size: 1.3rem; }
.catalog-card-body > p { margin-top: 8px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.catalog-card-price { margin-top: auto; padding-top: 18px; display: grid; }
.catalog-card-price span, .catalog-card-price small { font-size: .82rem; color: var(--muted); }
.catalog-card-price strong { font: 700 1.3rem/1.3 var(--serif); color: var(--ink); font-variant-numeric: lining-nums; }
.catalog-add-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: 16px; padding: 8px 14px; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--surface); color: var(--navy); font: 600 .95rem/1 var(--sans); transition: background-color .15s, color .15s; }
.catalog-add-button:hover { background: var(--navy); color: #fff; }
.catalog-add-button.is-added { background: var(--navy); color: #fff; }
.catalog-add-icon { font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.catalog-add-button.is-added .catalog-add-icon { transform: rotate(45deg); }
.catalog-empty-state, .home-service-empty { margin-top: 20px; padding: 28px; border: 1px dashed #aab2c0; border-radius: var(--radius); display: grid; gap: 4px; color: var(--muted); }
.catalog-empty-state strong, .home-service-empty strong { color: var(--ink); }
.purchasing-process-note { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center; margin-top: 48px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius); }
.purchasing-process-note strong { font: 700 1.15rem/1.2 var(--serif); color: var(--ink); }
.purchasing-process-note > span { color: var(--muted); font-size: .97rem; }

/* ---------- careers ---------- */
.open-jobs-heading { margin-bottom: 32px; }
.open-jobs-heading .section-intro { margin-top: 14px; }
.no-open-jobs { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: var(--radius); }
.no-open-jobs-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--plate); color: var(--navy); border-radius: var(--radius); }
.no-open-jobs p { margin-top: 8px; color: var(--muted); }
.no-open-jobs a, .legal-content a, .legal-contact a { color: var(--red); font-weight: 600; }
.open-jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.job-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); }
.job-card-top { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 12px; font: 600 .84rem/1.2 var(--sans); }
.job-card-label { color: #1d7a4c; }
.job-deadline { color: var(--muted); }
.job-meta, .application-role-summary { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 14px; font-size: .93rem; color: var(--muted); }
.job-meta span + span::before { content: "/"; margin-right: 16px; color: var(--line); }
.job-card p { color: var(--text); margin-bottom: 22px; }
.job-card .button { margin-top: auto; }
.career-application-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.application-role-summary { margin-top: 24px; padding: 16px 18px; border-left: 6px solid var(--red); background: var(--chalk); }
.application-role-summary strong { color: var(--ink); }

/* ---------- HR admin ---------- */
.hr-admin-container { max-width: calc(980px + var(--gutter) * 2); }
.hr-login-card { max-width: 520px; }
.hr-login-card p { margin: 12px 0 22px; color: var(--muted); }
.hr-login-form { display: grid; gap: 8px; }
.hr-login-form input { margin-bottom: 12px; }
.hr-login-form .button { justify-self: start; margin-top: 6px; }
.hr-admin-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.hr-admin-top .section-intro { margin-top: 14px; }
.job-question-set { margin: 8px 0 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.job-question-set legend { padding: 0 8px; font: 700 1.1rem/1 var(--serif); color: var(--ink); }
.job-question-set p { margin-bottom: 16px; font-size: .93rem; color: var(--muted); }
.job-status-toggle { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.job-status-toggle input { width: 20px; height: 20px; accent-color: var(--navy); }
.job-editor-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.job-admin-list { margin-top: 64px; }
.no-jobs-admin { margin-top: 16px; color: var(--muted); }
.job-admin-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.job-admin-table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 640px; }
.job-admin-table th, .job-admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.job-admin-table th { background: var(--chalk); font: 600 .85rem/1.2 var(--sans); color: var(--muted); }
.job-admin-table td small { display: block; color: var(--muted); }
.job-admin-table td:last-child { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.job-admin-table td a, .job-admin-table td button { min-height: 36px; padding: 6px 12px; border: 1px solid #aab2c0; border-radius: 2px; background: var(--surface); font: 500 .9rem/1.2 var(--sans); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }
.job-admin-table td a:hover, .job-admin-table td button:hover { border-color: var(--navy); }
.job-admin-table .job-delete button, .job-admin-table button.job-delete { color: var(--red); border-color: var(--red); }
.job-status { display: inline-block; padding: 4px 10px; border-radius: 2px; font: 600 .82rem/1.2 var(--sans); }
.job-status.is-open { background: #d3e8dc; color: #17623d; }
.job-status.is-closed { background: var(--plate); color: var(--muted); }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; border-top: 3px solid var(--navy); }
.legal-nav > strong { padding: 14px 0 10px; font: 700 1.1rem/1.2 var(--serif); color: var(--ink); }
.legal-nav a { padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--text); }
.legal-nav a:hover { color: var(--red); }
.policy-badge { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.policy-badge strong { font: 700 2.6rem/1 var(--serif); color: var(--red); }
.policy-badge span { font: 600 .82rem/1.2 var(--sans); color: var(--ink); letter-spacing: .02em; }
.legal-content { max-width: 70ch; }
.legal-content p { margin-bottom: 16px; }
.legal-content .legal-lead { font-size: 1.19rem; line-height: 1.58; color: var(--ink); }
.legal-content h2 { margin: 44px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.6rem; max-width: none; }
.legal-content h3 { margin: 26px 0 10px; }
.legal-content ul, .legal-content ol { margin: 0 0 18px 22px; display: grid; gap: 8px; }
.legal-contact { margin-top: 36px; padding: 18px 20px; border-left: 6px solid var(--navy); background: var(--chalk); font-weight: 500; color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-muted); border-top: 12px solid transparent; border-image: linear-gradient(to bottom, var(--boot) 0 25%, var(--red) 25% 100%) 12; border-image-slice: 12 0 0 0; padding-block: clamp(48px, 6vw, 72px) 28px; font-size: .97rem; }
.footer .brand-word strong { color: #fff; }
.footer .brand-word span { color: var(--on-navy-muted); }
.footer .brand-mark-3d { width: 60px; height: 60px; background: var(--surface); border-radius: 50%; padding: 3px; }
.footer-modern-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgb(255 255 255 / .16); }
.footer-modern-brand p { margin-top: 18px; max-width: 40ch; }
.footer-modern-invite { display: grid; gap: 8px; }
.footer-modern-invite > span { font: 600 .8rem/1 var(--sans); color: #f2b8be; letter-spacing: .04em; }
.footer-modern-invite a { display: inline-flex; align-items: center; gap: 14px; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--serif); color: #fff; text-decoration: none; }
.footer-modern-invite a b { display: grid; place-items: center; width: 46px; height: 46px; background: var(--red); border-radius: var(--radius); font: 500 1.2rem/1 var(--sans); transition: transform .2s; }
.footer-modern-invite a:hover b { transform: translate(3px, -3px); }
.footer-modern-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 40px; }
.footer h4 { margin-bottom: 14px; font: 700 1.1rem/1.2 var(--serif); color: #fff; }
.footer-links { display: grid; gap: 2px; justify-items: start; }
.footer-links a, .policy-links a { display: inline-block; padding: 6px 0; color: var(--on-navy-muted); text-decoration: none; line-height: 1.45; }
.footer-links a:hover, .policy-links a:hover, .footer-modern-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-contact-links a { color: var(--on-navy); }
.footer-modern-policies { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 18px; border-block: 1px solid rgb(255 255 255 / .16); }
.footer-modern-policies > span { font: 600 .8rem/1 var(--sans); color: #fff; letter-spacing: .04em; }
.policy-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-modern-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: .88rem; }
.footer-modern-bottom a { color: var(--on-navy-muted); text-decoration: none; }

.back-to-top { position: fixed; right: 22px; bottom: 88px; z-index: 60; width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface); color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top .mt-icon { transform: rotate(-90deg); }

/* ---------- support assistant ---------- */
.support-agent-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 20px 6px 8px; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); font: 600 .97rem/1 var(--sans); transition: background-color .18s, opacity .2s, transform .2s; }
.support-agent-launcher:hover { background: var(--navy-deep); }
.support-agent-launcher.is-hero-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
.support-agent-launcher-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); border-radius: 2px; }
.support-agent-launcher-mark svg { width: 24px; height: 24px; }
.support-agent-panel { position: fixed; right: 22px; bottom: 86px; z-index: 80; width: min(390px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 110px)); max-height: min(620px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -18px rgb(18 25 54 / .5); overflow: hidden; }
.support-agent-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 18px 16px; background: var(--navy); color: var(--on-navy); border-bottom: 6px solid var(--red); }
.support-agent-head span { font: 600 .8rem/1 var(--sans); color: #f2b8be; }
.support-agent-head h2 { margin: 6px 0 4px; font-size: 1.3rem; color: #fff; }
.support-agent-head p { font-size: .86rem; color: var(--on-navy-muted); }
.support-agent-close { flex: none; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / .4); border-radius: 2px; background: none; color: #fff; font-size: 1.3rem; line-height: 1; }
.support-agent-close:hover { background: var(--surface); color: var(--navy); }
.support-agent-messages { flex: 1; min-height: 120px; overflow: auto; padding: 16px; display: grid; gap: 12px; align-content: start; background: var(--chalk); font-size: .95rem; line-height: 1.5; }
.support-agent-message { max-width: 90%; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.support-agent-message--user { justify-self: end; background: var(--navy); border-color: var(--navy); color: #fff; }
.support-agent-message-label { display: block; margin-bottom: 4px; font: 600 .76rem/1 var(--sans); color: var(--red); }
.support-agent-message--user .support-agent-message-label { color: #f2b8be; }
.support-agent-message p + p { margin-top: 8px; }
.support-agent-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.support-agent-links a { padding: 6px 10px; border: 1px solid var(--navy); border-radius: 2px; font-weight: 600; font-size: .86rem; color: var(--navy); text-decoration: none; }
.support-agent-links a:hover { background: var(--navy); color: #fff; }
.support-agent-prompts { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); }
.support-agent-prompts button { padding: 7px 11px; border: 1px solid #aab2c0; border-radius: 2px; background: var(--surface); font: 500 .86rem/1.2 var(--sans); color: var(--ink); }
.support-agent-prompts button:hover { border-color: var(--navy); background: var(--plate); }
.support-agent-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.support-agent-form input { min-height: 46px; }
.support-agent-form button { min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--red); color: #fff; font: 600 .95rem/1 var(--sans); }
.support-agent-form button:hover { background: var(--red-deep); }

/* =====================================================================
   Home
   ===================================================================== */
.home-front { position: relative; background: var(--plate); overflow: hidden; isolation: isolate; padding-block: 0 !important; }
.home-front-wrap { position: relative; z-index: 2; pointer-events: none; display: flex; align-items: center; min-height: clamp(520px, calc(100vh - var(--header-h) - 96px), 740px); padding-block: 56px 40px; }
.home-front-copy { max-width: min(46%, 560px); pointer-events: auto; }
.home-front-meta { font: 600 .9rem/1.3 var(--sans); color: var(--navy); letter-spacing: .01em; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.home-front-meta::before { content: ""; width: 26px; height: 8px; background: var(--waterline); }
.home-front h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); line-height: .98; letter-spacing: -.02em; color: var(--navy); }
.home-front h1 em { font-style: normal; color: var(--red); }
.home-front-kicker { margin-top: 26px; font: 700 1.3rem/1.3 var(--serif); color: var(--ink); }
.home-front-lede { margin-top: 10px; font-size: 1.14rem; line-height: 1.58; color: var(--text); max-width: 50ch; }
.home-front-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.home-front-text-link, .home-approach-link, .home-contact-secondary { font-weight: 600; color: var(--navy); text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.home-front-text-link:hover, .home-approach-link:hover, .home-contact-secondary:hover { color: var(--red); }
.home-stage { position: absolute; inset: 0; z-index: 1; }
/* keep the headline on calm ground: the dock floor fades out toward the text */
.home-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, var(--plate) 0%, var(--plate) 24%, rgb(206 215 227 / .6) 35%, rgb(206 215 227 / 0) 45%), linear-gradient(to bottom, var(--plate) 0%, rgb(206 215 227 / 0) 22%); }
.vessel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.vessel-canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity .7s ease; }
.is-live > .vessel-canvas { opacity: 1; }
.home-front-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding-block: 18px 22px; border-top: 1px solid rgb(27 37 80 / .16); }
.home-front-foot::before { content: ""; position: absolute; inset: -90px calc(50% - 50vw) 0; background: linear-gradient(to bottom, rgb(206 215 227 / 0), var(--plate) 90px); z-index: -1; pointer-events: none; }
@media (min-width: 901px) { .home-front-bottom { margin-right: 168px; } }
.home-front-proof { display: flex; align-items: center; gap: 14px; }
.home-front-proof-mark { width: 44px; height: 44px; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); }
.home-front-proof b { display: block; font: 700 1.1rem/1.2 var(--serif); color: var(--ink); }
.home-front-proof small { font-size: .9rem; color: var(--muted); }
.home-front-bottom { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.home-front-bottom a { font-weight: 600; color: var(--navy); text-decoration: none; }
.home-front-bottom a:hover { color: var(--red); }

.home-approach-topline { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: clamp(32px, 5vw, 56px); border-bottom: 3px solid var(--navy); font: 600 .8rem/1 var(--sans); color: var(--navy); letter-spacing: .05em; }
.home-approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: start; }
.home-approach-lead h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 16ch; }
.home-approach-photo { margin-top: 32px; position: relative; }
.home-approach-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.home-approach-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--waterline); border-radius: 0 0 var(--radius) var(--radius); }
.home-approach-statement { font: 400 clamp(1.25rem, 1.9vw, 1.5rem)/1.5 var(--serif); color: var(--ink); }
.home-approach-link { display: inline-block; margin-top: 32px; }

/* service map */
main > section.operations-atlas { background: var(--navy); color: var(--on-navy); }
.operations-atlas .section-label { color: #f2b8be !important; }
.operations-atlas .section-label::before { background: linear-gradient(to bottom, #fff 0 50%, var(--red) 50%); }
.operations-atlas .section-heading { color: #fff; }
.operations-atlas .section-intro { color: var(--on-navy-muted); }
.atlas-experience { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(32px, 5vw, 52px); align-items: stretch; }
.atlas-stage { position: relative; min-height: 560px; background: var(--plate); border-radius: var(--radius); overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.atlas-stage.is-dragging { cursor: grabbing; }
.atlas-stage .vessel-poster { object-position: 50% 50%; }
.atlas-stage-hint { position: absolute; z-index: 3; left: 14px; bottom: 14px; padding: 7px 11px; background: rgb(233 238 245 / .94); border-radius: 2px; font: 500 .82rem/1 var(--sans); color: var(--navy); pointer-events: none; opacity: 0; transition: opacity .4s; }
.has-vessel .atlas-stage.is-live .atlas-stage-hint { opacity: 1; }
.vessel-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; }
.is-live > .vessel-pins { opacity: 1; }
.vessel-pin { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .78rem/1 var(--sans); font-variant-numeric: tabular-nums; pointer-events: auto; box-shadow: 0 4px 12px rgb(18 25 54 / .35); transition: background-color .2s, opacity .2s, width .2s, height .2s, margin .2s; will-change: transform; }
.vessel-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.vessel-pin:hover { background: var(--red-deep); }
.vessel-pin.is-active { background: var(--red); width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: .9rem; z-index: 2; }
.vessel-pin.is-off { opacity: 0; pointer-events: none; }
.vessel-pin.is-behind:not(.is-active) { opacity: .55; width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .68rem; }
.atlas-side { display: flex; flex-direction: column; gap: 18px; }
.atlas-detail-card { padding: 26px; background: var(--surface); color: var(--text); border-radius: var(--radius); border-bottom: 8px solid var(--red); min-height: 268px; display: flex; flex-direction: column; }
.atlas-detail-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font: 600 .78rem/1 var(--sans); letter-spacing: .04em; color: var(--muted); }
.atlas-card-index { color: var(--navy); font-variant-numeric: tabular-nums; }
.atlas-card-category { font: 600 .8rem/1.2 var(--sans); color: var(--red); letter-spacing: .03em; margin-bottom: 8px; }
.atlas-detail-card h3 { font-size: 1.7rem; }
.atlas-card-summary { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.atlas-card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--navy); text-decoration: none; }
.atlas-card-link i { display: grid; place-items: center; width: 34px; height: 34px; background: var(--navy); color: #fff; border-radius: 2px; font-style: normal; transition: background-color .18s; }
.atlas-card-link:hover i { background: var(--red); }
.atlas-detail-card.is-changing > :not(.atlas-detail-card-head) { animation: atlas-in .32s ease both; }
@keyframes atlas-in { from { opacity: 0; transform: translateY(6px); } }
.atlas-list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgb(255 255 255 / .22); }
.atlas-hotspot { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 10px 8px 6px; border: 0; border-bottom: 1px solid rgb(255 255 255 / .22); background: none; color: var(--on-navy); text-align: left; font: 500 .97rem/1.25 var(--sans); transition: background-color .15s, color .15s; }
.atlas-hotspot-number { font: 600 .8rem/1 var(--sans); color: var(--on-navy-muted); font-variant-numeric: tabular-nums; }
.atlas-hotspot:hover { background: rgb(255 255 255 / .08); color: #fff; }
.atlas-hotspot.is-active { background: var(--surface); color: var(--navy); font-weight: 600; }
.atlas-hotspot.is-active .atlas-hotspot-number { color: var(--red); }
.atlas-detail-foot { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--on-navy-muted); }

/* introduction film */
main > section.home-intro-film { background: var(--chalk); border-bottom: 1px solid var(--line-soft); }
.intro-film-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.intro-language-switch { display: flex; align-items: center; gap: 8px; }
.intro-language-switch > span { margin-right: 6px; font: 500 .92rem/1 var(--sans); color: var(--muted); }
.intro-language-button { min-height: 44px; padding: 8px 18px; border: 1px solid #aab2c0; border-radius: var(--radius); background: var(--surface); font: 600 .95rem/1 var(--sans); color: var(--ink); }
.intro-language-button:hover { border-color: var(--navy); }
.intro-language-button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.intro-film-frame { position: relative; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; border-bottom: 10px solid var(--red); }
.intro-film { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy-deep); }
.intro-video-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--navy); color: var(--on-navy); text-align: center; }
.intro-video-fallback h3 { color: #fff; margin-bottom: 8px; }

/* service directory */
.home-section-head-copy { display: grid; gap: 18px; justify-items: start; }
.home-section-head-copy p, .home-solutions-heading > p { color: var(--muted); max-width: 52ch; }
.home-service-tools { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 16px 28px; align-items: end; margin-top: clamp(32px, 5vw, 52px); padding-bottom: 18px; border-bottom: 3px solid var(--navy); }
.home-service-search { display: grid; gap: 8px; }
.home-service-search > span:first-child { font: 600 .9rem/1.3 var(--sans); color: var(--ink); }
.home-service-search-field { position: relative; display: block; }
.home-service-search-field svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.7; pointer-events: none; }
.home-service-search-field input { padding-left: 44px; }
.home-service-results { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.home-service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.home-service-row { display: grid; grid-template-columns: 34px 28px 1fr 22px; gap: 12px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color .15s; }
.home-service-number { font: 600 .82rem/1.7 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.home-service-icon { color: var(--navy); }
.home-service-copy strong { display: block; font: 700 1.22rem/1.25 var(--serif); color: var(--ink); }
.home-service-copy small { display: block; margin-top: 6px; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.home-service-arrow { color: var(--red); font-size: 1.1rem; transition: transform .18s; }
.home-service-row:hover strong { color: var(--red); }
.home-service-row:hover .home-service-icon { color: var(--red); }
.home-service-row:hover .home-service-arrow { transform: translate(3px, -3px); }

/* solutions */
main > section.home-solutions { background: var(--chalk); border-block: 1px solid var(--line-soft); }
.home-solution-feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 5vw, 52px); }
.home-solution-feature { position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--navy); }
.home-solution-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.home-solution-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(18 25 54 / .96) 0%, rgb(18 25 54 / .88) 44%, rgb(18 25 54 / .1) 82%); }
.home-solution-feature:hover img { transform: scale(1.04); }
.home-solution-feature-content { padding: clamp(22px, 3vw, 34px); border-bottom: 10px solid var(--red); width: 100%; }
.home-solution-feature-content > span:first-child { font: 600 .8rem/1 var(--sans); letter-spacing: .05em; color: #f2b8be; }
.home-solution-feature h3 { margin: 10px 0 8px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: #fff; }
.home-solution-feature p { color: var(--on-navy); max-width: 46ch; }
.home-solution-feature-action { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.home-product-links { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0 28px; align-items: stretch; margin-top: 28px; border-top: 3px solid var(--navy); }
.home-product-links-label { align-self: center; font: 600 .8rem/1.3 var(--sans); letter-spacing: .05em; color: var(--navy); max-width: 12ch; }
.home-product-links a { position: relative; display: grid; gap: 4px; padding: 18px 34px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.home-product-links small { font-size: .85rem; color: var(--red); font-weight: 600; }
.home-product-links strong { font: 700 1.2rem/1.25 var(--serif); color: var(--ink); }
.home-product-links i { position: absolute; right: 4px; top: 20px; font-style: normal; color: var(--red); transition: transform .18s; }
.home-product-links a:hover strong { color: var(--red); }
.home-product-links a:hover i { transform: translate(3px, -3px); }

/* contact panel */
main > section.home-contact-panel { background: var(--red); color: #fff; border-top: 4px solid var(--boot); padding-block: clamp(56px, 7vw, 88px); }
.home-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.home-contact-panel .section-label { color: #fff !important; }
.home-contact-panel .section-label::before { background: linear-gradient(to bottom, #fff 0 50%, var(--navy) 50%); }
.home-contact-panel h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.home-contact-copy p { margin-top: 14px; max-width: 46ch; color: #fbe6e8; }
.home-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.home-contact-panel .button-primary { background: var(--surface); color: var(--navy); }
.home-contact-panel .button-primary:hover { background: var(--plate); }
.home-contact-secondary { color: #fff; text-decoration-color: #fff; }
.home-contact-secondary:hover { color: #fff; text-decoration-thickness: 3px; }

/* reveal: content is always visible; a short settle only where motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--reveal-delay, 0ms), transform .5s ease var(--reveal-delay, 0ms); }
  .has-js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .services-detail-grid, .home-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-experience { grid-template-columns: 1fr; }
  .atlas-stage { min-height: 0; aspect-ratio: 16 / 10; }
  .atlas-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  .atlas-detail-card { min-height: 0; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .home-front-wrap { min-height: 0; padding-block: 40px 8px; }
  .home-front-copy { max-width: none; }
  .home-stage { position: relative; inset: auto; height: clamp(260px, 62vw, 420px); }
  .home-stage::after { background: linear-gradient(to bottom, var(--plate) 0%, rgb(206 215 227 / 0) 30%); }
  .vessel-poster { object-position: 78% 50%; }
  .feature-split, .about-grid, .contact-grid, .career-application-layout, .home-approach-grid,
  .services-header, .products-header, .farm-gallery-heading, .store-welcome, .home-section-head, .atlas-heading { grid-template-columns: 1fr; }
  .services-header, .products-header, .farm-gallery-heading, .store-welcome, .home-section-head, .atlas-heading { align-items: start; gap: 18px; }
  .feature-split > .image-panel, .feature-split > .product-feature-image { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .about-art { aspect-ratio: 16 / 12; max-width: 520px; }
  .operations-grid, .purchasing-steps, .highlight-grid, .equipment-grid, .clients-grid, .standard-grid { grid-template-columns: 1fr; gap: 28px; }
  .clients-grid, .standard-grid { gap: 0; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .method-grid article:nth-child(2n) { border-right: 0; }
  .workflow-list { grid-template-columns: 1fr; }
  .home-solution-feature-grid { grid-template-columns: 1fr; }
  .home-solution-feature { min-height: 360px; }
  .home-product-links { grid-template-columns: 1fr; }
  .home-product-links-label { max-width: none; padding-top: 16px; }
  .home-service-tools { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .purchasing-process-note { grid-template-columns: 1fr; }
  .farm-gallery-card, .farm-gallery-card:nth-child(-n+2) { grid-column: span 3; }
  .footer-modern-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-word span { display: none; }
  .services-detail-grid, .home-service-list, .product-grid, .fm-grid, .product-application-grid, .product-check-grid, .form-row, .purpose-grid, .home-approach-values, .method-grid, .catalog-sidebar, .atlas-list { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article:nth-child(3n) { border-right: 0; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .farm-gallery-card, .farm-gallery-card:nth-child(-n+2) { grid-column: 1 / -1; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-sort select { flex: 1; }
  .atlas-stage { aspect-ratio: 4 / 3.3; }
  .atlas-list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .atlas-hotspot { grid-template-columns: 26px 1fr; font-size: .92rem; }
  .cta-band-inner .button, .home-contact-actions .button, .home-front-actions .button { width: 100%; }
  .home-front-foot { flex-direction: column; align-items: flex-start; }
  .footer-modern-columns { grid-template-columns: 1fr; }
  .no-open-jobs { grid-template-columns: 1fr; }
  .support-agent-launcher { right: 14px; bottom: 14px; }
  .support-agent-launcher > span:last-child { display: none; }
  .support-agent-launcher { padding: 7px; }
  .support-agent-panel { right: 12px; bottom: 78px; }
  .back-to-top { right: 14px; bottom: 80px; }
  .home-approach-topline span:last-child { display: none; }
}

/* =====================================================================
   Tinted grounds and 3D equipment art
   The page sits on steel-blue plate instead of white; white is kept for
   cards, tables and forms so they read as the working surface.
   ===================================================================== */
:root { --ground: #d9e1ec; --ground-deep: #c8d3e1; --chalk: #e4eaf2; --plate: #ced7e3; --surface: #e9eef5; --white: #e9eef5; --line: #b7c2d2; --line-soft: #c5cfdc; }
.object-propeller { --object-art: url("../3d/propeller.webp"); --object-art-2: url("../3d/anchor.webp"); }
.object-anchor { --object-art: url("../3d/anchor.webp"); --object-art-2: url("../3d/propeller.webp"); }
.object-valve { --object-art: url("../3d/valve.webp"); --object-art-2: url("../3d/anchor.webp"); }
.object-cylinders { --object-art: url("../3d/cylinders.webp"); --object-art-2: url("../3d/anchor.webp"); }
.object-hook { --object-art: url("../3d/hook.webp"); --object-art-2: url("../3d/anchor.webp"); }
.object-container { --object-art: url("../3d/container.webp"); --object-art-2: url("../3d/anchor.webp"); }
body { background: var(--ground); }
main > section.operations, main > section.open-jobs-section, main > section.purchasing-process, main > section.farm-gallery-section,
main > section.home-solutions, main > section.home-intro-film { background: var(--ground-deep); border-color: #bfcbdb; }
.home-front { background: var(--plate); }
.site-header { background: rgb(226 232 241 / .97); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(226 232 241 / .88); } }
.site-header.is-menu-open { background: #e2e8f1; }
.content-list, .content-list li, .detail-list, .detail-list li, .product-check-grid, .product-check, .home-service-row, .home-product-links a, .workflow-list article, .contact-item, .product-bottom, .legal-nav a, .legal-content h2, .policy-badge { border-color: #bcc7d6; }
.pill-row span, .catalog-help-card, .store-assurance, .application-role-summary, .legal-contact { background: var(--surface); }

/* quiet 3D art behind sections: the page's own object, large and cropped */
main > section:not(.page-hero):not(.home-front):not(.operations-atlas):not(.cta-band):not(.home-contact-panel) { position: relative; overflow: hidden; overflow: clip; }
main > section:not(.page-hero):not(.home-front):not(.operations-atlas):not(.cta-band):not(.home-contact-panel)::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; width: min(46vw, 620px); aspect-ratio: 1;
  right: -150px; top: -110px; background: var(--object-art) center / contain no-repeat; opacity: .13; filter: grayscale(.55) contrast(1.1);
}
main > section:not(.page-hero):not(.home-front):not(.operations-atlas):not(.cta-band):not(.home-contact-panel):nth-of-type(even)::before { right: auto; left: -260px; top: auto; bottom: -260px; background-image: var(--object-art-2); transform: rotate(-14deg); opacity: .09; }
main > section > .container { position: relative; z-index: 1; }
main > section.home-front > .container { z-index: 2; }
main > section.equipment-band::before { opacity: .3 !important; filter: none !important; }
.operations-atlas { position: relative; overflow: hidden; overflow: clip; }
.operations-atlas::before { content: ""; position: absolute; left: -190px; bottom: -160px; width: 620px; aspect-ratio: 1; background: var(--object-art-2) center / contain no-repeat; opacity: .2; transform: rotate(18deg); pointer-events: none; }
.page-hero.hr-admin-hero::before { display: block; inset: -40px -60px -40px auto; width: 460px; background: var(--object-art) center / contain no-repeat; opacity: .5; }
.footer { position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -120px; bottom: -150px; width: 560px; aspect-ratio: 1; background: url("../3d/anchor.webp") center / contain no-repeat; opacity: .16; pointer-events: none; }
.footer > .container { position: relative; }

/* closing band: live 3D object on deep navy, red kept as the waterline below */
main > section.cta-band, main > section.home-contact-panel { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; border-top: 0; border-bottom: 12px solid var(--red); box-shadow: inset 0 -3px 0 var(--boot); padding-block: clamp(64px, 8vw, 104px); }
.cta-band::after, .home-contact-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 82% 50%, rgb(58 74 130 / .55), transparent 70%); pointer-events: none; }
.cta-band > .container, .home-contact-panel > .container { z-index: 2; }
.cta-band-inner, .home-contact-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
.cta-band-inner > *, .home-contact-inner > * { max-width: min(60%, 700px); }
.cta-band .button-primary, .home-contact-panel .button-primary { background: var(--red); color: #fff; }
.cta-band .button-primary:hover, .home-contact-panel .button-primary:hover { background: #b92a38; }
.home-contact-panel .section-label::before { background: linear-gradient(to bottom, #fff 0 50%, var(--red) 50%); }
.home-contact-copy p { color: var(--on-navy); }
.band-object { position: absolute; z-index: 1; right: max(2vw, calc(50% - 640px)); top: 50%; width: clamp(280px, 30vw, 420px); aspect-ratio: 1; transform: translateY(-50%); background: var(--object-art) center / contain no-repeat; cursor: grab; touch-action: pan-y; }
.band-object:active { cursor: grabbing; }
.band-object.is-live { background-image: none; }
.band-object-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
@media (max-width: 900px) {
  .cta-band-inner > *, .home-contact-inner > * { max-width: none; }
  .band-object { right: -70px; top: auto; bottom: -50px; transform: none; width: 260px; opacity: .34; pointer-events: none; }
  main > section:not(.page-hero):not(.home-front):not(.operations-atlas):not(.cta-band):not(.home-contact-panel)::before { width: 300px; right: -110px; top: -70px; opacity: .1; }
  .footer::before { width: 340px; right: -90px; bottom: -90px; }
}

@media print {
  .site-header, .footer, .support-agent-launcher, .support-agent-panel, .back-to-top, .home-stage { display: none !important; }
}
