/* Pro-Plastik — production stylesheet
   Tokens and values are transcribed 1:1 from the design handoff. */

:root {
  --bg: #0E1013;
  --bg-footer: #0B0C0F;
  --bg-hero: #07080A;
  --surface: #15181C;
  --surface-2: #131519;
  --selected: #1B1F24;
  --text: #F3F2EF;
  --text-2: #C9CCD1;
  --text-3: #B7BBC2;
  --text-4: #A9AEB6;
  --text-5: #D4D6DA;
  --muted: #8A9099;
  --muted-2: #6E747C;
  --accent: #F14E97;
  --logo-grey: #867B80;
  --molten: #FF6A2A;
  --line-06: rgba(255,255,255,0.06);
  --line-07: rgba(255,255,255,0.07);
  --line-08: rgba(255,255,255,0.08);
  --line-09: rgba(255,255,255,0.09);
  --line-10: rgba(255,255,255,0.10);
  --line-12: rgba(255,255,255,0.12);
  --line-14: rgba(255,255,255,0.14);
  --line-18: rgba(255,255,255,0.18);
  --line-20: rgba(255,255,255,0.20);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: Geist, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --header-h: 68px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.menu-open, body.menu-open { overflow: hidden; }
body.menu-open { touch-action: none; }
a { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
input, textarea { font: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  height: 44px; padding: 0 16px; display: flex; align-items: center;
  border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 500;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

@keyframes ppIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  height: 52px; padding: 0 24px;
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 10px; cursor: pointer;
  background: var(--text); color: var(--bg);
  font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: #FFFFFF; color: var(--bg); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--inset { box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.4) inset; }
.btn--sm { height: 48px; padding: 0 22px; }
.btn--ghost {
  background: rgba(255,255,255,0.03); color: var(--text);
  border: 1px solid var(--line-18);
  transition: border-color .2s, background .2s;
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: var(--text); transform: none; }
.btn--ghost:active { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(14,16,19,0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-07);
}
.site-nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 26px; width: auto; display: block; }
.desk-nav { display: none; align-items: center; gap: 36px; font-size: 14px; color: var(--text-4); }
.desk-nav a { color: var(--text-4); transition: color .25s; }
.desk-nav a:hover, .desk-nav a[aria-current="page"] { color: #FFFFFF; }

.lang {
  display: flex; overflow: hidden;
  border: 1px solid var(--line-14); border-radius: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
}
.lang a {
  height: 32px; min-width: 40px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-4); transition: color .2s, background .2s;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--text); color: var(--bg); }
.lang--lg { border-radius: 10px; font-size: 14px; letter-spacing: 0; align-self: flex-start; margin-top: 24px; }
.lang--lg a { height: 48px; min-width: 64px; }

.menu-btn {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--line-12);
  background: transparent; color: var(--text); cursor: pointer;
}
.menu-btn svg { display: block; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

/* Lives OUTSIDE .site-header on purpose: the header's backdrop-filter would
   otherwise become the containing block for this fixed panel. */
.mob-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  z-index: 49;
  background: var(--bg);
  padding: 32px clamp(20px, 5vw, 40px) calc(24px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; overscroll-behavior: contain;
  animation: ppIn .35s var(--ease);
}
.mob-menu > a {
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line-08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mob-menu > a[aria-current="page"] { color: #FFFFFF; }
.mob-contact {
  margin-top: auto; padding: 32px 0 24px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 16px; color: var(--text-4);
}
.mob-contact a { display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
body.menu-open .site-header { background: var(--bg); }

@media (min-width: 820px) {
  .desk-nav { display: flex; }
  .menu-btn, .mob-menu { display: none !important; }
}

/* ---------- page layout ---------- */
main.sub { padding-top: var(--header-h); }
.section { padding-top: var(--section); }

.page-head {
  padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(48px, 6vw, 80px);
  display: flex; flex-direction: column; gap: 20px;
}
.page-head--contact { padding-bottom: clamp(40px, 5vw, 64px); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.page-head h1 {
  font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -0.04em; font-weight: 500;
  max-width: 900px; text-wrap: balance;
}
.page-head h1.wide { max-width: 980px; }
.page-head h1.narrow { max-width: 760px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-4); max-width: 680px; text-wrap: pretty; }
.lead.narrow { max-width: 560px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-title { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-title h2, .h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; }
.section-title p { font-size: 17px; line-height: 1.6; color: var(--text-4); }
.link-more {
  font-size: 14px; color: var(--text-4); padding-bottom: 4px;
  border-bottom: 1px solid var(--line-20); transition: color .2s, border-color .2s;
}
.link-more:hover { color: #FFFFFF; border-color: #FFFFFF; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg-hero);
  height: 100vh; height: 100svh; min-height: 620px;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; display: block;
  opacity: 0; transform: scale(1);
  transition: opacity 1.2s, transform .1s linear;
  will-change: opacity, transform;
}
.hero-canvas.is-live { opacity: 1; }
.hero-canvas.is-settled { transition: transform .1s linear; }
/* No-JS / failed WebGL: show the static wordmark and the copy immediately. */
.no-js .hero-canvas { display: none; }
.no-js .hero-static[hidden] { display: flex !important; }
.no-js .hero-copy { opacity: 1; transform: none; }
.hero-static {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60% 50% at 50% 45%, #1A1D22 0%, var(--bg-hero) 70%);
}
.hero-static img { width: min(56vw, 620px); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
@media (max-width: 819px) and (orientation: portrait) {
  /* match the WebGL framing on phones: wordmark in the upper third, above the copy */
  .hero-static { align-items: flex-start; padding-top: 26vh; padding-top: 26svh; }
  .hero-static img { width: min(80vw, 520px); }
}
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, var(--bg) 8%, rgba(14,16,19,0));
  pointer-events: none;
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: clamp(32px, 6vh, 72px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
  opacity: 0; transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.hero-copy.is-in { opacity: 1; transform: none; }
.hero-text { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.hero-text h1 {
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500;
  text-wrap: balance;
}
.hero-text p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--text-3); max-width: 580px; text-wrap: pretty; }

/* ---------- key facts ---------- */
.facts { padding-top: clamp(56px, 7vw, 96px); }
.facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--line-10);
}
.fact { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line-10); }
.fact-k { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .08em; }
.fact-v { font-size: 24px; letter-spacing: -0.02em; font-weight: 500; }
.fact-d { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- services (home cards) ---------- */
.services { display: flex; flex-direction: column; gap: 48px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.svc-card {
  position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line-09);
  background: linear-gradient(180deg, #171A1E 0%, #121418 100%);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 28px;
  transition: border-color .35s, transform .45s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
}
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-head h3 { font-size: 28px; letter-spacing: -0.025em; font-weight: 500; }
.svc-head svg { flex-shrink: 0; }
.anim-box {
  border-radius: 12px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 40%, #1D2126 0%, #101215 100%);
  border: 1px solid var(--line-06);
  aspect-ratio: 400 / 230;
}
.anim-box svg { width: 100%; height: 100%; display: block; }
.anim-frame {
  align-self: center;
  border-radius: 18px; border: 1px solid var(--line-09);
  background: linear-gradient(180deg, #171A1E, #121418);
  padding: clamp(14px, 2vw, 22px);
}

/* ---------- process ---------- */
.process { display: flex; flex-direction: column; gap: 48px; }
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  border-top: 1px solid var(--line-12);
}
.process-grid li {
  position: relative; padding: 28px 20px 32px 0;
  display: flex; flex-direction: column; gap: 14px;
  border-bottom: 1px solid var(--line-08); transition: background .3s;
}
.process-grid .dot { position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.process-grid .dot--accent { background: var(--accent); }
.process-grid .n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.process-grid h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }

/* ---------- quality ---------- */
.quality {
  border-radius: 20px; border: 1px solid var(--line-09);
  background: radial-gradient(90% 120% at 100% 0%, #1C2026 0%, #121418 60%);
  padding: clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.quality h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.quality-rows { display: flex; flex-direction: column; }
.quality-row { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-08); }
.quality-row .n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 4px; }
.quality-row div { display: flex; flex-direction: column; gap: 6px; }
.quality-row h3 { font-size: 18px; font-weight: 500; }
.quality-row p { font-size: 15px; line-height: 1.55; color: var(--text-4); }

/* ---------- shared CTA ---------- */
.cta {
  padding-top: clamp(96px, 12vw, 180px); padding-bottom: clamp(72px, 9vw, 120px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.cta h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; max-width: 880px; text-wrap: balance; }
.cta h2 span { color: var(--muted); }
.cta--mat { padding-top: clamp(96px, 12vw, 160px); gap: 24px; }
.cta--mat h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 860px; }
.cta--mat p { font-size: 18px; line-height: 1.55; color: var(--text-4); max-width: 600px; text-wrap: pretty; }

/* ---------- about ---------- */
.about-intro {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  border-top: 1px solid var(--line-10); padding-top: 48px;
}
.seal-col { display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; text-align: center; }
.seal-col .years { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.seal { width: min(100%, 340px); height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.about-text { display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.values {
  padding-top: clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px;
}
.value-card {
  border-radius: 16px; border: 1px solid var(--line-09); background: var(--surface);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.value-card h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.value-card p { font-size: 15px; line-height: 1.6; color: var(--text-4); }
.how { padding-top: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 40px; }
.how h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; font-weight: 500; max-width: 820px; text-wrap: balance; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line-12); }
.how-grid li { padding: 28px 24px 32px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line-08); }
.how-grid .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.how-grid h3 { font-size: 20px; font-weight: 500; }
.how-grid p { font-size: 15px; line-height: 1.55; color: var(--text-4); }

/* ---------- services page ---------- */
.service {
  padding-top: 56px; padding-bottom: 56px;
  border-top: 1px solid var(--line-10);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.service-text { display: flex; flex-direction: column; gap: 18px; }
.service-text h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.03em; font-weight: 500; }
.service-text p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.service-text p + p { color: var(--text-4); }
.points { margin-top: 8px; display: flex; flex-direction: column; }
.points li {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid var(--line-07); font-size: 15px; color: var(--text-5);
}
.points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--logo-grey); flex-shrink: 0; transform: translateY(-2px); }

/* ---------- materials ---------- */
.mat-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-08); }
.mat-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.mat-hero-inner {
  position: relative;
  padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(64px, 8vw, 112px);
  display: flex; flex-direction: column; gap: 20px;
}
.mat-select { padding-top: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 14px; }
.mat-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.mat-tab {
  text-align: left; cursor: pointer; border-radius: 12px;
  border: 1px solid var(--line-09); background: var(--surface-2); color: var(--text);
  padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.mat-tab[aria-selected="true"] { border-color: rgba(243,242,239,0.55); background: var(--selected); }
.mat-tab-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.mat-tab-abbr { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.mat-tab .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-18); flex-shrink: 0; transition: background .3s; }
.mat-tab[aria-selected="true"] .dot { background: var(--accent); }
.mat-tab-name { font-size: 13px; color: var(--muted); line-height: 1.35; }
.pe-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 0; animation: ppIn .4s var(--ease); }
.pe-tabs .pe-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-2); align-self: center; padding-right: 6px; }
.pe-tab {
  height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-12); background: transparent; color: var(--text);
  font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px;
  transition: border-color .25s, background .25s;
}
.pe-tab[aria-selected="true"] { border-color: rgba(243,242,239,0.55); background: var(--selected); }
.pe-tab span { font-weight: 400; color: var(--muted); font-size: 13px; }

