/* =========================================================================
   Kwality Offset Printers — site stylesheet
   Layout concept: the press sheet in the Kwality Labels greens. Forest-green
   "ink" bands on soft paper, framed by crop marks, with a tonal colour-control
   strip (the logo's three greens) as the recurring signature detail.
   ========================================================================= */
:root {
  /* colour — taken from the Kwality Labels logo */
  --ink: #1f2d23;          /* forest (logo #253528, deepened) — dark bands, headings */
  --ink-2: #2a3b2e;        /* raised forest */
  --brand: #48644d;        /* logo moss green — buttons, links, accents on light */
  --sage: #8ba889;         /* logo sage — accents on dark */
  --paper: #ffffff;        /* page ground */
  --tint: #f1f6ef;         /* soft sage section ground */
  --surface: #ffffff;
  --fg: #1b261e;
  --muted: #586659;
  --line: #dde5da;
  --accent: var(--brand);  /* contextual accent: swaps to sage on dark bands */
  --accent-soft: #e6eee4;
  --on-ink: #eef3ec;
  --on-ink-muted: #b0c0b1;
  --focus: #2f7a4a;
  --btn-bg: #48644d; --btn-bg-hover: #3b5440; --btn-fg: #ffffff;
  --btn-ink: #1f2d23; --btn-ink-hover: #2a3b2e;
  --strip-1: #253528; --strip-2: #48644d; --strip-3: #8ba889; --strip-4: #c9d8c6;
  --ok: #2b7a45; --err: #b42318;
  --shadow: 0 1px 2px rgba(31, 45, 35, .06), 0 8px 24px rgba(31, 45, 35, .09);

  /* type — Lexend echoes the logo's rounded geometric wordmark */
  --f-display: "Lexend", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --t-xs: .78rem; --t-sm: .9rem; --t-md: 1.0625rem; --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --t-2xl: clamp(1.85rem, 1.4rem + 1.9vw, 2.65rem);
  --t-3xl: clamp(2.2rem, 1.5rem + 3.2vw, 3.8rem);

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 84px;
  color-scheme: light;
}
/* on forest-green bands the accent and primary button switch to sage */
.hs, .phero, .cta, .footer, .topbar, .media-badge, .lightbox {
  --accent: var(--sage); --btn-bg: var(--sage); --btn-bg-hover: #a2bf9f; --btn-fg: #102016;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--fg);
  font: 400 var(--t-md)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--fg); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--t-3xl); font-weight: 650; }
h2 { font-size: var(--t-2xl); font-weight: 600; }
h3 { font-size: var(--t-lg); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--on-ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- small vocabulary ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: var(--t-lg); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }

/* tonal colour-control strip in the logo greens: the press-sheet signature */
.strip { display: flex; height: 6px; width: 100%; }
.strip i { flex: 1; }
.strip i:nth-child(1) { background: var(--strip-1); }
.strip i:nth-child(2) { background: var(--strip-2); }
.strip i:nth-child(3) { background: var(--strip-3); }
.strip i:nth-child(4) { background: var(--strip-4); }

/* crop marks around a framed image */
.crop { position: relative; padding: 14px; }
.crop::before, .crop::after, .crop > .crop-b::before, .crop > .crop-b::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--accent); border-style: solid; pointer-events: none;
}
.crop::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.crop::after { top: 0; right: 0; border-width: 1px 1px 0 0; }
.crop > .crop-b::before { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.crop > .crop-b::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--radius);
  font: 600 var(--t-sm)/1 var(--f-body); letter-spacing: .02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-bg-hover); }
