/* Self-hosted: Manrope, IBM Plex Mono (SIL OFL 1.1) – latin + latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/IBMPlexMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/IBMPlexMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/IBMPlexMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/IBMPlexMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Manrope-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Manrope-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --ink: #22281f;
  --muted: #5f645b;
  --line: #e2ded5;
  --accent: #4f6b4e;
  --accent-deep: #34453a;
  --accent-soft: #e8ebe3;
  --clay: #a68a64;
  --radius: 6px;
  --max: 1160px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-soft); color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 3px; border-radius: var(--radius); }
main:focus { outline: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--accent-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 700; font-size: 15px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: rgba(245, 243, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo img, .logo svg { width: 36px; height: 36px; }
.logo b { font-weight: 700; font-size: 25px; letter-spacing: -0.045em; line-height: 1; padding-bottom: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.lang { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink) !important; }
.lang:hover { border-color: var(--muted); }
.menu-toggle { display: none; }

@media (max-width: 800px) {
  .menu-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .lang { margin-top: 10px; }
}

/* Typography */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; font-weight: 700; text-wrap: balance; }
.h3 { font-size: 20px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 1.9vw, 20px); color: var(--muted); max-width: 620px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 84px 0 48px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--accent); }
.product-detail h2 a { color: inherit; text-decoration: none; }
.product-detail h2 a:hover { color: var(--accent); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--accent); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.hero-badge { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(245, 243, 238, .94); border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.4; }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge img { width: 36px; height: 36px; flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { padding: 26px 24px 26px 0; }
.trust div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.trust strong { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.trust span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 20px 16px 20px 0 !important; border-left: 0 !important; }
  .trust div:nth-child(even) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Product cards */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.product:hover { border-color: #c9c4b8; transform: translateY(-2px); }
.product-img { aspect-ratio: 4 / 3; background: var(--accent-soft); position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.product-img .formula { position: absolute; left: 14px; bottom: 12px; background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 4px; font-size: 15px; margin: 0; }
.product-img.plain { display: grid; place-items: center; }
.product-img.plain .formula { position: static; background: none; font-size: 40px; color: var(--accent); }
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 8px; }
.product-body p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 14px; color: var(--accent); }
.formula { font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--accent-deep); }
.formula sub { font-size: .6em; }

/* Sectors with photos */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }
.sector img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); filter: saturate(.75); margin-bottom: 18px; }
@media (max-width: 520px) { .sector img { aspect-ratio: 16 / 10; } }
.sector h3 { margin: 0 0 8px; }
.sector p { color: var(--muted); font-size: 15px; margin: 0; }

/* Split / quality */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.split.center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; filter: saturate(.5) contrast(.95); }
.photo.wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .photo.wide { aspect-ratio: 4 / 3; } }