.mat-detail { padding-top: 24px; }
.mat-panel {
  border-radius: 20px; border: 1px solid var(--line-09); overflow: hidden;
  background: linear-gradient(180deg, #16191D 0%, #111317 100%);
}
.mat-panel-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.mat-panel-copy { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.mat-abbr-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mat-abbr { font-size: clamp(48px, 6vw, 72px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.mat-family { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted-2); }
.mat-panel-copy h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.mat-panel-copy p { font-size: 16px; line-height: 1.6; color: var(--text-3); max-width: 520px; text-wrap: pretty; }
.mat-viz {
  position: relative; min-height: 260px;
  border-left: 1px solid var(--line-06);
  background: radial-gradient(70% 80% at 50% 50%, #1C2025 0%, #121418 100%);
}
.mat-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mat-viz-label { position: absolute; left: 18px; bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-2); }
.mat-panel-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); border-top: 1px solid var(--line-08); }
.mat-cell { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line-06); }
.mat-cell h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); font-weight: 400; }
.mat-chars { display: flex; flex-direction: column; }
.mat-chars li {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 0;
  border-bottom: 1px solid var(--line-06); font-size: 15px; color: var(--text-5);
}
.mat-chars li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); flex-shrink: 0; transform: translateY(-2px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  height: 34px; padding: 0 14px; display: flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--line-12); font-size: 14px; color: var(--text-5);
}
@media (max-width: 899px) {
  .mat-viz { border-left: 0; border-top: 1px solid var(--line-06); }
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-10); }
.contact-row { padding: 20px 0; border-bottom: 1px solid var(--line-08); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.contact-row dt { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .06em; padding-top: 3px; }
.contact-row dd { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-row dd a { color: var(--text); transition: color .2s; }
.contact-row dd a:hover { color: var(--accent); }
@media (max-width: 420px) {
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
}
.form {
  border-radius: 18px; border: 1px solid var(--line-10); background: var(--surface);
  padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px;
}
.form h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.form-status {
  border-radius: 10px; padding: 14px 16px; font-size: 15px; line-height: 1.5;
  border: 1px solid rgba(241,78,151,0.4); background: rgba(241,78,151,0.08);
}
.form-status.is-error { border-color: rgba(255,106,42,0.45); background: rgba(255,106,42,0.08); }
.form-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-4); }
.field input, .field textarea {
  width: 100%; border-radius: 10px; border: 1px solid var(--line-12);
  background: var(--bg); color: var(--text); font-size: 16px; outline: none;
  transition: border-color .2s;
}
.field input { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--text); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.map-section { padding-top: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 24px; }
.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.map-head h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; font-weight: 500; }
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-10); height: clamp(320px, 45vw, 480px); background: var(--surface-2); }
.map-frame { position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; position: relative; z-index: 1; opacity: 0; transition: opacity .5s; }
.map-frame.is-loaded iframe, .no-js .map-frame iframe { opacity: 1; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--text-4); font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  background:
    linear-gradient(var(--line-07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line-07) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--surface-2);
}
.map-placeholder svg { color: var(--accent, #F14E97); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-08); background: var(--bg-footer); }
.footer-top {
  padding-top: 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px;
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer-brand img { height: 24px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: var(--muted-2); padding-left: 24px; border-left: 1px solid var(--line-10); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-size: 14px; color: var(--text-4); transition: color .2s; }
.footer-nav a:hover { color: #FFFFFF; }
.footer-bottom {
  margin-top: 28px; padding: 18px 0 24px; border-top: 1px solid var(--line-07);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  font-size: 13px; color: var(--muted-2);
}
.footer-bottom a { color: var(--text-2); border-bottom: 1px solid var(--line-20); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: #FFFFFF; border-color: #FFFFFF; }
@media (max-width: 560px) {
  .footer-tagline { padding-left: 0; border-left: 0; }
}

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }

/* ---------- hover only on devices that hover ---------- */
@media (hover: hover) {
  .svc-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
  .process-grid li:hover { background: rgba(255,255,255,0.02); }
  .mat-tab:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
  .pe-tab:hover { border-color: rgba(255,255,255,0.35); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-copy { opacity: 1; transform: none; }
}
