/* ==========================================================================
   VERDION — design system
   01. Tokens  02. Base  03. Type  04. Layout  05. Header  06. Footer
   07. Hero  08. Sections  09. Cards  10. Tables  11. Forms  12. Drawer
   13. Motion  14. Responsive
   ========================================================================== */

/* 01. Tokens ------------------------------------------------------------- */
:root {
  --ink: #0A2420;
  --ink-2: #113A33;
  --forest: #17503F;
  --forest-deep: #0D3229;
  --lime: #CDEB6B;
  --lime-soft: #E9F6C4;
  --paper: #F7F5EF;
  --paper-2: #EFEBE0;
  --white: #FFFFFF;
  --muted: #5B6B62;
  --muted-2: #86938B;
  --line: #DAD5C7;
  --line-dark: rgba(255, 255, 255, 0.16);
  --copper: #B5764C;

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --wrap: 1280px;
  --gap: 24px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -24px rgba(10, 36, 32, 0.45);
}

/* 02. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }

/* 03. Type --------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: italic; color: var(--forest); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--light { color: var(--lime); }
.eyebrow--plain::before { display: none; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.small { font-size: 0.86rem; color: var(--muted); }
.section-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

/* 04. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.72); }
.section--dark .lede { color: rgba(255, 255, 255, 0.7); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head__text { max-width: 640px; }
.section-head__text h2 { margin: 14px 0 16px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--dark { background: var(--line-dark); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stack { display: flex; flex-direction: column; }

/* 05. Header ------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding: 8px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.topbar__note { display: flex; align-items: center; gap: 10px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a:hover { color: var(--lime); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(10, 36, 32, 0.6); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--forest);
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* 06. Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 72px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .brand__name, .footer__brand .brand__sub { color: var(--white); }
.footer__brand .brand__sub { color: rgba(255, 255, 255, 0.5); }
.footer__blurb { margin-top: 20px; font-size: 0.9rem; max-width: 34ch; color: rgba(255, 255, 255, 0.62); }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer__col a:hover { color: var(--lime); }
.footer__contact { font-size: 0.88rem; display: flex; flex-direction: column; gap: 14px; }
.footer__contact strong { display: block; color: var(--white); font-weight: 500; font-size: 0.95rem; }
.footer__legal {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__legal a:hover { color: var(--white); }

/* 07. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 36, 32, 0.045) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}
.hero__copy { max-width: 620px; }
.hero__title { margin: 22px 0 24px; }
.hero__title em { font-style: italic; padding-right: .12em; }
.hero .lede { font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__meta li { list-style: none; }
.hero__meta .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.hero__meta .v { font-size: 0.94rem; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 250px;
}
.hero__badge .k {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__badge .v {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  margin-top: 6px;
}
.hero__badge .v span { font-size: 0.8rem; font-family: var(--font-body); color: var(--muted); }
.hero__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(10, 36, 32, 0.82);
  color: var(--white);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statbar { background: var(--ink); color: var(--white); }
.statbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.statbar__item { padding: 30px 26px 32px; border-left: 1px solid var(--line-dark); }
.statbar__item:first-child { border-left: 0; padding-left: 0; }
.statbar__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  color: var(--lime);
  line-height: 1;
}
.statbar__label {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.56);
  max-width: 22ch;
}

/* 08. Sections ----------------------------------------------------------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 42s linear infinite;
}
.ticker__group { display: flex; align-items: center; }
.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 26px;
  white-space: nowrap;
}
.ticker__sep { color: var(--forest); opacity: 0.45; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-split__media { position: relative; }
.about-split__media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.15; object-fit: cover; width: 100%; }
.about-split__badge {
  position: absolute; right: -18px; top: 24px;
  background: var(--lime); color: var(--ink);
  padding: 14px 18px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; line-height: 1.5;
}
.about-split__body h2 { margin: 14px 0 20px; }
.about-split__body p + p { margin-top: 14px; }
.about-split__list { margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.about-split__list li {
  list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.about-split__list li span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-align: right; }

/* 09. Cards -------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 258px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(10, 36, 32, 0.1);
  isolation: isolate;
}
.cat-card--wide { grid-column: span 6; min-height: 400px; }
.cat-card--third { grid-column: span 4; }
.cat-card--half { grid-column: span 6; }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 36, 32, 0) 22%, rgba(10, 36, 32, 0.88) 92%);
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card__body { padding: 24px 26px; position: relative; }
.cat-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.cat-card__num { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--lime); }
.cat-card h3 { margin: 0 0 8px; }
.cat-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.74); max-width: 44ch; }
.cat-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.cat-card__foot .count { color: rgba(255, 255, 255, 0.66); }
.cat-card:hover .cat-card__foot .go { color: var(--lime); }
.go { transition: color 0.2s ease; }
.go::after { content: "\2197"; margin-left: 8px; font-size: 0.9em; }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.doc-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-dark);
}
.doc-item:nth-child(odd) { padding-right: 36px; }
.doc-item:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.doc-item__mark {
  flex: none; width: 20px; height: 20px; border-radius: 3px;
  border: 1px solid rgba(205, 235, 107, 0.5); color: var(--lime);
  display: grid; place-items: center; font-size: 0.7rem; margin-top: 2px;
}
.doc-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 500; }
.doc-item p { font-size: 0.76rem; line-height: 1.5; margin: 0; }

.cap-list { display: flex; flex-direction: column; }
.cap-item {
  display: grid; grid-template-columns: 74px 1.1fr 1.4fr;
  gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start;
}
.cap-item:last-child { border-bottom: 1px solid var(--line); }
.cap-item__num { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted-2); padding-top: 5px; }
.cap-item h3 { margin-bottom: 8px; }
.cap-item p { font-size: 0.9rem; color: var(--muted); max-width: 52ch; }
.cap-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  display: inline-block; padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.7rem; color: var(--muted); background: var(--white);
}
.tag--lime { background: var(--lime-soft); border-color: #D6E8A8; color: var(--forest); }
.tag--dark { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: rgba(255, 255, 255, 0.72); }

.cert-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cert {
  padding: 22px 18px; border-left: 1px solid var(--line); text-align: left;
}
.cert:first-child { border-left: 0; }
.cert__name { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.cert__note { font-size: 0.7rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.quote__text { font-size: 0.96rem; line-height: 1.6; color: var(--ink); }
.quote__text::before { content: "\201C"; font-family: var(--font-display); font-size: 1.6rem; color: var(--forest); display: block; line-height: 1; margin-bottom: 8px; }
.quote__who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.quote__who strong { display: block; color: var(--ink); font-weight: 500; font-size: 0.85rem; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: #C3CBBF; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__kicker { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.card h3 { font-size: 1.18rem; }
.card p { font-size: 0.9rem; color: var(--muted); }
.card__meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--muted-2); display: flex; justify-content: space-between; gap: 10px; }

.insight-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.insight-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.insight-card__body h3 { font-size: 1.14rem; }
.insight-card__body p { font-size: 0.88rem; color: var(--muted); }
.insight-card__body .card__meta { margin-top: auto; }
.insight-card__rule { height: 3px; background: var(--lime); width: 100%; }
.insight-card--feature { color: var(--white); background: var(--ink); border-color: var(--ink); }
.insight-card--feature .insight-card__body p { color: rgba(255, 255, 255, 0.7); }
.insight-card--feature .card__meta { border-color: var(--line-dark); color: rgba(255, 255, 255, 0.5); }

.cta-band { background: var(--forest-deep); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border: 1px solid rgba(205, 235, 107, 0.25); border-radius: 50%;
}
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: clamp(56px, 7vw, 88px) 0; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin: 14px 0 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.7); max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__contact { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); }
.cta-band__contact a { color: var(--lime); }

/* 10. Tables ------------------------------------------------------------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table thead th {
  text-align: left; padding: 14px 20px; background: var(--paper-2);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table tbody tr { border-bottom: 1px solid #EAE6DA; }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: #FBF9F3; }
.table td { padding: 16px 20px; font-size: 0.88rem; vertical-align: middle; }
.table td .name { font-weight: 500; color: var(--ink); }
.table td .sub { display: block; font-size: 0.72rem; color: var(--muted-2); margin-top: 2px; }
.table .cas { font-family: var(--font-mono); font-size: 0.76rem; color: var(--forest); white-space: nowrap; }
.table .spec { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--lime-soft); color: var(--forest); border: 1px solid #D8E9AC; white-space: nowrap;
}
.badge--ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.badge--dark { background: rgba(255, 255, 255, 0.1); border-color: var(--line-dark); color: var(--lime); }
.table .arrow { text-align: right; color: var(--muted-2); }

/* 11. Forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 4px; font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23, 80, 63, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.72rem; color: var(--muted-2); line-height: 1.6; }
.form-status { display: none; padding: 14px 16px; border-radius: 4px; font-size: 0.85rem; background: var(--lime-soft); border: 1px solid #D8E9AC; color: var(--forest); }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #FBEDE6; border-color: #EFCDB9; color: #8A4A26; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 4px; border: 1px solid transparent;
  font-size: 0.85rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--forest); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #DDF48C; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--forest); color: var(--forest); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: 9px 15px; font-size: 0.78rem; }
.btn .btn__arrow { font-size: 0.9em; }

/* 12. Drawer ------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(10, 36, 32, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 90;
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%);
  background: var(--paper); z-index: 100; transform: translateX(102%);
  transition: transform 0.36s cubic-bezier(0.22, 0.7, 0.2, 1);
  display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(10, 36, 32, 0.4);
}
.drawer.is-open { transform: translateX(0); }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer__head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; background: var(--white); }
.drawer__kicker { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.drawer__title { font-family: var(--font-display); font-size: 1.5rem; margin-top: 6px; line-height: 1.15; }
.drawer__close { border: 1px solid var(--line); background: var(--white); width: 34px; height: 34px; border-radius: 4px; cursor: pointer; flex: none; font-size: 1rem; line-height: 1; }
.drawer__body { padding: 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; }
.drawer__section h4 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 10px; font-weight: 500; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { width: 42%; color: var(--muted); font-size: 0.78rem; }
.spec-table td:last-child { font-family: var(--font-mono); font-size: 0.76rem; }
.drawer__foot { padding: 18px 26px; border-top: 1px solid var(--line); display: flex; gap: 10px; background: var(--white); }

/* 13. Motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* 15. Mobile nav --------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 66px 0 0 0;
  background: var(--paper);
  z-index: 55;
  flex-direction: column;
  padding: 8px 20px 40px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  color: var(--ink);
}
.mobile-nav a:last-child { margin-top: 20px; border: 0; background: var(--ink); color: var(--white); text-align: center; border-radius: 4px; }
body.nav-open { overflow: hidden; }

/* 16. Inner page hero ---------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(10, 36, 32, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  padding: clamp(44px, 6vw, 76px) 0 clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin: 16px 0 18px; max-width: 18ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero__aside { border-top: 1px solid var(--line); padding-top: 20px; }
.page-hero__aside dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 0.8rem; }
.page-hero__aside dt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); align-self: center; }
.page-hero__aside dd { margin: 0; color: var(--ink); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2);
}
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb .sep { opacity: 0.5; }

/* 17. Catalogue ---------------------------------------------------------- */
.filter-bar {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(247, 245, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.filter-bar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 7px 14px; font-size: 0.76rem; color: var(--muted); cursor: pointer;
  transition: all 0.18s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--forest); color: var(--forest); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.search-box {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 7px 14px; min-width: 240px;
}
.search-box input { border: 0; background: transparent; outline: none; width: 100%; font-size: 0.8rem; }
.search-box svg { width: 14px; height: 14px; flex: none; opacity: 0.5; }

.cat-section { padding: clamp(36px, 4vw, 52px) 0 0; }
.cat-section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.cat-section__head h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-top: 8px; }
.cat-section__head p { max-width: 46ch; font-size: 0.88rem; color: var(--muted); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.prod-card:hover { border-color: #BFC9BD; box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod-card__cat { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.prod-card h3 { font-size: 1.12rem; line-height: 1.2; }
.prod-card__cas { font-family: var(--font-mono); font-size: 0.7rem; color: var(--forest); letter-spacing: 0.02em; }
.prod-card__spec { font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.prod-card__spec strong { color: var(--ink); font-weight: 500; }
.prod-card__foot {
  margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.prod-card__foot .moq { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted-2); letter-spacing: 0.06em; }
.link-arrow {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--forest); background: none; border: 0; padding: 0; cursor: pointer;
}
.link-arrow::after { content: "\2197"; margin-left: 6px; }
.link-arrow:hover { color: var(--ink); }
.catalogue-empty { padding: 60px 0; text-align: center; color: var(--muted); display: none; }
.catalogue-count { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }

/* 18. Editorial blocks --------------------------------------------------- */
.article { max-width: 72ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.article-layout .article { max-width: none; }
.article-aside { position: sticky; top: 96px; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
.article h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 42px 0 14px; }
.article h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.article p { margin: 0 0 16px; color: #2C4139; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 20px; color: #2C4139; }
.article li { margin-bottom: 8px; }
.article a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  border-left: 3px solid var(--lime); background: var(--white);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
  font-size: 0.9rem; color: var(--muted);
}
.callout strong { color: var(--ink); }

.timeline { border-top: 1px solid var(--line); }
.timeline__row {
  display: grid; grid-template-columns: 110px 1.6fr 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.timeline__year { font-family: var(--font-mono); font-size: 0.72rem; color: var(--forest); letter-spacing: 0.08em; }
.timeline__row h4 { margin-bottom: 4px; }
.timeline__row p { font-size: 0.86rem; color: var(--muted); }
.timeline__row .where { font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted-2); letter-spacing: 0.06em; text-align: right; }

.qa { border-top: 1px solid var(--line); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 20px 0; text-align: left; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink);
}
.qa__q .plus { font-family: var(--font-mono); color: var(--muted-2); transition: transform 0.2s ease; }
.qa__item.is-open .qa__q .plus { transform: rotate(45deg); color: var(--forest); }
.qa__a { display: none; padding: 0 0 22px; max-width: 76ch; font-size: 0.92rem; color: var(--muted); }
.qa__item.is-open .qa__a { display: block; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow__step { padding: 24px 20px; border-left: 1px solid var(--line); }
.flow__step:first-child { border-left: 0; padding-left: 0; }
.flow__num { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--forest); }
.flow__step h4 { margin: 10px 0 6px; font-size: 1rem; }
.flow__step p { font-size: 0.8rem; color: var(--muted); }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric { border-top: 1px solid var(--line); padding-top: 16px; }
.metric__v { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.metric__l { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

.contact-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.contact-card p { font-size: 0.88rem; color: var(--muted); }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 0.85rem; }
.contact-list li span:first-child { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.contact-list li a { color: var(--forest); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.cert-card__seal {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime-soft); color: var(--forest); border: 1px solid #D8E9AC;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em; margin-bottom: 6px;
}
.cert-card h4 { font-size: 1rem; }
.cert-card p { font-size: 0.82rem; color: var(--muted); }
.cert-card__meta { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted-2); margin-top: auto; padding-top: 10px; }

.logo-wall {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
}
.logo-wall div {
  padding: 22px 16px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55); text-align: center;
}

/* 14. Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .cat-card--wide { grid-column: span 12; min-height: 360px; }
  .cat-card--third { grid-column: span 6; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cert-strip { grid-template-columns: repeat(3, 1fr); }
  .cert:nth-child(4) { border-left: 0; }
  .statbar__inner { grid-template-columns: repeat(2, 1fr); }
  .statbar__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .statbar__item:nth-child(1), .statbar__item:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 920px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__badge { left: 16px; bottom: 16px; }
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-split { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 48px 1fr; }
  .cap-item__tags { grid-column: 2; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .topbar__links { display: none; }
  .header__inner { height: 66px; padding: 0 20px; }
  .cat-card--third, .cat-card--half { grid-column: span 12; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .cert:nth-child(3) { border-left: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .statbar__item { padding: 22px 18px; }
  .table { min-width: 640px; }
  .hero__badge { display: none; }
}
@media (max-width: 480px) {
  .hero__meta { grid-template-columns: 1fr; }
  .cert-strip { grid-template-columns: 1fr; }
  .cert { border-left: 0; border-top: 1px solid var(--line); }
  .cert:first-child { border-top: 0; }
  .cta-band__actions .btn { width: 100%; }
}

/* 19. Responsive — inner pages ------------------------------------------- */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__step:nth-child(4) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .flow__step:nth-child(5) { border-top: 1px solid var(--line); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .page-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .page-hero__aside { margin-top: 8px; }
  .contact-split { grid-template-columns: 1fr; }
  .timeline__row { grid-template-columns: 84px 1fr; }
  .timeline__row .where { grid-column: 2; text-align: left; }
  .filter-bar { top: 66px; }
  .filter-bar__inner { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
}
@media (max-width: 720px) {
  .prod-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .flow__step:first-child { border-top: 0; }
  .metric-row { grid-template-columns: 1fr; gap: 16px; }
  .cert-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .drawer { width: 100%; }
  .drawer__body { padding: 20px; }
  .drawer__foot { padding: 14px 20px; }
}

/* WhatsApp floating CTA */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px 11px 14px;
  border-radius: 999px;
  background: #0A2420;
  color: #FFFFFF;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(10, 36, 32, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 18px; height: 18px; color: #CDEB6B; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10, 36, 32, .34); }
@media (max-width: 640px) { .wa-float { right: 12px; bottom: 12px; padding: 10px 14px; } .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }
