﻿/* ==========================================================================
   GREENISH — European site 2026
   Design system + page styles. No external dependencies.
   ========================================================================== */

:root {
  --ink: #101614;
  --ink-2: #39413D;
  --ink-3: #6C756F;
  --paper: #F8F6F1;
  --paper-2: #EFEBE1;
  --paper-3: #E4DFD2;
  --teal: #1B7F76;
  --teal-deep: #0E5A54;
  --teal-soft: #DEEBE7;
  --line: rgba(16, 22, 20, .14);
  --line-strong: rgba(16, 22, 20, .28);
  --white: #fff;

  --sans: "Inter", "Helvetica Neue", Arial, "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 60px -30px rgba(16, 22, 20, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* Images inside fixed-ratio containers: the <picture> wrapper has to take the
   container height, otherwise height:100% on the <img> resolves against auto. */
.hero__media picture,
.hero__media img,
.card__media picture,
.card__media img,
.tile picture,
.tile img,
.product-hero__figure picture,
.product-hero__figure img,
.gallery picture,
.gallery img,
.news-item__media picture,
.news-item__media img,
.swatch picture,
.swatch img {
  width: 100%;
  height: 100%;
}
.hero__media picture, .card__media picture, .tile picture,
.product-hero__figure picture, .gallery picture, .news-item__media picture { display: block; }
.hero__media img, .card__media img, .tile img, .product-hero__figure img,
.gallery img, .news-item__media img { object-fit: cover; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-deep); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.35rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }

