/* hydroteam.gr — site styles (no build step). Design: HVAC schematic vocabulary. */

@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Commissioner Flare"; src: url("../fonts/CommissionerFlare-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Commissioner Flare"; src: url("../fonts/CommissionerFlare-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --ink: #0E2A3F;          /* drawing ink: text, header */
    --paper: #F4F7F9;        /* cool drawing paper */
    --white: #FFFFFF;
    --return: #006599;       /* logo navy-blue: links, actions, return line */
    --return-dark: #004D74;
    --cyan: #00B0D9;         /* logo cyan */
    --supply: #C8412D;       /* supply line red: used sparingly */
    --steel: #5B6B78;        /* secondary text */
    --rule: #D5DEE5;         /* lines, borders */
    --grid: rgba(0, 101, 153, .07);

    --font: "Commissioner", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --display: "Commissioner Flare", "Commissioner", Georgia, serif;

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius-s: 4px;
    --radius-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    font-feature-settings: "tnum" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--return); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--return-dark); }
:focus-visible { outline: 3px solid var(--return); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #C9D6E0; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .contact-line { display: flex; gap: 22px; flex-wrap: wrap; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 3px 9px; border-radius: var(--radius-s); color: #C9D6E0; }
.lang a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; }

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; display: block; }
.brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: .02em; }
.brand .wordmark span { color: var(--return); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius-s); }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--return); box-shadow: inset 0 -2px 0 var(--return); border-radius: 0; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
    .site-header .wrap { min-height: 64px; }
    .brand img { height: 38px; }
    .nav-toggle { display: block; }
    .nav-toggle summary { list-style: none; cursor: pointer; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); font-weight: 500; }
    .nav-toggle summary::-webkit-details-marker { display: none; }
    .nav-toggle[open] .nav { display: block; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(14,42,63,.08); }
    .nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
    .nav a { padding: 12px 4px; border-bottom: 1px solid var(--rule); }
    .nav a[aria-current="page"] { box-shadow: none; }
    .nav-desktop { display: none; }
    .topbar .contact-line .hide-sm { display: none; }
}
@media (min-width: 901px) { .nav-toggle { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius-s); font: 600 1rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--return); color: #fff; }
.btn-primary:hover { background: var(--return-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Hero: the schematic ---------- */
.hero { background-color: var(--paper);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 24px 24px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.2rem; color: var(--steel); max-width: 34rem; }
.hero .since { display: inline-block; font-weight: 600; color: var(--ink); border: 1.5px solid var(--ink); padding: 3px 10px; border-radius: var(--radius-s); margin-bottom: 22px; font-size: .95rem; font-feature-settings: "tnum" 1; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.schematic { width: 100%; height: auto; }
.schematic .pipe { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.schematic .supply { stroke: var(--supply); }
.schematic .return { stroke: var(--return); }
.schematic .flow { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 2 16; stroke-linecap: round; opacity: .9; animation: flow 1.1s linear 0s 4; }
.schematic .sym { fill: #fff; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.schematic .sym-fill { fill: var(--ink); }
.schematic .unit { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.schematic .fins { stroke: var(--rule); stroke-width: 2; }
.schematic text { font: 600 13px var(--font); fill: var(--steel); }
.schematic .tag { font: 600 12px var(--font); fill: var(--ink); }
@keyframes flow { to { stroke-dashoffset: -36; } }
@media (prefers-reduced-motion: reduce) { .schematic .flow { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { max-width: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { color: var(--steel); max-width: 40rem; margin: 0; }
.link-more { font-weight: 600; white-space: nowrap; }

/* Category legend: a schematic legend, one symbol per category */
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.legend li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.legend a { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 22px 20px; color: var(--ink); text-decoration: none; height: 100%; background: #fff; }
.legend a:hover { background: var(--paper); }
.legend a:hover .sym-box { border-color: var(--return); color: var(--return); }
.legend .name { font-weight: 600; line-height: 1.3; display: block; }
.legend .count { color: var(--steel); font-size: .9rem; font-feature-settings: "tnum" 1; }
.sym-box { width: 56px; height: 56px; border: 1.5px solid var(--ink); border-radius: var(--radius-s); display: grid; place-items: center; color: var(--ink); background: #fff; }
.sym-box svg { width: 40px; height: 40px; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.brands a { display: grid; place-items: center; min-height: 110px; padding: 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.brands a:hover { background: var(--paper); }
.brands img { max-height: 58px; max-width: 82%; width: auto; height: auto; object-fit: contain; }

/* Company intro */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.intro .prose { max-width: 40rem; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.facts strong { font-family: var(--display); font-size: 1.6rem; font-feature-settings: "tnum" 1; }
.facts span { color: var(--steel); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* News */
/* news: see the "News" block at the end */

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { margin: 0; }
.page-head p { color: var(--steel); margin: 10px 0 0; max-width: 44rem; font-size: 1.1rem; }
.crumbs { font-size: .9rem; color: var(--steel); margin-bottom: 14px; }
.crumbs a { color: var(--steel); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Prose (CMS content) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose img { height: auto; border-radius: var(--radius-s); margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95rem; }
.prose td, .prose th { border-bottom: 1px solid var(--rule); padding: 10px 8px; vertical-align: top; text-align: left; }
.prose table img { margin: 0; max-height: 70px; width: auto; }
.prose p:empty { display: none; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.page-hero-img { border-radius: var(--radius-s); margin-bottom: 32px; }

/* ---------- Products ---------- */
.catalogue { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar h2 { font-size: 1rem; font-family: var(--font); font-weight: 600; color: var(--steel); margin: 0 0 10px; }
.sidebar ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.sidebar li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; line-height: 1.35; font-size: .97rem; }
.sidebar li a:hover { color: var(--return); }
.sidebar li a[aria-current="page"] { color: var(--return); font-weight: 600; box-shadow: inset 3px 0 0 var(--return); padding-left: 12px; }
.sidebar .n { color: var(--steel); font-feature-settings: "tnum" 1; font-size: .9rem; }
.search { display: flex; gap: 0; margin-bottom: 28px; }
.search input { flex: 1; min-width: 0; padding: 11px 12px; border: 1.5px solid var(--rule); border-right: 0; border-radius: var(--radius-s) 0 0 var(--radius-s); font: inherit; font-size: .97rem; }
.search input:focus { border-color: var(--return); outline: none; }
.search button { padding: 0 14px; border: 0; background: var(--ink); color: #fff; border-radius: 0 var(--radius-s) var(--radius-s) 0; cursor: pointer; }
.search button svg { width: 18px; height: 18px; display: block; }
@media (max-width: 900px) {
    .catalogue { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .sidebar details summary { cursor: pointer; font-weight: 600; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-s); margin-bottom: 12px; }
}
@media (min-width: 901px) { .sidebar details > summary { display: none; } }

.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; color: var(--steel); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.product { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.product:hover { background: var(--paper); }
.product .img { aspect-ratio: 1; display: grid; place-items: center; padding: 22px; }
.product .img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product .img .noimg { color: var(--rule); width: 64px; }
.product .body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .brand-name { color: var(--steel); font-size: .85rem; }
.product h3 { font-family: var(--font); font-weight: 600; font-size: 1.05rem; margin: 0; }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; }
.product h3 a:focus-visible { outline: none; }
.product:focus-within { outline: 3px solid var(--return); outline-offset: -3px; }
.product .sheet { margin-top: auto; padding-top: 10px; font-size: .85rem; color: var(--supply); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.product .sheet svg { width: 15px; height: 15px; }
.empty { padding: 40px; border: 1.5px dashed var(--rule); border-radius: var(--radius-m); color: var(--steel); text-align: center; }

.product-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.product-figure { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); aspect-ratio: 1; display: grid; place-items: center; padding: 40px;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.product-figure img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.product-meta a { display: inline-block; padding: 4px 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: .9rem; }
.product-meta a:hover { border-color: var(--return); color: var(--return); }
.download { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1.5px solid var(--ink); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); margin: 24px 0; background: #fff; }
.download:hover { border-color: var(--return); color: var(--ink); background: var(--paper); }
.download .doc { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius-s); background: var(--supply); color: #fff; font-weight: 700; font-size: .8rem; }
.download strong { display: block; }
.download small { color: var(--steel); font-size: .9rem; }
.download .go { color: var(--return); font-weight: 600; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } .download { grid-template-columns: 44px 1fr; } .download .go { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--steel); font-size: .9rem; margin-top: 18px; }
.contact-card dd { margin: 2px 0 0; font-weight: 500; font-size: 1.1rem; }
.contact-card dd .legal-name { font-size: .85rem; font-weight: 400; color: var(--steel); }
.map { margin-top: 28px; border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 500; margin-bottom: 6px; }
form .opt { color: var(--steel); font-weight: 400; }
form input, form textarea { width: 100%; padding: 12px 13px; border: 1.5px solid var(--rule); border-radius: var(--radius-s); font: inherit; background: #fff; color: var(--ink); }
form input:focus, form textarea:focus { border-color: var(--return); outline: none; box-shadow: 0 0 0 3px rgba(0,101,153,.15); }
form textarea { min-height: 170px; resize: vertical; }
form .error { color: var(--supply); font-size: .9rem; margin-top: 4px; }
form .hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; border-left: 4px solid var(--return); background: var(--paper); margin-bottom: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } form .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Pagination ---------- */
nav[role="navigation"] { margin-top: 40px; }
nav[role="navigation"] svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D6E0; padding: 56px 0 28px; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-family: var(--font); font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; }
.footer-brand img { height: 52px; width: auto; display: block; }
.footer-brand img.logo-on-card { height: 56px; background: #fff; padding: 8px 14px; border-radius: var(--radius-s); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: #9FB2C1; }
/* the two pipes, as a footer rule */
.pipes { height: 10px; background: linear-gradient(var(--supply) 0 4px, transparent 4px 6px, var(--return) 6px 10px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Error page ---------- */
.error-page { padding: clamp(56px, 10vw, 120px) 0; }
.error-page .code { font-family: var(--display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--rule); }

@media print {
    .topbar, .site-header, .site-footer, .sidebar, .pipes { display: none; }
}


/* Legal links */
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: #C9D6E0; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 3px solid var(--return); box-shadow: 0 -8px 24px rgba(14,42,63,.12); padding: 18px 0; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie-banner p { margin: 0; max-width: 46rem; font-size: .97rem; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 700px) { .cookie-banner .wrap { flex-direction: column; align-items: stretch; gap: 14px; } .cookie-actions .btn { flex: 1; justify-content: center; } }

/* Map placeholder until consent */
.map-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: var(--paper);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.map-consent p { margin: 0; color: var(--steel); max-width: 26rem; font-size: .95rem; }
.map-consent a { font-size: .9rem; }

/* Contact consent */
form .consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; line-height: 1.5; }
form .consent label span { flex: 1; min-width: 0; }
form .consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

/* ---------- Projects ---------- */
.projects-intro { padding-bottom: clamp(32px, 5vw, 64px); }
.section-ink { background-color: var(--ink); color: #fff;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.section-ink h2 { color: #fff; margin-bottom: 28px; }
.landmarks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.landmark { position: relative; min-height: 230px; background: var(--ink); display: flex; overflow: hidden; }
.landmark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landmark.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,42,63,.95) 25%, rgba(14,42,63,.15)); }
.landmark-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px 26px 24px; width: 100%; }
.landmark h3 { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 700; line-height: 1.2; margin: auto 0 0; color: #fff; }
.landmark-sector { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: .9rem; font-weight: 500; }
.landmark-sector svg { width: 22px; height: 22px; }
.landmark-place { display: inline-flex; align-items: center; gap: 6px; color: #A9BCCB; font-size: .95rem; }
.landmark-place svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .landmarks { grid-template-columns: 1fr; } .landmark { min-height: 170px; } }

.sector-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.sector-filter[hidden] { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); font: 500 .93rem/1.2 var(--font); cursor: pointer; }
.chip svg { width: 18px; height: 18px; color: var(--return); }
.chip span { color: var(--steel); font-feature-settings: "tnum" 1; }
.chip:hover { border-color: var(--return); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] svg { color: var(--cyan); }
.chip[aria-pressed="true"] span { color: #A9BCCB; }

.sector { margin-bottom: 44px; }
.sector[hidden] { display: none; }
.sector-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin: 0 0 14px; }
.sector-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius-s); color: var(--return); flex: none; }
.sector-icon svg { width: 24px; height: 24px; }
.sector-count { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--steel); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 10px; font-feature-settings: "tnum" 1; }
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.project-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.project-card img { width: calc(100% + 36px); margin: -16px -18px 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.project-card strong { font-weight: 600; line-height: 1.35; }
.project-card span { display: inline-flex; align-items: center; gap: 5px; color: var(--steel); font-size: .9rem; }
.project-card span svg { width: 14px; height: 14px; flex: none; }

.projects-cta { margin-top: 12px; padding: 28px; border: 1.5px solid var(--ink); border-radius: var(--radius-m); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--paper); }
.projects-cta p { margin: 0; font-size: 1.1rem; font-weight: 500; max-width: 40rem; }
@media (max-width: 520px) { .topbar .contact-line .hide-xs { display: none; } }

/* ---------- Company ---------- */
.company-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-lead p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--ink); padding-left: 20px; border-left: 4px solid var(--cyan); }
.story p { max-width: 40rem; }
@media (max-width: 900px) { .company-story { grid-template-columns: 1fr; } }

.services { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.services li { display: flex; flex-direction: column; gap: 10px; }
.services h3 { margin: 6px 0 0; font-size: 1.15rem; }
.services p { margin: 0; color: var(--steel); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

.partners { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.partners li { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.partner-logo { height: 70px; display: flex; align-items: center; }
.partner-logo img { max-height: 58px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.partner-text h3 { margin: 0 0 4px; font-family: var(--font); font-size: 1.1rem; font-weight: 600; }
.partner-text h3 span { font-weight: 400; color: var(--steel); font-size: .95rem; margin-left: 6px; }
.partner-text p { margin: 0; color: var(--steel); max-width: 44rem; }
.partner-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 900px) {
    .partners li { grid-template-columns: 1fr; gap: 10px; }
    .partner-logo { height: auto; }
    .partner-links { flex-direction: row; align-items: center; gap: 18px; }
}

.link-light { color: #fff; }
.link-light:hover { color: var(--cyan); }
.section-ink .section-head h2 { margin-bottom: 0; }

.team-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1.5px solid var(--ink); border-radius: var(--radius-m); background: var(--paper);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.team-band h2 { margin-bottom: 18px; }
.team { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.team li { display: flex; flex-direction: column; }
.team strong { font-size: 1.1rem; }
.team span { color: var(--steel); }
.team-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.team-line { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); text-decoration: none; font-feature-settings: "tnum" 1; }
.team-line:hover { color: var(--return); }
.team-contact .btn { margin-top: 8px; }
@media (max-width: 900px) { .team-band { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.news-card:hover { border-color: var(--return); box-shadow: 0 10px 28px rgba(14,42,63,.10); transform: translateY(-2px); }
.news-card:focus-within { outline: 3px solid var(--return); outline-offset: 2px; }
.news-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.news-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card h3 a:focus-visible { outline: none; }
.news-excerpt { margin: 0; color: var(--steel); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-foot { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; color: var(--steel); font-size: .88rem; }
.news-card-foot span:first-child { font-weight: 600; color: var(--ink); }

.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: var(--steel); font-size: .9rem; font-feature-settings: "tnum" 1; }
.news-kind { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--return); text-decoration: none; }
.news-kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
a.news-kind:hover { text-decoration: underline; }
.news-kind--technology { color: #6B4FA0; }
.news-kind--guide { color: #1C7C54; }
.news-kind--manufacturer { color: var(--supply); }

/* cover: product photo on paper, or a drawn "schematic" card */
.news-cover { position: relative; aspect-ratio: 16 / 9; background: var(--paper); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--rule); }
.news-cover > img { width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.news-cover.is-drawn { background-color: var(--ink); border-bottom-color: var(--ink);
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        radial-gradient(circle at 78% 40%, rgba(0,176,217,.28), transparent 55%);
    background-size: 22px 22px, 22px 22px, 100% 100%; }
.news-cover-symbol { position: absolute; right: 9%; top: 50%; width: 38%; max-width: 150px; transform: translateY(-50%); color: var(--cyan); stroke-width: 1.6; }
.news-cover-brand { position: absolute; left: 18px; bottom: 14px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.news-cover-brand::before { content: ""; display: block; width: 28px; height: 3px; background: var(--cyan); margin-bottom: 8px; }
.news-cover-logo { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: var(--radius-s); padding: 5px 9px; box-shadow: 0 1px 4px rgba(14,42,63,.12); display: flex; }
.news-cover-logo img { height: 20px; width: auto; max-width: 110px; object-fit: contain; }
.news-cover--lead, .news-cover--hero { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: var(--radius-m); }
.news-cover--lead .news-cover-brand, .news-cover--hero .news-cover-brand { font-size: 1.6rem; left: 26px; bottom: 22px; }

/* lead story */
.news-lead-section { padding-bottom: clamp(32px, 5vw, 56px); }
.news-lead { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.news-lead-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.news-lead h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.news-lead h2 a { color: var(--ink); text-decoration: none; }
.news-lead h2 a:hover { color: var(--return); }
.news-lead-excerpt { margin: 0; font-size: 1.1rem; color: var(--steel); }
@media (max-width: 900px) { .news-lead { grid-template-columns: 1fr; } }

/* key figures */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: clamp(28px, 4vw, 44px) 0 0; border-top: 2px solid var(--ink); }
.figures > div { padding: 16px 20px 4px 0; }
.figures > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.figures dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--return); line-height: 1.1; font-feature-settings: "tnum" 1; }
.figures dd { margin: 4px 0 0; color: var(--steel); font-size: .95rem; }
.figures--compact { margin: 4px 0 8px; width: 100%; }
.figures--compact dt { font-size: 1.35rem; }
.figures--compact dd { font-size: .85rem; }
@media (max-width: 600px) { .figures > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* filters */
.news-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.news-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-filter-label { width: 110px; flex: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
a.chip { text-decoration: none; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-current="true"] span { color: #A9BCCB; }
@media (max-width: 600px) { .news-filter-label { width: 100%; } }

/* article */
.article-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.article-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 18px; }
.article-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 0; }
.article-lead { margin: 18px 0 0; font-size: 1.2rem; line-height: 1.55; color: var(--ink); max-width: 42rem; }
.article-head .news-cover { background-color: #fff; }
.article-head .news-cover.is-drawn { background-color: var(--ink); }
@media (max-width: 900px) { .article-head-grid { grid-template-columns: 1fr; } .article-head .news-cover { max-width: 520px; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-body { font-size: 1.08rem; }
.article-body > p:first-child { margin-top: 0; }
.article-body table th { width: 34%; font-weight: 600; color: var(--ink); }
.article-body table { border-top: 2px solid var(--ink); }
.article-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 20px; background: #fff; }
.aside-card p { margin: 0 0 12px; color: var(--steel); font-size: .95rem; }
.aside-title { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin: 0 0 12px; }
.aside-logo { display: block; height: 44px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; margin-bottom: 14px; }
.aside-brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink) !important; }
.aside-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.aside-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.aside-cta .aside-title { color: var(--cyan); }
.aside-cta p { color: #C9D6E0; }
.aside-phone { display: block; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-decoration: none; margin-bottom: 14px; font-feature-settings: "tnum" 1; }
.aside-phone:hover { color: var(--cyan); }
.aside-cta .btn { width: 100%; justify-content: center; }
.aside-source a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.aside-source svg { width: 14px; height: 14px; }
.aside-share { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--steel); padding: 0 4px; }
.aside-share span { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

.article-nav-section { padding: clamp(28px, 4vw, 44px) 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.article-nav-link span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--return); }
.article-nav-link:hover { border-color: var(--return); background: var(--paper); }
.article-nav-link.next { text-align: right; grid-column: 2; }
@media (max-width: 700px) { .article-nav { grid-template-columns: 1fr; } .article-nav-link.next { grid-column: auto; text-align: left; } }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.pager-step { font-weight: 600; text-decoration: none; }
.pager-step.is-disabled { color: var(--rule); }
.pager-pages { display: flex; gap: 6px; }
.pager-page { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-weight: 600; font-feature-settings: "tnum" 1; }
a.pager-page:hover { border-color: var(--return); color: var(--return); }
.pager-page[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-gap { align-self: center; color: var(--steel); }
.figures--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figures--compact > div { padding: 12px 12px 0 0; }
.figures--compact > div + div { padding-left: 14px; border-left: 1px solid var(--rule); border-top: 0; }

/* ---------- Home banners (one per manufacturer, random order, slider) ---------- */
.showcase { background-color: var(--ink); color: #fff; position: relative; overflow: hidden;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
        radial-gradient(ellipse at 80% 45%, rgba(0,176,217,.30), transparent 60%);
    background-size: 24px 24px, 24px 24px, 100% 100%; }
.showcase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--supply) 0 50%, var(--cyan) 50% 100%); }
.showcase-viewport { position: relative; }
.showcase-slide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center;
    min-height: clamp(420px, 40vw, 540px); padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3vw, 36px); animation: showcase-in .6s ease both; }
.showcase-slide[hidden] { display: none; }
@keyframes showcase-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .showcase-slide { animation: none; } }
.showcase-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.showcase-logo { background: #fff; border-radius: var(--radius-s); padding: 10px 16px; display: inline-flex; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.showcase-logo img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.showcase-brand { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--cyan); }
.showcase-brand::before { content: ""; display: block; width: 32px; height: 3px; background: var(--cyan); margin-bottom: 10px; }
.showcase h2 { color: #fff; margin: 4px 0 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; max-width: 16ch; }
.showcase-text p { margin: 0; color: #C9D6E0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 36rem; }
.showcase-text .btn { margin-top: 6px; }
.showcase .btn-primary { background: var(--cyan); color: var(--ink); }
.showcase .btn-primary:hover { background: #fff; color: var(--ink); }

/* product photos: one large tile and two smaller ones */
.showcase-media { display: grid; gap: 16px; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; height: clamp(320px, 32vw, 420px); }
.showcase-photo { position: relative; background: #fff; border-radius: var(--radius-m); display: grid; place-items: center; padding: 18px; overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.30); text-decoration: none; transition: transform .2s; }
a.showcase-photo:hover { transform: translateY(-3px); }
.showcase-photo img { position: absolute; inset: 14px 14px 34px; width: calc(100% - 28px); height: calc(100% - 48px); object-fit: contain; }
.showcase-photo span { position: absolute; left: 12px; bottom: 10px; font-size: .82rem; font-weight: 600; color: var(--steel); }
.showcase-photo:first-child { grid-row: 1 / 3; }
.showcase-photo:first-child img { inset: 30px 30px 44px; width: calc(100% - 60px); height: calc(100% - 74px); }
.showcase-media.count-1 .showcase-photo, .showcase-media.count-img .showcase-photo { grid-column: 1 / 3; grid-row: 1 / 3; }
.showcase-media.count-2 .showcase-photo:nth-child(2) { grid-row: 1 / 3; }
.showcase-media.count-0 { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.showcase-symbol { width: min(70%, 300px); color: var(--cyan); stroke-width: 1.3; filter: drop-shadow(0 0 24px rgba(0,176,217,.35)); }
.showcase-image { display: block; grid-column: 1 / -1; border-radius: var(--radius-m); overflow: hidden; }
.showcase-image img { width: 100%; height: auto; }
.showcase-slide.is-image { min-height: 0; }

.showcase-controls { display: flex; align-items: center; gap: 14px; padding-bottom: clamp(28px, 3vw, 40px); }
.showcase-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; flex: none; }
.showcase-arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.showcase-arrow svg { width: 18px; height: 18px; }
.showcase-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.showcase-dot { position: relative; border: 0; background: transparent; color: #A9BCCB; font: 500 .88rem/1 var(--font); padding: 12px 10px 14px; cursor: pointer; }
.showcase-dot::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.showcase-dot:hover { color: #fff; }
.showcase-dot[aria-current="true"] { color: #fff; }
.showcase-dot[aria-current="true"]::after { background: linear-gradient(90deg, var(--cyan) var(--progress, 100%), rgba(255,255,255,.2) var(--progress, 100%)); }
.showcase-arrow:focus-visible, .showcase-dot:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 900px) {
    .showcase-slide { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
    .showcase-media { height: 260px; }
    .showcase-dot span { display: none; }
    .showcase-dot { width: 34px; padding: 12px 0; }
    .showcase-dot::after { left: 4px; right: 4px; }
}
@media (max-width: 520px) { .showcase-media { height: 210px; gap: 10px; } .showcase-photo span { display: none; } }
@media (max-width: 900px) { .showcase-media.count-0 { height: 150px; } .showcase-symbol { width: 130px; } }

