/* ===== Practical Quality – styles ===== */

:root {
  --ink: #0f1c2e;
  --ink-2: #1b2b42;
  --paper: #f7f5f0;
  --white: #ffffff;
  --tint: #e3ebe7;
  --text: #1f2733;
  --muted: #5d6675;
  --line: #ddd8cc;
  --accent: #0b7a62;
  --accent-2: #2bb38a;
  --ok: #2f9e44;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 28, 46, .06), 0 8px 24px rgba(15, 28, 46, .08);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: .8em 1.6em;
  font: 600 1rem/1 var(--font);
  color: var(--white);
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: #08604d; border-color: #08604d; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small { padding: .6em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 245, 240, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(15, 28, 46, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke: var(--accent-2); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-weight: 400; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name b { font-weight: 800; margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.scroll-progress {
  position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
  background: var(--accent-2); transform: scaleX(0); transform-origin: right; pointer-events: none;
}
html[dir="ltr"] .scroll-progress { transform-origin: left; }
.header-end { display: flex; align-items: center; gap: 8px; }
.main-nav { margin-inline-start: auto; }
.lang-switch {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 36px; padding: 0 10px;
  font: 500 .82rem/1 var(--mono); letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-switch:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.lang-switch:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0 clamp(16px, 2.5vw, 32px);
  overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 40%, rgba(247,245,240,.4), var(--paper) 75%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .45em; }
.hero h1 { isolation: isolate; }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: .08em; height: .22em;
  background: var(--accent-2); opacity: .45; z-index: -1; border-radius: 3px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Spec / inspection tag card */
.spec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  font-size: .95rem;
  transform: rotate(-1.2deg);
}
.spec-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .78rem; color: var(--muted);
  padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.spec-status { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-family: var(--font); font-weight: 600; }