ul, ol { margin: 0 0 1em; padding-left: 1.1em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--teal); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 124px); }
section[id], div[id] { scroll-margin-top: 96px; }
.section--tight { padding-block: clamp(44px, 5.5vw, 76px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.3fr .7fr; }
.split--wide-right { grid-template-columns: .75fr 1.25fr; }

.stack > * + * { margin-top: 1.1em; }

/* ---------- type helpers ---------- */

.eyebrow {
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1.1em;
  display: flex;
  align-items: center;
  gap: .75em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  flex: none;
  opacity: .6;
}
.section--ink .eyebrow { color: #8FC7BE; }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.section--ink .lede { color: rgba(248, 246, 241, .78); }

.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { margin-top: 1.1em; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; max-width: none;
}
.section-head--row .section-head__text { max-width: 720px; }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn--sm { padding: 12px 18px; font-size: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .86rem; font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: .8em; border-color: var(--teal); color: var(--teal-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- utility bar + header ---------- */

.utility {
  background: var(--ink);
  color: rgba(248, 246, 241, .72);
  font-size: .74rem;
  letter-spacing: .04em;
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 38px; padding-block: 6px;
}
.utility a { color: inherit; }
.utility a:hover { color: var(--paper); }
.utility__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utility__right { display: flex; align-items: center; gap: 18px; }
.utility .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: .5; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(248, 246, 241, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(248, 246, 241, .97); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; min-height: 76px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 42px; width: auto; }
.brand__word {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.brand__word sup { font-size: .48em; letter-spacing: 0; vertical-align: super; margin-left: 1px; }
.brand--footer .brand__word { color: var(--paper); }
.footer__brand .brand { margin-bottom: 18px; }
.brand__tag {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
  border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.35;
  max-width: 130px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-size: .875rem;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); background: rgba(16, 22, 20, .05); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 1px; background: var(--teal);
}
.nav__caret { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .55; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px;
  min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 9px 12px; font-size: .86rem;
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--paper-2); color: var(--ink); }
.dropdown .dropdown__label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); padding: 8px 12px 4px;
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
}
.lang a, .lang span { padding: 7px 9px; color: var(--ink-3); white-space: nowrap; }
.lang .is-active { background: var(--ink); color: var(--paper); }
.lang span[aria-disabled] { opacity: .45; }


.header__actions .btn { white-space: nowrap; }
@media (max-width: 1240px) {
  .lang a, .lang span { padding: 6px 7px; font-size: .64rem; }
  .header__actions .btn { padding-inline: 16px; font-size: .8rem; }
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav__close {
  width: 44px; height: 44px; border: 1px solid var(--line); background: none;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.mobile-nav__group { border-top: 1px solid var(--line); padding: 16px 0; }
.mobile-nav__group h3 { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.mobile-nav a { display: block; padding: 8px 0; font-size: 1.05rem; }
.mobile-nav .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(84vh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 11, .45) 0%, rgba(8, 12, 11, .12) 38%, rgba(8, 12, 11, .78) 100%),
    linear-gradient(90deg, rgba(8, 12, 11, .74) 0%, rgba(8, 12, 11, .48) 42%, rgba(8, 12, 11, .06) 78%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(48px, 6vw, 84px) clamp(28px, 3vw, 40px); }
.hero__content { max-width: 780px; }
.hero .eyebrow { color: rgba(248, 246, 241, .82); }
.hero h1 { color: var(--paper); text-shadow: 0 1px 40px rgba(10, 14, 13, .25); }
.hero__lede { color: rgba(248, 246, 241, .86); font-size: clamp(1rem, 1.3vw, 1.16rem); max-width: 56ch; margin-block: 1.4em 2em; }
.hero .btn--ghost { color: var(--paper); border-color: rgba(248, 246, 241, .5); }
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero__strip {
  position: relative;
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid rgba(248, 246, 241, .28);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero__strip div {
  padding: 18px 20px 4px 0;
  font-size: .78rem;
  color: rgba(248, 246, 241, .84);
  border-right: 1px solid rgba(248, 246, 241, .16);
}
.hero__strip div:last-child { border-right: 0; }
.hero__strip strong {
  display: block; font-family: var(--mono); font-size: .98rem;
  font-weight: 500; letter-spacing: .02em; color: var(--paper); margin-bottom: 2px;
}

/* ---------- trust / badge strip ---------- */

.trust { background: var(--ink); color: rgba(248, 246, 241, .8); padding-block: 22px; }
.trust__inner { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; }
.trust__label { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(248, 246, 241, .5); }
.trust__item { font-size: .74rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.trust__item::before { content: ""; width: 5px; height: 5px; border: 1px solid #8FC7BE; border-radius: 50%; }
.trust__item b { font-weight: 500; color: var(--paper); }

/* ---------- cards ---------- */

.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 20px 22px 24px; }
.card__kicker { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: .9rem; color: var(--ink-3); margin: 0; }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--ink-3);
}
.card__arrow {
  display: inline-flex; align-items: center; margin-top: 16px;
  font-size: .82rem; font-weight: 500; color: var(--ink);
}
.card__arrow::after { content: "→"; margin-left: .5em; transition: transform .3s var(--ease); }
.card:hover .card__arrow::after { transform: translateX(4px); }

.card--flush { border: 0; background: transparent; }
.card--flush .card__body { padding-inline: 0; }

.tile { position: relative; overflow: hidden; display: block; aspect-ratio: 3 / 2; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 13, 0) 40%, rgba(10, 14, 13, .78) 100%);
}
.tile:hover img { transform: scale(1.04); }
.tile__label {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 22px 24px; color: var(--paper);
}
.tile__label span { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 246, 241, .7); margin-bottom: 4px; }
.tile__label strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--paper); padding: clamp(22px, 2.6vw, 34px); }
.section--paper2 .stat { background: var(--paper-2); }
.stat__num { font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.stat__num sup { font-size: .42em; vertical-align: super; margin-left: 2px; letter-spacing: 0; }
.stat__label { margin-top: 12px; font-size: .82rem; color: var(--ink-3); }

/* ---------- feature list ---------- */

.feature { border-top: 1px solid var(--line); padding-top: 20px; }
.feature__num { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--teal-deep); }
.feature h3 { margin: 12px 0 .4em; }
.feature p { font-size: .9rem; color: var(--ink-3); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--ink-2); margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 5px; border-left: 1px solid var(--teal); border-bottom: 1px solid var(--teal);
  transform: rotate(-45deg);
}
.section--ink .checklist li { color: rgba(248, 246, 241, .8); }
.section--ink .checklist li::before { border-color: #8FC7BE; }

/* ---------- spec table ---------- */

.specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs caption { text-align: left; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; }
.specs th, .specs td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--ink-3); width: 38%; font-size: .82rem; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs td { color: var(--ink); }
.specs--ink th, .specs--ink td { border-color: rgba(248, 246, 241, .16); color: rgba(248, 246, 241, .86); }
.specs--ink th { color: rgba(248, 246, 241, .5); }

/* ---------- downloads ---------- */