.cert { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cert:first-child { border-top: 1px solid var(--line); }
.cert-tag { font-family: var(--mono); font-size: 13px; background: var(--accent-soft); color: var(--accent-deep); padding: 6px 10px; border-radius: 4px; white-space: nowrap; flex: none; }
.cert p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cert h3 { font-size: 17px; margin: 0 0 4px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fact strong { display: block; font-size: 32px; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; color: var(--accent-deep); }
.fact span { color: var(--muted); font-size: 15px; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.list-check li:first-child { border-top: 1px solid var(--line); }
.list-check li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.product-detail:first-of-type { border-top: 0; padding-top: 8px; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; gap: 24px; } }
.detail-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--accent-soft); position: relative; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.detail-media .formula { position: absolute; left: 16px; bottom: 14px; background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 4px; font-size: 18px; }
.detail-media.plain { display: grid; place-items: center; }
.detail-media.plain .formula { position: static; background: none; font-size: 52px; color: var(--accent); }
.specs { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.specs li span:first-child { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 3px; }
@media (max-width: 520px) { .specs li { grid-template-columns: 1fr; gap: 2px; } }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tags span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

/* CTA */
.cta { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.3); }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 52, 43, .94) 0%, rgba(40, 52, 43, .82) 55%, rgba(40, 52, 43, .55) 100%); z-index: 1; }
.cta-inner { position: relative; z-index: 2; padding: 64px 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; }
.cta p { color: #d3d9d1; margin: 0; max-width: 520px; }
.cta .btn { background: #f5f3ee; border-color: #f5f3ee; color: var(--ink); }
.cta .btn:hover { background: #fff; border-color: #fff; }
@media (max-width: 520px) { .cta-inner { padding: 40px 24px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card .label { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: block; margin-bottom: 12px; }
.contact-card a { text-decoration: none; font-weight: 700; font-size: 19px; word-break: break-word; }
.contact-card a:hover { color: var(--accent); }
.contact-card p { margin: 0; }
.company-data { margin-top: 64px; }
.map { margin-top: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 380px; background: var(--accent-soft); }
.map-consent { height: 100%; display: grid; place-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 15px; }
.map-consent p { margin: 0; max-width: 420px; }
button.btn { font-family: var(--sans); cursor: pointer; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.5); }

/* Credits */
.credits { list-style: none; padding: 0; margin: 0; }
.credits li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credits img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; }
.credits a { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid .logo { margin-bottom: 14px; color: var(--ink); }
.footer-grid h4 { font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 12px; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .page-head { padding: 56px 0 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .product, .skip { transition: none; }
  .product:hover { transform: none; }
}

/* Product element tiles */
.tile { display: block; position: relative; overflow: hidden; color: var(--accent-deep); }
.tile::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 18px 18px; opacity: .07; pointer-events: none; }
.tile-stone { background: #ebe5d9; }
.tile-sage { background: var(--accent-soft); }
.tile-deep { background: var(--accent-deep); color: #e9eee4; }
.tile-z { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-size: 14px; }
.tile-sym { position: absolute; left: 18px; bottom: 44px; font-size: clamp(56px, 7vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; }
.tile-sym span { font-weight: 300; opacity: .55; }
.tile-sym sub { font-size: .45em; vertical-align: baseline; position: relative; top: .25em; }
.tile-nm { position: absolute; left: 18px; bottom: 16px; font-size: 14px; font-weight: 600; }
.tile-nm sub { font-size: .75em; }
.detail-media.tile .tile-sym { font-size: clamp(72px, 9vw, 104px); left: 24px; bottom: 56px; }
.detail-media.tile .tile-z, .detail-media.tile .tile-nm { left: 24px; }
.detail-media.tile .tile-z { top: 22px; }
.detail-media.tile .tile-nm { bottom: 22px; font-size: 16px; }

/* Geography map */
.geo { padding: 96px 0; }
.geo-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .geo-grid { grid-template-columns: 1fr; gap: 32px; } }
.geo-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.geo-list li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; }
.geo-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.geo-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.geo-map { display: block; width: 100%; height: auto; }
.geo-map .land path { fill: #ece9e1; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.geo-map .land path.on { fill: #c9d6bf; }
.geo-map .link { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .75; }
.geo-map .pt { fill: #fff; stroke: var(--accent-deep); stroke-width: 2.5; }
.geo-map .hq { fill: var(--accent-deep); }
.geo-map .hq-ring { fill: var(--accent-deep); opacity: .15; }
.geo-map .lbl text { font: 600 24px var(--sans); fill: var(--accent-deep); text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.8); stroke-width: 4px; }
.geo-map .hq-lbl { font: 600 20px var(--sans); fill: var(--muted); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 4px; }
@media (max-width: 520px) { .geo-map .lbl text { font-size: 30px; } .geo-map .hq-lbl { display: none; } }

/* Certificate card */
.cert-card { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .cert-card { grid-template-columns: 1fr; gap: 28px; } }
.cert-seal { background: var(--accent-deep); color: #e9eee4; border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 6px; }
.cert-seal img { margin-bottom: 18px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.cert-seal strong { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.cert-seal span { font-family: var(--mono); font-size: 15px; opacity: .8; }
.cert-seal .cert-status { margin-top: 18px; align-self: flex-start; font-family: var(--sans); font-size: 13px; font-weight: 700; opacity: 1; background: #c9d6bf; color: var(--accent-deep); padding: 5px 12px; border-radius: 999px; }
.contact-sub { margin-top: 10px !important; font-size: 15px; color: var(--muted); }
.contact-card .contact-sub a { font-size: 15px; font-weight: 600; }

/* How we work */
.how { background: var(--accent-deep); color: #e9eee4; }
.how .lead { color: #c4cfc0; }
.how .cert-tag { background: rgba(233, 238, 228, .1); color: #d6e2cd; }
.flow { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid rgba(233, 238, 228, .18); }
.flow li { counter-increment: step; position: relative; padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.flow li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: #a9b9a3; margin-bottom: 8px; }
.flow li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #c9d6bf; }
.flow b { font-size: 20px; letter-spacing: -0.01em; }
.flow span { color: #c4cfc0; font-size: 15px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.how-item h3 { margin: 14px 0 8px; }
.how-item p { color: #c4cfc0; font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; } .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; border-top: 0; } .flow li { border-top: 1px solid rgba(233, 238, 228, .18); } }
@media (max-width: 560px) { .how-grid { grid-template-columns: 1fr; gap: 32px; } }
.cert-seal img { background: #e9eee4; padding: 8px; }

/* Language switcher */
.langs { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.langs .lang { border: 0; padding: 3px 10px; color: var(--muted) !important; }
.langs .lang[aria-current] { background: var(--accent-deep); color: #f5f3ee !important; border-radius: 999px; }
.langs a.lang:hover { color: var(--ink) !important; }
@media (max-width: 800px) { .langs { margin-top: 12px; } .langs .lang { margin-top: 0; padding: 8px 14px; } }

/* Trade fair notice */
.event-bar { background: var(--accent-soft); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.event-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; }
.event-bar strong { color: var(--accent-deep); }
.event-bar span { color: var(--muted); }
.event-bar a { margin-left: auto; font-weight: 700; color: var(--accent-deep); text-decoration: none; }
.event-bar a:hover { text-decoration: underline; }
@media (max-width: 560px) { .event-bar a { margin-left: 0; } }

.product-detail p, .cert p, .cert-card p { max-width: 68ch; }
.product-detail p:not(.lead) { max-width: 58ch; }

/* Range cards (home) */
.range { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .range { grid-template-columns: 1fr; } }
.range-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.range-card:hover { border-color: #c9c4b8; transform: translateY(-2px); }
.range-visual { aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-soft); }
.range-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.range-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.mini-tile { position: relative; display: flex; align-items: flex-end; padding: 10px 14px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--accent-deep); background: var(--accent-soft); }
.mini-tile:nth-child(2), .mini-tile:nth-child(3) { background: #ebe5d9; }
.mini-tile:nth-child(4) { background: var(--accent-deep); color: #e9eee4; }
.mini-tile i { position: absolute; top: 8px; left: 14px; font: 400 12px var(--mono); letter-spacing: 0; }
.range-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.range-body h3 { margin-bottom: 8px; }
.range-body p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.range-body ul { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.range-body li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }

/* Catalogue (products page) */
.cat-section { padding: 72px 0; }
.cat-section:first-of-type { padding-top: 16px; }
.cat-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; gap: 28px; } }
.cat-intro { position: sticky; top: 100px; }
@media (max-width: 900px) { .cat-intro { position: static; } }
.cat-intro .range-visual { border-radius: var(--radius); margin-bottom: 24px; }
.cat-intro h2 { font-size: clamp(24px, 2.6vw, 32px); }
.cat-intro .lead { font-size: 17px; }
.cat-list { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
@media (max-width: 640px) { .cat-row { grid-template-columns: 1fr; } }
.cat-row h3 { margin: 0 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.cat-row p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.cat-code { font: 500 14px var(--mono); color: var(--accent); letter-spacing: 0; }
.cat-code sub { font-size: .75em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { font: 500 13px var(--mono); background: var(--accent-soft); color: var(--accent-deep); padding: 4px 10px; border-radius: 999px; }
.cat-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-actions .btn { padding: 10px 18px; font-size: 14px; }

/* Downloadable certificates */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.doc { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.doc-thumb { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.doc-thumb img { display: block; width: 100%; height: auto; }
.doc-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(52, 69, 58, .12); }
.doc h3 { margin: 0 0 8px; }
.doc p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.doc .doc-note { margin: 12px 0 0; font-size: 14px; }
.doc-size { font-family: var(--mono); font-size: 12px; opacity: .7; margin-left: 4px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .doc { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .doc-thumb { transition: none; } .doc-thumb:hover { transform: none; } }

/* Motion (assets/motion.js). Hidden states apply only when JS runs and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) .rv { opacity: 0; transform: translateY(18px); }
  .js .rv { transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }

  /* Hero: text rises line by line, the photo opens like a shutter and settles */
  .js .hero-grid > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-grid > div:first-child > :nth-child(2) { animation-delay: .12s; }
  .js .hero-grid > div:first-child > :nth-child(3) { animation-delay: .24s; }
  .js .hero-photo { animation: shutter 1.1s cubic-bezier(.7,0,.2,1) .1s both; }
  .js .hero-photo img { animation: settle 1.8s cubic-bezier(.2,.7,.2,1) .1s both; }
  .js .hero-badge { animation: rise .7s cubic-bezier(.2,.7,.2,1) .9s both; }

  /* How we work: the dots pop in after their step appears */
  .js .flow li.rv::after { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + .25s); }
  .js .flow li.rv.in::after { transform: none; }

  /* Map: partner countries fill one after another, routes flow out of Prague */
  .js:not(.no-motion) .geo-map .land path.on { fill: #ece9e1; transition: fill .6s ease; }
  .js .geo-map.in .land path.on { fill: #c9d6bf; }
  .js .geo-map.in .land path.on:nth-child(3n) { transition-delay: .15s; }
  .js .geo-map.in .land path.on:nth-child(3n+1) { transition-delay: .3s; }
  .js:not(.no-motion) .geo-map .link { opacity: 0; transition: opacity .6s ease .4s; }
  .js .geo-map.in .link { opacity: .75; animation: route 1.6s linear infinite; }
  .js:not(.no-motion) .geo-map .pt { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1) .7s; }
  .js .geo-map.in .pt { transform: none; }
  .geo-map .hq-ring { transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }

  /* Tiles and buttons: small physical feedback */
  .tile-sym, .mini-tile { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .tile:hover .tile-sym { transform: translateY(-4px); }
  .range-card:hover .mini-tile { transform: translateY(-2px); }
  .range-card:hover .mini-tile:nth-child(2) { transition-delay: .04s; }
  .range-card:hover .mini-tile:nth-child(3) { transition-delay: .08s; }
  .range-card:hover .mini-tile:nth-child(4) { transition-delay: .12s; }
  .btn { transition: background .15s, border-color .15s, transform .12s; }
  .btn:active { transform: scale(.97); }
  .range-visual img, .sector img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .range-card:hover .range-visual img, .sector:hover img { transform: scale(1.04); }
}
.grain { position: absolute; z-index: 50; pointer-events: none; border-radius: 45% 55% 50% 40%; }
.sector > picture, .sector > img, .range-visual { overflow: hidden; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes shutter { from { clip-path: inset(100% 0 0 0 round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes settle { from { transform: scale(1.12); } }
@keyframes route { to { stroke-dashoffset: -18; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .35; } 70%, 100% { transform: scale(2.2); opacity: 0; } }

/* Motion, round two */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(34, 40, 31, .07); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.logo-mark { width: 36px; height: 36px; overflow: visible; flex: none; }
.leaf { transform-box: fill-box; transform-origin: 0% 100%; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.cert-seal .cert-status { display: inline-flex; align-items: center; gap: 8px; }
.cert-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4f8a4c; flex: none; }
.cat-row { position: relative; }
.btn { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  /* Logo: leaves grow on first load and sway on hover */
  .site-header .leaf { animation: sprout .9s cubic-bezier(.3,1.4,.5,1) both; }
  .site-header .leaf-b { animation-delay: .12s; }
  .logo:hover .leaf-a { animation: sway .8s ease-in-out; }
  .logo:hover .leaf-b { animation: sway .8s ease-in-out .08s; }

  /* Nav: underline slides in from the left */
  .nav a:not(.lang) { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 2px; transition: color .15s, background-size .3s cubic-bezier(.2,.7,.2,1); }
  .nav a:not(.lang):hover { background-size: 100% 2px; }
  .nav a[aria-current="page"] { box-shadow: none; background-size: 100% 2px; }

  /* Headings: words rise from a mask when their block appears */
  .js:not(.no-motion) .rv .w > span, .js:not(.no-motion) h2.rv .w > span { transform: translateY(105%); }
  .js .w > span { transition: transform .8s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0ms) + var(--i) * 55ms); }
  .js .rv.in .w > span { transform: none; }

  /* Dark section: soft light follows the cursor */
  .how { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -200px), rgba(201, 214, 191, .09), transparent 70%), var(--accent-deep); }

  /* Cards: tilt is set by JS, this just smooths it */
  .range-card, .doc-thumb { transition: border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .2s; will-change: auto; }

  /* Product rows: an accent line grows on the left, the name nudges right */
  .cat-row::before { content: ""; position: absolute; left: -18px; top: 22px; bottom: 22px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .cat-row:hover::before { transform: none; }
  .cat-row h3 { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .cat-row:hover h3 { transform: translateX(4px); }

  /* Buttons: a light sheen passes over on hover */
  .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); pointer-events: none; }
  .btn.ghost::after { background: linear-gradient(100deg, transparent, rgba(79,107,78,.12), transparent); }
  .btn:hover::after { left: 130%; transition: left .7s ease; }

  /* Certificate status: a live dot */
  .cert-status::before { animation: live 2.4s ease-out infinite; }
  .geo-list li { transition: transform .25s; }
  .geo-list li:hover { transform: translateX(3px); }
}
@media (max-width: 800px) { .cat-row::before { display: none; } }
@keyframes sprout { from { transform: scale(0) rotate(-20deg); opacity: 0; } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-9deg); } 65% { transform: rotate(5deg); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(79, 138, 76, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(79, 138, 76, 0); } }
.js:not(.no-motion) .hero-photo img { height: calc(100% + 80px); margin-top: -40px; }