.spec-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,158,68,.15); }
.spec-block { padding: 10px 0 9px; border-bottom: 1px solid #efece5; }
.spec-label { margin: 0 0 6px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.spec-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
html[dir="rtl"] .spec-chips { justify-content: flex-end; }
.spec-chips li {
  font-family: var(--mono); font-size: .76rem; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; line-height: 1.6;
}
.spec-card dl { margin: 0; }
.spec-card dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #efece5; }
.spec-card dt { color: var(--muted); font-size: .85rem; }
.spec-card dd { margin: 0; font-weight: 600; color: var(--ink); }
.spec-card dd[dir="ltr"] { font-family: var(--mono); font-size: .86rem; font-weight: 500; text-align: right; }
.spec-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; color: var(--muted); font-size: .85rem; }
.stamp { width: 46px; height: 46px; transform: rotate(-14deg); }
.stamp circle, .stamp path { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.stamp circle:nth-child(2) { stroke-width: 1.2; stroke-dasharray: 3 3; }
.stamp path { stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 5vw, 68px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #c9d1dd; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-sub { color: #9aa6b8; }
.section-dark .eyebrow { color: var(--accent-2); }

.section-head { max-width: 720px; margin-bottom: clamp(22px, 3vw, 34px); }
.section-head h2, .about-text h2, .contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.015em; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Services cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card::before {
  content: ""; position: absolute; top: -1px; inset-inline: 26px; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px;
  transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-num { display: block; font-family: var(--mono); font-size: .8rem; color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Approach steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 0 28px; }
.step + .step { padding-inline-start: 28px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.step-num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 20px;
  font-family: var(--mono); font-size: .9rem; color: var(--accent-2);
  border: 1.5px solid var(--accent-2); border-radius: 50%;
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: #9aa6b8; font-size: .98rem; }

/* How it works */
.tracks { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: stretch; }
.track { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.track-main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.track-tag { display: inline-block; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--accent); background: rgba(11, 122, 98, .08); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.track h3 { font-size: 1.35rem; margin-bottom: 6px; }
.track-lead { color: var(--muted); margin-bottom: 18px; }
.track-levels { list-style: none; margin: 0; padding: 0; }
.track-levels li { padding: 14px 0; border-top: 1px solid #efece5; }
.track-levels strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink); margin-bottom: 4px; }
.hours {
  font-style: normal; font-weight: 600; font-size: .82rem; color: var(--accent);
  background: rgba(11, 122, 98, .08); border: 1px solid rgba(11, 122, 98, .18);
  padding: 2px 10px; border-radius: 10px; line-height: 1.5;
}
.track { min-width: 0; }
.hours-note {
  margin: 22px 0 0; padding: 16px 20px; border-radius: var(--radius);
  background: var(--white); border: 1px dashed var(--accent-2); color: #3c4553;
}
.hours-note strong { color: var(--ink); margin-inline-end: 6px; }
.track-levels span { display: block; color: #3c4553; font-size: .96rem; line-height: 1.55; }
.how-notes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-notes li { padding-inline-start: 16px; border-inline-start: 3px solid var(--accent-2); }
.how-notes strong { display: block; color: var(--ink); }
.how-notes span { display: block; color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* 8D Hub / systems */
.hub { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 3.5vw, 44px); align-items: start; }
.hub-app {
  background: #0d1a26; color: #c9d4df; border-radius: 18px; padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 28, 46, .22); border: 1px solid #1d2f42;
}
.hub-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #1d2f42; }
.hub-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-2); color: #062019; font-weight: 800; font-size: .85rem; }
.hub-name { color: #fff; font-weight: 400; } .hub-name b { font-weight: 800; color: var(--accent-2); }
.hub-rev { margin-inline-start: auto; font-family: var(--mono); font-size: .72rem; color: #7f93a6; border: 1px solid #2a3f55; border-radius: 999px; padding: 2px 10px; }
.hub-case { padding: 14px 2px 12px; }
.hub-case strong { display: block; color: #fff; }
.hub-case span { font-size: .85rem; color: #8ea2b5; }
.hub-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hub-steps li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; background: #12233a; font-size: .9rem; }
.hub-steps b { font-family: var(--mono); font-size: .78rem; width: 30px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #1d3149; color: #9fb3c6; }
.hub-steps li.is-done b { background: rgba(43, 179, 138, .25); color: var(--accent-2); }
.hub-steps li.is-done span { color: #9fb3c6; }
.hub-steps li.is-current { background: rgba(43, 179, 138, .14); box-shadow: inset 0 0 0 1.5px var(--accent-2); color: #fff; }
.hub-steps li.is-current b { background: var(--accent-2); color: #062019; }
.hub-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hub-feats li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.hub-feats strong { display: block; color: var(--ink); margin-bottom: 4px; }
.hub-feats span { display: block; color: #3c4553; font-size: .93rem; line-height: 1.55; }
.hub-foot { margin-top: 22px; }
.custom-sys {
  margin-top: clamp(26px, 3.5vw, 40px); padding: clamp(20px, 3vw, 30px);
  background: var(--white); border: 2px dashed var(--accent-2); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.custom-sys > div { flex: 1 1 420px; }
.custom-sys h3 { font-size: 1.35rem; margin-bottom: 6px; }
.custom-sys p { color: #3c4553; margin-bottom: 12px; }
.custom-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.custom-list li { padding: 5px 12px; border-radius: 999px; background: rgba(11, 122, 98, .08); color: var(--accent); font-weight: 600; font-size: .9rem; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-card figcaption { padding: 22px 24px 24px; }
.tag { display: inline-block; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--accent); background: rgba(11, 122, 98, .08); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.video-card h3 { font-size: 1.3rem; }
.video-card p { color: var(--muted); margin: 0; }
.lang-note { font-size: .9rem; color: var(--muted); }
.cases-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Click-to-play video cards (main page cases + videos page) */
.vcard-frame { position: relative; background: var(--ink); }
.vcard-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer; background: var(--ink);
}
.vcard-play img { width: 100%; height: 100%; object-fit: contain; }
.play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(15, 28, 46, .72); border: 2px solid rgba(255, 255, 255, .85);
  transition: background .2s, transform .2s;
}
.play-icon svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.vcard-play:hover .play-icon, .vcard-play:focus-visible .play-icon { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.vcard-play:focus-visible { outline: 3px solid var(--accent-2); outline-offset: -3px; }
.vcard-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Videos page */
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-weight: 500; }
.back-link:hover { color: var(--accent); }
.page-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
.vgroup + .vgroup { margin-top: clamp(32px, 4vw, 48px); }
.vgroup-head { margin-bottom: 22px; padding-inline-start: 14px; border-inline-start: 4px solid var(--accent); }
.vgroup-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 4px; }
.vgroup-head p { margin: 0; color: var(--muted); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; grid-auto-flow: dense; }
.vcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vcard .vcard-frame { aspect-ratio: 9 / 14; }
.vcard.is-square .vcard-frame { aspect-ratio: 1; }
.vcard.is-wide { grid-column: span 2; }
.vcard.is-wide .vcard-frame { aspect-ratio: 16 / 9; }
.vcard-text { padding: 16px 18px 18px; }
.vcard-text h3 { font-size: 1.08rem; margin-bottom: 4px; }
.vcard-text p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
@media (max-width: 560px) { .vcard.is-wide { grid-column: auto; } }

/* About */
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.about-photo { isolation: isolate; }
.photo-tag {
  position: absolute; bottom: 18px; right: 18px;
  font-family: var(--mono); font-size: .75rem; color: var(--white);
  background: rgba(15, 28, 46, .85); padding: 6px 12px; border-radius: 999px;
}
.about-text p { color: #3c4553; }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.values li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.values strong { display: block; color: var(--ink); font-size: 1.1rem; }
.values span { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }
.linkedin-btn { margin-top: 24px; }

/* Experience */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.stat { border-top: 3px solid var(--ink); padding-top: 16px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: 8px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .95rem; line-height: 1.5; display: block; }

.exp-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.exp-areas { display: grid; gap: 0; }
.exp-area { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
.exp-area:first-child { border-top: 0; padding-top: 0; }
.exp-area .card-num { grid-row: span 2; margin: 6px 0 0; }
.exp-area h3 { font-size: 1.25rem; margin-bottom: 6px; }
.exp-area p { margin: 0; color: #3c4553; }

.exp-side {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.exp-now {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--ink); color: #dfe5ee; border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 28px;
}
.exp-now p { margin: 0; }
.now-tag {
  flex: none; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--accent-2); border-radius: 999px; padding: 4px 12px; margin-top: 2px;
}
.exp-linkedin {
  display: block; margin: -10px 0 26px; padding: 10px 14px;
  font-weight: 600; font-size: .95rem; color: var(--accent); text-decoration: none;
  background: rgba(11, 122, 98, .07); border-radius: 10px; transition: background .2s;
}
.exp-linkedin:hover { background: rgba(11, 122, 98, .14); }
.company-list { list-style: none; margin: 0 0 26px; padding: 0; }
.company-list li {
  padding: 11px 0; border-bottom: 1px solid #efece5;
  font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.company-list li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex: none; }
.company-list li:last-child { border-bottom: 0; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.chip-list li.domain-hl { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Manufacturing processes – animated circles */
.processes { margin-top: clamp(28px, 3.5vw, 44px); }
.proc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 28px 14px; }
.processes .domains-title { font-family: var(--font); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 24px; }
.proc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.proc-circle {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--line);
  color: var(--accent);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.proc:hover .proc-circle { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(11, 122, 98, .08); transform: translateY(-3px); }
.proc-circle svg { width: 64px; height: 64px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.proc-circle svg * { transform-box: fill-box; }
.proc-label { font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--ink); }

/* animations run only while the block is on screen (see script.js) */
.processes [class*="a-"] { animation-play-state: paused; }
.processes.in-view [class*="a-"] { animation-play-state: running; }

.a-push    { animation: pq-push 2.4s ease-in-out infinite; }
.a-fill    { transform-origin: left center; animation: pq-fill 2.4s ease-in-out infinite; }
.a-press   { animation: pq-press 1.6s cubic-bezier(.6,0,.3,1) infinite; }
.a-squish  { transform-origin: center bottom; animation: pq-squish 1.6s cubic-bezier(.6,0,.3,1) infinite; }
.a-insert  { animation: pq-insert 2.6s ease-in-out infinite; }
.a-spin    { transform-origin: center; animation: pq-spin 1.4s linear infinite; }
.a-chip    { animation: pq-chip 1.4s ease-out infinite; }
.a-chip.c2 { animation-delay: .7s; --dx: -8px; }
.a-belt    { animation: pq-belt 1.8s linear infinite; }
.a-shine   { animation: pq-shine 3s ease-in-out infinite; }
.a-ring    { transform-origin: center; animation: pq-ring 2.4s ease-in-out infinite; }
.a-drop    { animation: pq-drop 2.4s ease-in infinite; }
.a-dot     { animation: pq-dot 1.5s ease-out infinite; }
.a-dot.d2  { animation-delay: .25s; } .a-dot.d3 { animation-delay: .5s; }
.a-paint   { stroke-dasharray: 38; animation: pq-paint 3s ease-in-out infinite; }
.a-spark   { transform-origin: center; animation: pq-spark .5s steps(2) infinite; }
.a-tilt    { transform-origin: 85% 30%; animation: pq-tilt 3s ease-in-out infinite; }
.a-pour    { animation: pq-pour 3s ease-in infinite; }
.a-pour.p2 { animation-delay: .25s; }
.a-extrude { transform-origin: left center; animation: pq-extrude 2.8s ease-in-out infinite; }
.a-needle  { transform-origin: 50% 100%; animation: pq-needle 2.6s ease-in-out infinite alternate; }
.a-roll    { transform-origin: center; animation: pq-spin 2s linear infinite; }
.a-roll.r2 { animation-direction: reverse; }
.a-sheet   { animation: pq-sheet 1s linear infinite; }
.a-heat    { animation: pq-heat 2s ease-in-out infinite; }
.a-heat.h2 { animation-delay: .4s; } .a-heat.h3 { animation-delay: .8s; }
.a-glow    { animation: pq-glow 2s ease-in-out infinite; }
.a-pellet  { animation: pq-pellet 1.2s ease-in infinite; }
.a-pellet.g2 { animation-delay: .6s; }
.a-screw   { animation: pq-screw .8s linear infinite; }
.a-ply     { animation: pq-ply 4s ease-out infinite; }
.a-ply.y2  { animation-delay: .5s; } .a-ply.y3 { animation-delay: 1s; } .a-ply.y4 { animation-delay: 1.5s; }

@keyframes pq-push    { 0%, 15% { transform: translateX(0); } 50%, 70% { transform: translateX(8px); } 100% { transform: translateX(0); } }
@keyframes pq-fill    { 0%, 20% { transform: scaleX(0); } 55%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pq-press   { 0%, 20% { transform: translateY(0); } 45%, 55% { transform: translateY(8px); } 100% { transform: translateY(0); } }
@keyframes pq-squish  { 0%, 40% { transform: scale(1, 1); } 50%, 90% { transform: scale(1.35, .6); } 100% { transform: scale(1, 1); } }
@keyframes pq-insert  { 0%, 10% { transform: translateY(-4px); } 50%, 75% { transform: translateY(6px); } 100% { transform: translateY(-4px); } }
@keyframes pq-spin    { to { transform: rotate(360deg); } }
@keyframes pq-chip    { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(var(--dx, 8px), -10px); opacity: 0; } }
@keyframes pq-belt    { to { transform: translateX(18px); } }
@keyframes pq-shine   { 0%, 30% { transform: translateX(-36px); } 70%, 100% { transform: translateX(36px); } }
@keyframes pq-ring    { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.12, .8); } }
@keyframes pq-drop    { 0% { transform: translateY(-8px); opacity: 0; } 20% { opacity: .8; } 80% { transform: translateY(10px); opacity: .8; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes pq-dot     { 0% { transform: translateX(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(6px); opacity: 0; } }
@keyframes pq-paint   { 0% { stroke-dashoffset: 38; } 50%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -38; } }
@keyframes pq-spark   { 0% { opacity: 1; transform: scale(1); } 100% { opacity: .35; transform: scale(.75); } }
@keyframes pq-tilt    { 0%, 15%, 100% { transform: rotate(0); } 40%, 75% { transform: rotate(18deg); } }
@keyframes pq-pour    { 0%, 40% { transform: translateY(0); opacity: 0; } 45% { opacity: 1; } 75% { transform: translateY(14px); opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes pq-extrude { 0% { transform: scaleX(0); } 70%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pq-needle  { 0% { transform: rotate(-55deg); } 70% { transform: rotate(38deg); } 85% { transform: rotate(28deg); } 100% { transform: rotate(32deg); } }
@keyframes pq-sheet   { to { transform: translateX(16px); } }
@keyframes pq-heat    { 0% { transform: translateY(4px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes pq-glow    { 0%, 100% { opacity: .12; } 50% { opacity: .4; } }
@keyframes pq-pellet  { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes pq-screw   { to { transform: translateX(8px); } }
@keyframes pq-ply     { 0% { transform: translateY(-14px); opacity: 0; } 15%, 80% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .processes [class*="a-"] { animation: none !important; }
}

/* Education & training */
.edu-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.edu-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.edu-title { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.edu-list { list-style: none; margin: 0; padding: 0; }
.edu-list li { padding: 14px 0; border-top: 1px solid #efece5; }
.edu-list li:first-child { border-top: 0; padding-top: 0; }
.edu-list strong { display: block; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.edu-list span { display: block; color: var(--muted); font-size: .93rem; margin-top: 2px; }

.domains { margin-top: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.domains-title { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.domains ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.domains li { padding: 7px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.domains li.domain-hl { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.ci-label { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.ci-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: end; }
html[dir="ltr"] .ci-stack { align-items: flex-end; }
.ci-stack small { color: var(--muted); font-size: .85rem; }
.ci-stack small b { color: var(--ink); }
.fmea-link { margin-top: 22px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; font: 400 1rem/1.5 var(--font); color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 122, 98, .12);
}
.contact-form .invalid { border-color: #6741d9; }
.form-note { margin: 0; min-height: 1.5em; font-size: .92rem; color: var(--muted); text-align: center; }
.form-note.error { color: #5f3dc4; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa6b8; padding: 28px 0; font-size: .92rem; }
.site-footer .brand-name { color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer a { text-decoration: none; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-tag { font-size: .82rem; color: #9aa6b8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -60px; inset-inline-start: 16px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent-2); }

/* Legal page */
.legal-wrap { max-width: 820px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 36px; }
.legal-toc a { padding: 7px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); background: var(--white); }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent); }
.legal-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); margin-bottom: 22px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-sec h2 { font-size: 1.6rem; margin-bottom: 14px; }
.legal-sec h3 { font-size: 1.08rem; margin: 22px 0 6px; color: var(--ink); }
.legal-sec p, .legal-sec li { color: #3c4553; }
.legal-sec ul { padding-inline-start: 1.2em; margin: 0 0 1em; }
.legal-sec li { margin-bottom: 6px; }
.legal-contact ul { list-style: none; padding: 0; }
.legal-contact li { padding: 10px 0; border-bottom: 1px solid #efece5; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.legal-contact li span { font-family: var(--mono); font-size: .8rem; color: var(--muted); min-width: 64px; }
.legal-contact a { color: var(--ink); font-weight: 600; }
.legal-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.site-footer a:hover { color: var(--accent-2); }

/* very narrow phones: keep the header on one line */
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .brand-name { font-size: 1rem; }
  .header-end { gap: 2px; }
  .lang-switch { min-width: 38px; padding: 0 6px; }
  .nav-toggle { width: 40px; padding: 8px; }
}
@media (max-width: 320px) {
  .brand-mark { display: none; }
}

/* ---------- English (LTR) overrides ---------- */
html[dir="ltr"] body { font-family: "Inter", var(--font); }
html[dir="ltr"] .card::before { transform-origin: left; }
html[dir="ltr"] .spec-card dd[dir="ltr"] { text-align: left; }
html[dir="ltr"] .photo-tag { right: auto; left: 18px; }
html[dir="ltr"] .about-photo::before { inset: 18px 18px -18px -18px; }
html[dir="ltr"] .spec-card { transform: rotate(1.2deg); }
html[dir="ltr"] .spec-card.reveal.visible { transform: rotate(1.2deg); }
html[dir="ltr"] .hero::before { background: radial-gradient(ellipse 70% 80% at 30% 40%, rgba(247,245,240,.4), var(--paper) 75%); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: none; }
.spec-card.reveal.visible { transform: rotate(-1.2deg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .hero-inner, .about-inner, .contact-inner, .edu-grid, .exp-layout, .tracks, .how-notes, .hub { grid-template-columns: 1fr; }
  .hub-app { max-width: 460px; }
  .exp-side { position: static; }
  .spec-card { max-width: 460px; }
  .about-photo { max-width: 380px; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    box-shadow: 0 16px 30px rgba(15, 28, 46, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .videos, .values, .field-row, .stats, .hub-feats { grid-template-columns: 1fr; }
  .tl-item { padding-inline-start: 28px; }
  .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .proc-circle { width: 88px; height: 88px; }
  .proc-circle svg { width: 54px; height: 54px; }
  .proc-label { font-size: .86rem; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step, .step + .step { padding: 0; border: 0; }
  .spec-card { transform: none; }
  .spec-card.reveal.visible,
  html[dir="ltr"] .spec-card, html[dir="ltr"] .spec-card.reveal.visible { transform: none; }
  .about-photo::before { inset: 12px -10px -10px 12px; }
  html[dir="ltr"] .about-photo::before { inset: 12px 12px -10px -10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; text-align: center; }
}