.download {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.download:first-of-type { border-top: 1px solid var(--line); }
.download__name { font-size: .95rem; }
.download__meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.download__action { font-size: .8rem; white-space: nowrap; color: var(--teal-deep); }

/* ---------- quote / callout ---------- */

.callout {
  background: var(--ink); color: var(--paper);
  padding: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.callout h2 { color: var(--paper); font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.callout p { color: rgba(248, 246, 241, .75); max-width: 52ch; }
.callout__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- quote block ---------- */

.pullquote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; }
.pullquote cite { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--ink-3); margin-top: 22px; }

/* ---------- colours ---------- */

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.swatch { aspect-ratio: 1; position: relative; }
.swatch span {
  position: absolute; inset: auto 0 0 0; padding: 6px;
  font-family: var(--mono); font-size: .55rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .85); background: linear-gradient(transparent, rgba(0, 0, 0, .35));
  opacity: 0; transition: opacity .2s;
}
.swatch:hover span { opacity: 1; }

/* ---------- product page ---------- */

.product-hero { padding-block: clamp(28px, 4vw, 48px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.breadcrumb { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb span { opacity: .45; }

.product-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.product-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.product-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-strong); padding: 7px 10px; color: var(--ink-2);
}
.product-hero__figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-cell { background: var(--paper); padding: clamp(22px, 2.6vw, 32px); }
.feature-cell h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature-cell p { font-size: .88rem; color: var(--ink-3); margin: 0; }

/* ---------- tables for certificates ---------- */

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert {
  background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px;
}
.cert__std { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.cert h3 { font-size: 1.12rem; margin: 0; }
.cert p { font-size: .84rem; color: var(--ink-3); margin: 0; }
.cert__result { margin-top: auto; padding-top: 12px; font-size: .8rem; color: var(--ink); border-top: 1px solid var(--line); }

/* ---------- about / timeline ---------- */

.figure { margin: 0; }
.figure img { width: 100%; }
.finish-grid figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.finish-grid figcaption { min-height: 3.2em; }
.figure figcaption { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 26px 26px; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -3px; top: .55em;
  width: 5px; height: 5px; background: var(--teal); border-radius: 50%;
}
.timeline b { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; display: block; color: var(--teal-deep); margin-bottom: 2px; }

/* ---------- forms ---------- */

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--teal-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 10px 2px; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23101614'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.field select option { background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); }
.field input::placeholder, .field textarea::placeholder { color: #A7AEA8; }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--ink-3); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); flex: none; }
.form__note { font-size: .78rem; color: var(--ink-3); }
.form__status { font-size: .86rem; color: var(--teal-deep); min-height: 1.2em; }

.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-block { border-top: 1px solid var(--line); padding-top: 16px; }
.contact-block h3 { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.contact-block a, .contact-block p { font-size: .95rem; }

/* ---------- news ---------- */

.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item__media { aspect-ratio: 4 / 3; overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item time { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.news-item h3 { font-size: 1.25rem; margin: 6px 0 .3em; }
.news-item p { font-size: .88rem; color: var(--ink-3); margin: 0; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-size: 1rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.05rem; color: var(--ink-3);
}
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 60px 22px 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(248, 246, 241, .7); padding-block: clamp(48px, 6vw, 76px) 30px; font-size: .88rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 44px; border-bottom: 1px solid rgba(248, 246, 241, .16); }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1) opacity(.92); }
.footer__brand p { max-width: 34ch; color: rgba(248, 246, 241, .62); }
.footer h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 246, 241, .45); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: inherit; }
.footer a:hover { color: var(--paper); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; font-size: .76rem; color: rgba(248, 246, 241, .5);
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- cookie banner ---------- */

.cookie {
  position: fixed; z-index: 140; left: 16px; right: 16px; bottom: 16px;
  max-width: 720px; margin-inline: auto;
  background: var(--ink); color: rgba(248, 246, 241, .85);
  padding: 20px 22px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .45s var(--ease);
  font-size: .82rem;
}
.cookie.is-visible { transform: translateY(0); }
.cookie p { margin: 0; max-width: 46ch; }
.cookie a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn--ghost { color: var(--paper); border-color: rgba(248, 246, 241, .35); }
.cookie .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- misc ---------- */

.page-header { padding-block: clamp(40px, 6vw, 86px) clamp(30px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 20ch; }
.page-header .lede { margin-top: 1.3em; }

.anchor-nav { display: flex; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.anchor-nav a { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.anchor-nav a:hover { color: var(--teal-deep); }
.anchor-nav button { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 2px; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; }
.anchor-nav button:hover { color: var(--ink); }
.anchor-nav button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.logo-row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; }
.logo-row img { height: 34px; width: auto; opacity: .7; filter: grayscale(1); }
.logo-row img:hover { opacity: 1; filter: none; }

.note {
  border-left: 2px solid var(--teal);
  padding: 4px 0 4px 18px;
  font-size: .86rem;
  color: var(--ink-2);
  background: linear-gradient(90deg, rgba(27, 127, 118, .05), transparent);
}

.table-scroll { overflow-x: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .brand__tag { display: none; }
  .nav__link { padding-inline: 9px; font-size: .84rem; }
  .footer__top { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  .nav, .header__actions .lang { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .hero { min-height: 70vh; }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip div:nth-child(2) { border-right: 0; }
  .hero__strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(248, 246, 241, .16); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .product-hero__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .callout { grid-template-columns: 1fr; }
  .callout__actions { justify-content: flex-start; }
  .swatches { grid-template-columns: repeat(5, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .trust { padding-block: 14px; }
  .trust__inner { flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; -ms-overflow-style: none; }
  .trust__inner::-webkit-scrollbar { display: none; }
  .trust__label { display: none; }
  .trust__item { flex: none; white-space: nowrap; font-size: .72rem; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(8, 12, 11, .62) 0%, rgba(8, 12, 11, .5) 34%, rgba(8, 12, 11, .92) 100%);
  }
  .hero__lede { color: rgba(248, 246, 241, .92); }
  .utility__right { display: none; }
  .utility__inner { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 120px 1fr; gap: 16px; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .date-range { display: none; }
  .download { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero { min-height: 78vh; }
  .hero__strip { grid-template-columns: 1fr 1fr; }
  .hero__strip div { padding: 14px 14px 2px 0; }
  .hero__lede { font-size: 1rem; }
  .brand img { height: 36px; width: 36px; }
  .brand__word { font-size: .92rem; letter-spacing: .14em; }
  .header__inner { min-height: 64px; }
  .utility__left { justify-content: center; text-align: center; }
  .utility__left > a { display: none; }
  .utility__left .dot { display: none; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .callout { padding: 28px 22px; }
  .product-hero__figure { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .cookie { padding: 16px; }
  .footer__bottom { font-size: .72rem; }
}


/* ---------- Chinese typography ---------- */

html[lang="zh-CN"] {
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --display: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] .tile__label strong,
html[lang="zh-CN"] .pullquote { font-family: var(--display); font-weight: 600; }
html[lang="zh-CN"] body { line-height: 1.8; letter-spacing: .01em; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 { line-height: 1.25; letter-spacing: 0; font-weight: 500; }
html[lang="zh-CN"] h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); }
html[lang="zh-CN"] h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
html[lang="zh-CN"] .hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
html[lang="zh-CN"] .hero__lede { font-size: 1.05rem; line-height: 1.85; }
html[lang="zh-CN"] .lede { line-height: 1.85; }
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .mono { letter-spacing: .08em; }
html[lang="zh-CN"] .btn { letter-spacing: .02em; }
html[lang="zh-CN"] .specs th { width: 30%; }
html[lang="zh-CN"] .nav__link { font-size: .9rem; }
html[lang="zh-CN"] .chip,
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .mono,
html[lang="zh-CN"] .card__kicker,
html[lang="zh-CN"] .cert__std,
html[lang="zh-CN"] .download__meta,
html[lang="zh-CN"] .field label,
html[lang="zh-CN"] .breadcrumb { text-transform: none; letter-spacing: .04em; }
html[lang="zh-CN"] .product-hero h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
html[lang="zh-CN"] .product-hero__grid { align-items: center; }



/* ---------- certificate originals ---------- */

.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.doc {
  display: block; background: var(--white); border: 1px solid var(--line); cursor: zoom-in;
  padding: 8px 8px 12px; transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.doc:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc__media { display: block; aspect-ratio: 700 / 990; background: #fff; }
.doc__media picture, .doc__media img { display: block; width: 100%; height: 100%; }
.doc__media img { object-fit: contain; }
.doc__title { display: block; font-size: .8rem; line-height: 1.4; margin-top: 10px; color: var(--ink); }
.doc__meta { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
html[lang="zh-CN"] .doc__meta { text-transform: none; letter-spacing: .02em; }

@media (max-width: 1020px) { .doc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }


/* ---------- lightbox ---------- */

.lightbox { position: fixed; inset: 0; z-index: 220; display: none; }
.lightbox.is-open { display: block; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 11, .88); }
.lightbox__figure {
  position: relative; z-index: 2; margin: 0 auto; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 64px 24px 24px; pointer-events: auto;
}
.lightbox__figure img {
  width: auto; height: auto;
  max-width: min(94vw, 1120px); max-height: calc(100vh - 172px);
  object-fit: contain;
  background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  pointer-events: auto;
}
.lightbox__cap {
  padding: 0;
  color: rgba(248, 246, 241, .86); font-size: .84rem; text-align: center;
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: center;
  pointer-events: auto; max-width: 640px;
}
.lightbox__cap span { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(248, 246, 241, .55); }
html[lang="zh-CN"] .lightbox__cap span { text-transform: none; letter-spacing: .02em; }
.lightbox__close {
  position: absolute; z-index: 3; top: 16px; right: 16px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(248, 246, 241, .35); background: rgba(16, 22, 20, .4);
  color: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover { background: rgba(248, 246, 241, .14); border-color: rgba(248, 246, 241, .6); }
.lightbox__close:focus { outline: 2px solid var(--paper); outline-offset: 2px; }
body.is-locked { overflow: hidden; }


/* product listings: five families, centred last row */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.4vw, 34px); }
.product-grid > * { flex: 0 1 calc((100% - 2 * clamp(18px, 2.4vw, 34px)) / 3); min-width: 0; }
@media (max-width: 1020px) {
  .product-grid > * { flex-basis: calc((100% - clamp(18px, 2.4vw, 34px)) / 2); }
}
@media (max-width: 720px) {
  .product-grid > * { flex-basis: 100%; }
}


/* ---------- product comparison list ---------- */

.compare { border-top: 1px solid var(--line-strong); }
.compare__head,
.compare__row {
  display: grid; grid-template-columns: 1.05fr 1.15fr 1.4fr;
  gap: clamp(16px, 2.4vw, 32px); align-items: center;
  padding: 15px 0;
}
.compare__head {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--line); padding-top: 12px;
}
html[lang="zh-CN"] .compare__head { text-transform: none; letter-spacing: .04em; }
.compare__row { border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.compare__row:hover { background: rgba(16, 22, 20, .035); }
.compare__name { font-size: 1rem; color: var(--ink); }
.compare__for { font-size: .86rem; color: var(--ink-3); line-height: 1.5; }
.compare__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.compare__tags span {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .03em;
  padding: 5px 8px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap;
}
html[lang="zh-CN"] .compare__tags span { letter-spacing: .01em; }

@media (max-width: 1020px) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; align-items: start; }
  .compare__tags { margin-top: 4px; }
}


/* ---------- floating WhatsApp ---------- */

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.wa__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .04);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wa__icon svg { width: 28px; height: 28px; }
.wa:hover .wa__icon,
.wa:focus-visible .wa__icon { transform: translateY(-2px) scale(1.05); box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .55); }
.wa__label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 7px 10px; border-radius: 4px;
  opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.wa:hover .wa__label, .wa:focus-visible .wa__label { opacity: 1; transform: none; }

/* keep clear of the consent banner while it is open */
body.has-cookie .wa { bottom: 152px; }
@media (min-width: 900px) { body.has-cookie .wa { bottom: 20px; } }

@media (max-width: 720px) {
  .wa { right: 14px; bottom: 14px; }
  .wa__icon { width: 52px; height: 52px; }
  .wa__label { display: none; }
  body.has-cookie .wa { bottom: 150px; }
}

@media print { .wa { display: none; } }

/* ---------- print ---------- */

@media print {
  .site-header, .utility, .cookie, .site-footer, .hero__strip, .btn, .nav-toggle, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: 0; color: #000; }
  .hero__media { position: static; }
  .hero__media img { max-height: 90mm; object-fit: contain; }
  .hero__media::after { display: none; }
  .section { padding-block: 12mm; }
  a { text-decoration: none; color: #000; }
}