.btn--ink { background: var(--btn-ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--btn-ink-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.link-arrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; color: var(--accent); text-decoration: none; font-size: var(--t-sm); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.link-arrow:hover svg, .card:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: var(--t-xs); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; justify-content: space-between; padding-block: .55rem; }
.topbar a { color: var(--on-ink); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.topbar__meta span { display: inline-flex; gap: .45rem; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--accent); }
.social { display: flex; gap: .3rem; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 15px; height: 15px; color: currentColor; }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.brand__fallback { font: 700 1.25rem/1 var(--f-display); color: var(--ink); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; align-items: center; }
.nav a {
  display: block; padding: .6rem .8rem; text-decoration: none; font-weight: 500; font-size: var(--t-sm); color: var(--fg);
  border-radius: var(--radius); position: relative;
}
.nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"], .nav .is-current > .nav__toggle { color: var(--accent); }
.header__cta { margin-left: .6rem; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); color: var(--fg); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1060px) {
  .menu-btn { display: grid; place-items: center; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; gap: 0; }
  .nav a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
  .nav a::after { display: none; }
  .nav .nav__cta { margin-top: 1rem; }
  .nav .nav__cta a { border: 0; }
}
@media (min-width: 1061px) { .nav .nav__cta { display: none; } }
@media (max-width: 640px) { .topbar__hours, .topbar .social { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section--tint { background: var(--tint); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 3rem; }
.section-head--split > div { display: grid; gap: 1rem; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- hero (home) ---------- */
.hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 14px 14px; /* halftone screen */
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero__copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero__copy .lead { color: var(--on-ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: .6rem; font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.hero__facts span { display: inline-flex; gap: .5rem; align-items: center; }
.hero__facts span::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.hero .eyebrow { color: var(--accent); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* slider */
.slider { position: relative; min-width: 0; }
.slider__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); border-radius: 2px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.is-active img { animation: kenburns 7.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.slider__ui { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.slider__dots { display: flex; gap: .5rem; align-items: center; }
.slider__dot { position: relative; width: 44px; height: 24px; border: 0; background: none; cursor: pointer; padding: 0; }
.slider__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.25); }
.slider__dot::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--accent); }
.slider__dot.is-active::after { animation: fill var(--slide-ms, 6000ms) linear forwards; }
.slider.is-paused .slider__dot.is-active::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 480px) { .slider__dot { width: 28px; } }
.slider__count { white-space: nowrap; font: 500 var(--t-xs)/1 var(--f-mono); color: var(--on-ink-muted); letter-spacing: .1em; }
.slider__nav { display: flex; gap: .4rem; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }
.hero .crop { padding: 16px; }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,38,28,.9) 0%, rgba(25,38,28,.72) 42%, rgba(25,38,28,.25) 100%); }
.phero .wrap { padding-block: clamp(72px, 10vw, 140px) clamp(48px, 6vw, 80px); display: grid; gap: 1.1rem; }
.phero h1 { color: #fff; max-width: 20ch; }
.phero .lead { color: var(--on-ink-muted); }
.crumbs { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { color: var(--on-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- key facts (answer-first block for AI + skimmers) ---------- */
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); }
.facts__summary { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; }
.facts__summary p { color: var(--fg); }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts dl > div { padding: 1.1rem clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line); display: grid; gap: .25rem; }
.facts dl > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font: 500 var(--t-xs)/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--fg); }
.facts-lift { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr; }
  .facts__summary { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .facts dl { grid-template-columns: 1fr; }
  .facts dl > div:nth-child(odd) { border-right: 0; }
  .facts dl > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 1.6rem 1.4rem 0 0; display: grid; gap: .35rem; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.stat__n { font: 700 clamp(2rem, 1.4rem + 2.2vw, 3rem)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__n small { font-size: .45em; color: var(--accent); margin-left: .15em; font-weight: 600; }
.stat__l { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.4rem; }
}

/* ---------- industry cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.ind { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--ink-2); }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,21,37,.92)); }
.ind__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem; display: grid; gap: .45rem; }
.ind__body h3 { color: #fff; font-size: 1.2rem; }
.ind__body p { font-size: var(--t-sm); color: #d5dce6; }
.ind__tag { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; color: #c9dcc6; }
.ind:hover img { transform: scale(1.07); }
@media (max-width: 560px) { .ind { aspect-ratio: 4 / 3; } }

/* ---------- feature list ---------- */
.feature-list { display: grid; gap: 0; }
.feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.1rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: var(--t-sm); }

.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: 2px; }
.media-badge {
  position: absolute; left: 0; bottom: 28px; background: var(--ink); color: #fff; padding: 1.1rem 1.3rem; display: grid; gap: .1rem; min-width: 170px;
  box-shadow: var(--shadow);
}
.media-badge b { font: 700 2.6rem/1 var(--f-display); color: var(--accent); }
.media-badge span { font-size: var(--t-xs); color: var(--on-ink-muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--f-mono); }

/* ---------- technology table ---------- */
.tech { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.tech__item { padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.tech__item + .tech__item { border-left: 1px solid var(--line); }
.tech__code { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; color: var(--accent); }
.tech__item h3 { color: var(--fg); font-size: 1.15rem; }
.tech__item p { color: var(--muted); font-size: var(--t-sm); }
.tech__item ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; font-size: var(--t-sm); color: var(--fg); }
.tech__item li::before { content: "— "; color: var(--accent); }
@media (max-width: 1000px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech__item:nth-child(3) { border-left: 0; } .tech__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .tech { grid-template-columns: 1fr; } .tech__item + .tech__item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- clients marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 38s linear infinite; align-items: center; padding-block: .5rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: auto; max-width: none; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .85; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .7rem; align-content: start; }
.step__n { font: 600 var(--t-xs)/1 var(--f-mono); color: var(--accent); letter-spacing: .14em; }
.step__icon { width: 44px; height: 44px; color: var(--ink); }
.step p { color: var(--muted); font-size: var(--t-sm); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: calc(-1 * clamp(16px, 2vw, 24px)); width: clamp(16px, 2vw, 24px); height: 1px; background: var(--accent);
}
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- portfolio / gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 999px;
  padding: .55rem 1.05rem; font: 500 var(--t-sm)/1 var(--f-body); cursor: pointer; transition: .2s; min-height: 40px; text-decoration: none; display: inline-flex; align-items: center;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--btn-ink); color: var(--on-ink); border-color: var(--btn-ink); }
.gallery { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 20px); }
.gallery__item { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px); position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.gallery__item img { width: 100%; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__cap { position: absolute; left: .7rem; bottom: .7rem; background: var(--ink); color: var(--on-ink); font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .6rem; opacity: 0; transform: translateY(6px); transition: .25s; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }

.port-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.port-grid a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--ink-2); }
.port-grid a:first-child { grid-row: span 2; }
.port-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.port-grid a:hover img { transform: scale(1.05); }
.port-grid span { position: absolute; left: .8rem; bottom: .8rem; background: var(--surface); color: var(--fg); font: 500 var(--t-xs)/1 var(--f-mono); padding: .45rem .6rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .port-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .port-grid a { aspect-ratio: 1; } .port-grid a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 22, .94); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; min-width: 0; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox figcaption { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #c9d2de; }
.lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 24px; } .lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; } }

/* ---------- certificates + awards ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: grid; place-items: center; aspect-ratio: 3 / 4; }
.cert img { max-height: 100%; width: auto; object-fit: contain; }
.rail-ctrl { display: flex; gap: .5rem; color: var(--fg); }

.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.awards li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .9rem; padding-block: .95rem; border-top: 1px solid var(--line); color: var(--fg); }
.awards li:last-child { border-bottom: 1px solid var(--line); }
.awards svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--fg); }

/* ---------- testimonials ---------- */
.quotes { position: relative; }
.quote { display: none; gap: 1.6rem; max-width: 880px; }
.quote.is-active { display: grid; animation: fadeUp .6s ease both; }
.quote blockquote { margin: 0; font: 400 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.5 var(--f-display); color: var(--fg); text-wrap: pretty; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: .4rem; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.quote cite { font-style: normal; font-weight: 600; color: var(--fg); display: block; }
.quote figcaption span { font-size: var(--t-sm); color: var(--muted); }
.quotes__ui { display: flex; gap: .5rem; margin-top: 2rem; color: var(--fg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font: 600 1.08rem/1.4 var(--f-display); color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 72ch; }

/* ---------- cards: articles, services ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__body h3 { font-size: 1.12rem; }
.card__body h3 a { text-decoration: none; }
.card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__body p { color: var(--muted); font-size: var(--t-sm); }
.card__body .link-arrow { margin-top: auto; }
.card__tag { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.2rem; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.svc__n { font: 700 2rem/1 var(--f-display); color: var(--accent); }
.svc h3 { margin-bottom: .45rem; }
.svc p { color: var(--muted); font-size: var(--t-sm); }

/* special labels */
.sl-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 10; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sl-nav .wrap { display: flex; gap: .4rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.sl-nav .wrap::-webkit-scrollbar { display: none; }
.sl-nav a { flex-shrink: 0; white-space: nowrap; }
.sl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.sl:nth-child(even) .sl__media { order: 2; }
.sl__media { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.sl__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sl__body { display: grid; gap: 1rem; min-width: 0; }
.sl__code { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .14em; color: var(--accent); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .65rem; color: var(--fg); font-size: var(--t-sm); }
.ticks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); margin-top: 6px; }

@media (max-width: 860px) { .sl { grid-template-columns: 1fr; } .sl:nth-child(even) .sl__media { order: 0; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 104px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 2rem; padding-block: 1.1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 99px; top: 1.55rem; width: 11px; height: 11px; background: var(--surface); border: 2px solid var(--accent); transform: rotate(45deg); }
.timeline time { font: 700 1.35rem/1.2 var(--f-display); color: var(--fg); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.timeline p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 520px) {
  .timeline::before { left: 5px; } .timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 28px; } .timeline li::before { left: 0; top: 1.45rem; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field legend { font-size: var(--t-sm); font-weight: 600; color: var(--fg); }
.field label .req { color: var(--accent); }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font: 400 var(--t-md)/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.field.has-error .input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: var(--t-xs); }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 40px; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-sm); background: var(--surface); color: var(--fg); transition: .2s; }
.opt input:checked + span { background: var(--btn-ink); color: var(--on-ink); border-color: var(--btn-ink); }
.opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius); font-size: var(--t-sm); border: 1px solid; }
.form-status.ok { color: var(--ok); border-color: currentColor; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.form-status.bad { color: var(--err); border-color: currentColor; background: color-mix(in srgb, var(--err) 8%, transparent); }
.form-note { font-size: var(--t-xs); color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }

.contact-cards { display: grid; gap: 0; }
.ccard { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.ccard:first-child { border-top: 1px solid var(--line); }
.ccard svg { width: 22px; height: 22px; color: var(--accent); }
.ccard .ic { width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 50%; }
.ccard h3 { font-size: 1rem; margin-bottom: .2rem; }
.ccard p, .ccard a { color: var(--muted); font-size: var(--t-sm); }
.ccard a { color: var(--fg); }
.map { border: 0; width: 100%; aspect-ratio: 16 / 7; min-height: 320px; display: block; filter: grayscale(.4); }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--brand); color: var(--on-ink); overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #3d5842 30%, rgba(72,100,77,.35)); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { color: #fff; max-width: 22ch; }
.cta p { color: #dfe9dc; margin-top: .8rem; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- prose ---------- */
.prose { display: grid; gap: 1.1rem; max-width: 68ch; }
.prose p { color: var(--fg); }
.prose p.muted { color: var(--muted); }
.quick-answer { border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1.2rem; font-size: var(--t-lg); color: var(--fg); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); font-size: var(--t-sm); }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 2.5rem; }
.footer h2 { font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer address { font-style: normal; display: grid; gap: .9rem; }
.footer address b { color: var(--on-ink); font-weight: 600; display: block; }
.footer__brand { display: grid; gap: 1rem; align-content: start; }
.footer__brand img { height: 72px; width: auto; background: #fff; padding: 6px 12px; border-radius: 6px; justify-self: start; }
.footer .social a { border: 1px solid rgba(255,255,255,.2); width: 38px; height: 38px; }
.reach { display: grid; gap: 1rem; }
.reach__item { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .75rem; align-items: start; line-height: 1.55; }
.reach__item svg { width: 18px; height: 18px; margin-top: .15rem; color: var(--sage); }
.reach__item span { display: grid; gap: .15rem; min-width: 0; }
.reach__item a { white-space: nowrap; overflow-wrap: normal; }
.news { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: .6rem; }
.news__label { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.news__row { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 4px; }
.news__row:focus-within { border-color: var(--sage); }
.news .input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .55rem .7rem; font-size: var(--t-sm); box-shadow: none; outline: none; }
.news .input::placeholder { color: rgba(255,255,255,.5); }
.news .btn { flex-shrink: 0; padding: .55rem 1rem; font-size: var(--t-sm); }
.news-status { margin-top: .5rem; font-size: var(--t-xs); color: var(--on-ink); min-height: 1em; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.4rem; font-size: var(--t-xs); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* floating WhatsApp + back to top */
.float-actions { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: .6rem; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); border: 0; cursor: pointer; text-decoration: none; }
.fab svg { width: 24px; height: 24px; }
.fab--call { background: var(--accent); color: #fff; }
.fab--top { background: var(--surface); color: var(--fg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: .25s; }
.fab--top.is-on { opacity: 1; visibility: visible; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 1.5rem; }
  .marquee__dup { display: none !important; }
}
@media print {
  .topbar, .header, .float-actions, .cta, .footer form, .slider__ui { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- dropdown navigation ---------- */
.nav .has-sub { position: relative; }
.nav__toggle {
  display: flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border: 0; background: none; cursor: pointer;
  font: 500 var(--t-sm)/1.65 var(--f-body); color: var(--fg); border-radius: var(--radius);
}
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .subnav { list-style: none; margin: 0; padding: .5rem; display: block; gap: 0; }
.subnav a { padding: .55rem .75rem; font-size: var(--t-sm); display: grid; gap: .1rem; }
.subnav a::after { display: none; }
.subnav a small { color: var(--muted); font-size: var(--t-xs); font-weight: 400; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--accent-soft); color: var(--fg); }
.subnav__all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.subnav__all a { color: var(--accent); font-weight: 600; }
@media (min-width: 1061px) {
  .subnav {
    position: absolute; top: calc(100% + 6px); left: -.5rem; min-width: 280px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60;
  }
  .nav .subnav--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 500px; column-gap: .25rem; left: 50%; translate: -50% 0; }
  .subnav--wide .subnav__all { grid-column: 1 / -1; }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: none; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } /* hover bridge */
}
@media (max-width: 1060px) {
  .nav__toggle { width: 100%; justify-content: space-between; padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-size: var(--t-md); }
  .nav .subnav { display: none; padding: .25rem 0 .5rem .75rem; }
  .nav .has-sub.is-open > .subnav { display: block; }
  .subnav a { border-bottom: 0; padding: .6rem .2rem; }
}

/* ---------- testimonial monogram ---------- */
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 600 1.05rem/1 var(--f-display); flex-shrink: 0; }

/* ---------- detail pages ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip--link { text-decoration: none; }
.chip--link:hover { background: var(--accent-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 1.2rem; min-width: 0; align-content: start; }
.frame { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.mini-gallery .gallery__item { margin: 0; aspect-ratio: 1; }
.mini-gallery .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .mini-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.logo-row img { height: auto; filter: grayscale(1); opacity: .85; }
.spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.spec dt { font: 500 var(--t-xs)/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; color: var(--fg); font-size: var(--t-sm); }
.spec dd a { color: var(--accent); }
.sl__more { display: flex; flex-wrap: wrap; gap: .8rem; }
.related .card__media { aspect-ratio: 4 / 3; }

/* five industries on the home page */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-5 .ind:last-child { grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (max-width: 440px) { .grid-5 { grid-template-columns: 1fr; } .grid-5 .ind { aspect-ratio: 4 / 3; } .grid-5 .ind:last-child { grid-column: auto; } }
.grid-5 .ind__body { padding: 1.1rem; }
.grid-5 .ind__body h3 { font-size: 1.05rem; }
@media (max-width: 1240px) and (min-width: 1061px) { .header__cta { display: none; } .nav .nav__cta { display: block; } }
.nav .nav__cta a.btn, .nav .nav__cta a.btn:hover { color: #fff; padding: .6rem 1rem; }
.nav .nav__cta a.btn::after { display: none; }
@media (min-width: 1061px) { .nav a, .nav__toggle { padding-inline: .65rem; } }
.footer__top { grid-template-columns: 1.15fr .75fr 1fr 1fr 1.55fr; }
@media (max-width: 1100px) { .footer__top { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 400px) { .footer__top { grid-template-columns: 1fr; } }

/* =========================================================================
   v3 — full-width product hero slider, product carousel, industry showcase
   ========================================================================= */
.hs { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hs__track { position: relative; height: clamp(540px, 80vh, 780px); }
.hs .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hs .slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.hs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs .slide img { transform: scale(1.08); }
.hs .slide.is-active img { animation: hsZoom 8s ease-out forwards; }
@keyframes hsZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hs__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,28,21,.86) 0%, rgba(18,28,21,.62) 38%, rgba(18,28,21,.12) 68%, rgba(18,28,21,0) 100%); }
.hs__shade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(0deg, rgba(18,28,21,.7), transparent); }
.hs__slide--right .hs__shade { background: linear-gradient(270deg, rgba(18,28,21,.86) 0%, rgba(18,28,21,.62) 38%, rgba(18,28,21,.12) 68%, rgba(18,28,21,0) 100%); }
.hs__inner { position: relative; height: 100%; display: flex; align-items: center; padding-bottom: 96px; }
.hs__slide--right .hs__inner { justify-content: flex-end; }
.hs__copy { max-width: 600px; display: grid; gap: 1.2rem; }
.hs__kicker { display: inline-flex; align-items: center; gap: .7rem; font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #c9dcc6; }
.hs__kicker::before { content: ""; width: 28px; height: 2px; background: var(--sage); }
.hs__title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); font-weight: 650; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.hs__text { color: #e3ece1; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); max-width: 50ch; }
.hs__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef4ec; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: rgba(255,255,255,.16); }
/* staggered text entrance on the active slide */
.hs__copy > * { opacity: 0; transform: translateY(18px); }
.hs .slide.is-active .hs__copy > * { animation: hsUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hs .slide.is-active .hs__copy > :nth-child(2) { animation-delay: .12s; }
.hs .slide.is-active .hs__copy > :nth-child(3) { animation-delay: .24s; }
.hs .slide.is-active .hs__copy > :nth-child(4) { animation-delay: .36s; }
@keyframes hsUp { to { opacity: 1; transform: none; } }
.no-js .hs__copy > * { opacity: 1; transform: none; }
/* tab bar */
.hs__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255,255,255,.16); background: linear-gradient(0deg, rgba(14,22,16,.55), rgba(14,22,16,.15)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs__bar-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; }
.hs__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex: 1; min-width: 0; }
.hs .slider__dot { width: auto; height: auto; position: relative; padding: 1.15rem 1rem 1.2rem 0; text-align: left; color: rgba(255,255,255,.62); font: 500 var(--t-sm)/1.3 var(--f-body); cursor: pointer; transition: color .2s; }
.hs .slider__dot b { display: block; font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: .35rem; }
.hs .slider__dot::before { top: -1px; height: 2px; background: transparent; right: 1rem; }
.hs .slider__dot::after { top: -1px; height: 2px; background: var(--sage); }
.hs .slider__dot.is-active, .hs .slider__dot:hover { color: #fff; }
.hs__nav { display: flex; align-items: center; gap: .6rem; color: #fff; }
.hs__nav .slider__count { color: rgba(255,255,255,.7); margin-right: .4rem; }
@media (max-width: 900px) {
  .hs__tabs .slider__dot span { display: none; }
  .hs .slider__dot { padding: 1rem .6rem 1rem 0; }
  .hs__shade, .hs__slide--right .hs__shade { background: linear-gradient(0deg, rgba(18,28,21,.9) 0%, rgba(18,28,21,.65) 50%, rgba(18,28,21,.25) 100%); }
  .hs__slide--right .hs__inner { justify-content: flex-start; }
  .hs__inner { align-items: flex-end; padding-bottom: 110px; }
}
@media (max-width: 560px) { .hs__track { height: 640px; } .hs__nav .slider__count { display: none; } .hs__actions .btn { flex: 1 1 auto; } }

/* trust band under hero */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: 1.4rem; }
.trust__label { font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 16ch; }
.trust .marquee__track { gap: clamp(44px, 5vw, 72px); }
@media (max-width: 700px) { .marquee img { zoom: .8; } }
@media (max-width: 700px) { .trust .wrap { grid-template-columns: 1fr; gap: .8rem; } }

/* product carousel */
.pc { position: relative; }
.pc__rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 320px); gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; }
.pc__rail::-webkit-scrollbar { display: none; }
.prod { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--fg); transition: box-shadow .3s, transform .3s; }
.prod:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.prod__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.prod:hover .prod__media img { transform: scale(1.06); }
.prod__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .45rem; }
.prod__tag { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.prod h3 { font-size: 1.08rem; }
.prod p { color: var(--muted); font-size: var(--t-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod .link-arrow { margin-top: .2rem; }
.pc__ctrl { display: flex; align-items: center; gap: .5rem; color: var(--fg); }
.pc__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; margin-right: 1rem; }
.pc__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--brand); transition: transform .3s, width .3s; }

/* industry showcase (tabs) */
.show { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.show__tabs { display: grid; gap: .4rem; position: sticky; top: calc(var(--header-h) + 24px); }
.show__tab { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .8rem; align-items: center; text-align: left; padding: .8rem; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; color: var(--fg); font: 600 1rem/1.25 var(--f-display); transition: .2s; }
.show__tab small { display: block; font: 400 var(--t-xs)/1.3 var(--f-body); color: var(--muted); margin-top: .2rem; }
.show__tab img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.show__tab:hover { background: var(--tint); }
.show__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.show__panel { display: grid; gap: 1.4rem; }
.show__panel[hidden] { display: none; }
.show__panel.is-in { animation: fadeUp .5s ease both; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(150px, 1fr)); gap: 12px; }
.mosaic > :first-child { grid-row: span 2; }
.mosaic .gallery__item { margin: 0; height: 100%; border-radius: 10px; }
.mosaic .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .gallery__item:nth-child(4) { grid-column: span 2; }
.show__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end; }
.show__info p { color: var(--muted); }
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; }
  .show__tabs { position: static; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .show__info { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .mosaic > :first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } .mosaic .gallery__item { aspect-ratio: 1; } .mosaic .gallery__item:nth-child(4) { grid-column: auto; } }

/* product category strip */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.cat { position: relative; display: grid; align-content: end; min-height: 300px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; padding: 1.6rem; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,28,21,.85), rgba(18,28,21,.1) 65%); }
.cat:hover img { transform: scale(1.06); }
.cat h3 { color: #fff; font-size: 1.3rem; }
.cat p { color: #dfe9dc; font-size: var(--t-sm); margin-top: .35rem; }
.cat span.cat__n { font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .12em; color: #c9dcc6; margin-bottom: .6rem; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 240px; } }

/* v3 fixes */
.mosaic { grid-template-rows: repeat(2, clamp(150px, 15vw, 220px)); }
.mosaic .gallery__item { height: 100%; min-height: 0; }
@media (max-width: 560px) { .mosaic { grid-template-rows: none; } }
.trust__label { max-width: 22ch; }
.rail { grid-auto-columns: minmax(130px, 160px); }
.cert { aspect-ratio: 1; padding: 1.2rem; }

/* =========================================================================
   Article pages
   ========================================================================= */
.art-head { background: var(--tint); border-bottom: 1px solid var(--line); }
.art-head .wrap { padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); display: grid; gap: 1.6rem; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a { color: var(--fg); }
.crumbs--dark li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.art-head__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.art-head__copy { display: grid; gap: 1rem; min-width: 0; }
.art-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.art-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font: 500 var(--t-xs)/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.art-meta span + span::before { content: "·"; margin-right: 1.2rem; color: var(--line); }
.art-meta span + span { display: inline-flex; }
.art-head__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
@media (max-width: 860px) { .art-head__grid { grid-template-columns: 1fr; } .art-head__img { order: -1; } }

.art-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 5vw, 72px); align-items: start; }
.art-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.4rem; }
.art-toc ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .1rem; border-left: 2px solid var(--line); counter-reset: toc; max-height: 52vh; overflow: auto; }
.art-toc a { display: block; padding: .38rem 0 .38rem .9rem; margin-left: -2px; border-left: 2px solid transparent; font-size: var(--t-sm); line-height: 1.35; color: var(--muted); text-decoration: none; }
.art-toc a:hover { color: var(--fg); }
.art-toc a.is-active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.art-cta { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem; display: grid; gap: .8rem; }
.art-cta p { font-size: var(--t-sm); color: var(--muted); }
.art-cta .link-arrow svg { width: 15px; height: 15px; }
@media (max-width: 960px) { .art-layout { grid-template-columns: 1fr; } .art-aside { position: static; order: 2; } .art-toc { display: none; } }

.prose-article { max-width: 72ch; min-width: 0; font-size: 1.075rem; line-height: 1.75; }
.prose-article > :first-child { margin-top: 0; }
.prose-article p { margin: 0 0 1.1em; color: var(--fg); }
.prose-article h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-article h3 { font-size: 1.22rem; margin: 1.8em 0 .55em; }
.prose-article h4 { font-size: 1.05rem; margin: 1.5em 0 .5em; }
.prose-article .art-sec:first-child h2 { margin-top: .4em; }
.prose-article ul, .prose-article ol { margin: 0 0 1.3em; padding-left: 1.3em; display: grid; gap: .45em; }
.prose-article li::marker { color: var(--brand); font-weight: 600; }
.prose-article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose-article strong { color: var(--fg); font-weight: 600; }
.prose-article blockquote { margin: 1.5em 0; padding: .8em 1.2em; border-left: 3px solid var(--brand); background: var(--tint); border-radius: 0 6px 6px 0; }
.prose-article .art-sec > p:first-of-type { }
.steps-list { list-style: none; padding: 0 !important; counter-reset: st; gap: .8em !important; }
.steps-list li { counter-increment: st; position: relative; padding: 1em 1.1em 1em 3.6em; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.steps-list li::before { content: counter(st); position: absolute; left: 1em; top: .95em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--accent-soft); color: var(--brand); display: grid; place-items: center; font: 600 .85rem/1 var(--f-display); }
.steps-list li strong { display: block; margin-bottom: .2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: .8em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--ink); color: #fff; font: 600 .9rem/1.3 var(--f-display); }
.table-wrap tbody th { font-weight: 600; background: var(--tint); }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.art-takeaways { background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: .4em 1.5em 1em; margin: 2em 0; }
.art-takeaways h2 { font-size: 1.25rem !important; margin-top: 1em !important; }
.art-takeaways ul { list-style: none; padding: 0; }
.art-takeaways li { padding-left: 1.8em; position: relative; }
.art-takeaways li::before { content: ""; position: absolute; left: .2em; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.art-faq .faq { margin-top: .4em; }
.art-faq .faq summary { font-size: 1.02rem; }
.art-related-prod { margin-top: 2.6em; padding-top: 1.6em; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.art-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.art-prod { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .9rem; align-items: center; padding: .6rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none !important; color: var(--fg) !important; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.art-prod:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.art-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.art-prod b { display: block; font: 600 1rem/1.3 var(--f-display); }
.art-prod small { color: var(--brand); font-size: var(--t-xs); font-weight: 600; }
.art-share { display: flex; align-items: center; gap: .5rem; margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); font: 500 var(--t-xs)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.art-share a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--fg) !important; }
.art-share a:hover { background: var(--tint); }
.art-share svg { width: 16px; height: 16px; }
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--brand); z-index: 100; transition: width .1s linear; }

/* =========================================================================
   Google reviews (testimonial style)
   ========================================================================= */
.reviews__grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.rev-summary { display: grid; gap: 1.1rem; align-content: start; }
.rev-score { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; }
.rev-score b { font: 650 3.2rem/1 var(--f-display); color: var(--ink); }
.rev-score div { display: grid; gap: .3rem; }
.rev-score span { font-size: var(--t-sm); color: var(--muted); }
.rev-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: #e8a317; }
.rev-rail { grid-auto-columns: clamp(270px, 30vw, 340px) !important; }
.rev-card { margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; position: relative; }
.rev-card::after { content: "\201D"; position: absolute; right: 1.1rem; top: .4rem; font: 700 4rem/1 var(--f-display); color: var(--accent-soft); pointer-events: none; }
.rev-card__head { display: flex; align-items: center; gap: .8rem; }
.rev-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 .95rem/1 var(--f-display); flex-shrink: 0; overflow: hidden; }
.rev-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rev-card figcaption { display: grid; gap: .1rem; }
.rev-card cite { font-style: normal; font-weight: 600; color: var(--fg); }
.rev-card figcaption span { font: 500 var(--t-xs)/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rev-card blockquote { margin: 0; }
.rev-card blockquote p { color: var(--fg); font-size: .98rem; line-height: 1.6; }
.reviews__grid > * { min-width: 0; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Instagram reels — continuously moving carousel
   ========================================================================= */
.ig .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.ig-marquee { overflow: hidden; padding-block: 6px 10px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ig-track { display: flex; gap: clamp(12px, 1.4vw, 18px); width: max-content; animation: igScroll var(--ig-dur, 48s) linear infinite; }
.ig-marquee:hover .ig-track, .ig-marquee:focus-within .ig-track { animation-play-state: paused; }
@keyframes igScroll { to { transform: translateX(-50%); } }
.ig-card { position: relative; flex: 0 0 auto; width: clamp(180px, 17vw, 230px); aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--ink-2); box-shadow: var(--shadow); transition: transform .3s; }
.ig-card:hover { transform: translateY(-4px); }
.ig-card__media, .ig-card__media img, .ig-card__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ig-card__media img { object-fit: cover; transition: transform .8s; }
.ig-card:hover .ig-card__media img { transform: scale(1.05); }
.ig-card__media iframe { pointer-events: none; height: calc(100% + 120px); top: -54px; }
.ig-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,16,.78), transparent 45%); pointer-events: none; }
.ig-card__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; z-index: 2; transition: transform .25s; }
.ig-card__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.ig-card:hover .ig-card__play { transform: scale(1.1); }
.ig-card__cap { position: absolute; left: .9rem; right: .9rem; bottom: .85rem; z-index: 2; color: #fff; font: 500 .85rem/1.35 var(--f-body); text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ig-lb { grid-template-columns: 1fr; place-items: center; overflow: auto; }
.ig-lb__frame { width: min(400px, 100%); max-height: 90vh; overflow: auto; border-radius: 12px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .ig-track { animation: none; } .ig-marquee { overflow-x: auto; } }

/* ---------- certifications (replaces the cert rail) ---------- */
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.cert-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem .8rem .9rem; display: grid; justify-items: center; align-content: start; gap: .7rem; text-align: center; }
.cert-tile__img { height: 84px; display: grid; place-items: center; }
.cert-tile__img img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.cert-tile strong { font-family: var(--f-display); font-size: .95rem; line-height: 1.2; color: var(--fg); }
.cert-tile small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.award-hero { background: var(--ink, #1f2d23); color: #fff; border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; }
.award-hero__year { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1; font-weight: 600; color: var(--sage, #8BA889); }
.award-hero p { margin: 0; color: rgba(255,255,255,.88); line-height: 1.45; }
.award-hero strong { color: #fff; display: block; font-size: 1.05rem; margin-bottom: .2rem; }
@media (max-width: 560px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .award-hero { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 641px) {
  .footer__top > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 64px); align-items: start; }
  .footer__top > div:last-child > h2 { grid-column: 1 / -1; }
  .footer__top > div:last-child .news { grid-column: 2; grid-row: 2; margin-top: 0; padding-top: 0; border-top: 0; }
  .footer__top > div:last-child .news-status { grid-column: 2; }
}

/* ---------- special labels banner (home) ---------- */
.sl-banner { background: var(--ink); color: var(--on-ink-muted); overflow: hidden; }
.sl-banner__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.sl-banner__copy { display: grid; gap: 1.1rem; justify-items: start; }
.sl-banner .eyebrow { color: var(--sage); }
.sl-banner h2 { color: #fff; max-width: 18ch; }
.sl-banner p { margin: 0; max-width: 52ch; color: rgba(255,255,255,.8); }
.sl-banner__list { list-style: none; margin: .4rem 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sl-banner__list a { display: inline-block; padding: .42rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; text-decoration: none; font-size: var(--t-sm); transition: background .2s, border-color .2s, color .2s; }
.sl-banner__list a:hover, .sl-banner__list a:focus-visible { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.sl-banner__media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 34vw, 460px); }
.sl-banner__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.sl-banner__media figure:first-child { grid-row: 1 / -1; }
.sl-banner__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sl-banner__media figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .sl-banner__grid { grid-template-columns: 1fr; } .sl-banner__media { height: 300px; } }
