/* SUBJAK GROUP — styles */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* palette from the logo */
  --ink: #0A0A0B;
  --graphite: #121113;
  --wine: #1C0A0C;
  --red: #F2262C;          /* logo red — marks and accents on dark */
  --red-surface: #D81F26;  /* red as a field / button, keeps white text ≥ 4.5:1 */
  --bone: #F3EFEA;
  --white: #FFFFFF;

  /* chrome theme (header, pill) — switched by JS to the section under the header */
  --bg: var(--ink);
  --fg: #F5F2EF;
  --muted: #A39C99;
  --line: rgba(255, 255, 255, .12);
  --accent: var(--red);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --header-h: 76px;
  --pt: clamp(120px, 18vh, 200px);   /* section top padding */
  --pb: clamp(96px, 14vh, 160px);    /* section bottom padding */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: #F5F2EF;
  font-family: var(--font);
  font-stretch: 100%;
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

::selection { background: var(--red); color: var(--white); }
* { caret-color: var(--red); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #3a3436 var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3a3436; border-radius: 10px; border: 2px solid var(--ink); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--red-surface); color: var(--white); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
.h2 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
  max-width: 18ch;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem);
  line-height: 1.5;
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- section themes + colour bridges ----------
   Each section paints its own background and blends from the previous section's colour
   at its top edge. The colour journey is pure CSS, so scrolling never repaints or restyles it. */
[data-theme] {
  --from: var(--sec-bg);
  --blend: 40vh;
  background: linear-gradient(to bottom, var(--from) 0, var(--sec-bg) var(--blend)) var(--sec-bg);
  color: var(--sec-fg);
  --muted: var(--sec-muted);
  --line: var(--sec-line);
  --accent: var(--sec-accent, var(--red));
}
[data-theme="ink"]      { --sec-bg: var(--ink);      --sec-fg: #F5F2EF; --sec-muted: #A39C99; --sec-line: rgba(255,255,255,.12); }
[data-theme="wine"]     { --sec-bg: var(--wine);     --sec-fg: #F7EDEC; --sec-muted: #C4A9A7; --sec-line: rgba(255,220,220,.14); }
[data-theme="graphite"] { --sec-bg: var(--graphite); --sec-fg: #F5F2EF; --sec-muted: #A7A09D; --sec-line: rgba(255,255,255,.12); }
[data-theme="red"]      { --sec-bg: var(--red-surface); --sec-fg: #FFFFFF; --sec-muted: #FFFFFF; --sec-line: rgba(255,255,255,.34); --sec-accent: #FFFFFF; }
[data-theme="bone"]     { --sec-bg: var(--bone);     --sec-fg: #141113; --sec-muted: #5B5452; --sec-line: rgba(20,17,19,.14); --sec-accent: #B5151B; }

#pristup    { --from: var(--ink); }
#sluzby     { --from: var(--wine); }
#metody     { --from: var(--graphite); --blend: var(--pt); }
#odvetvia   { --from: var(--bone); --blend: var(--pt); }
#spolupraca { --from: var(--ink); --blend: 34vh; }
#kariera    { --from: var(--red-surface); --blend: 30vh; }
#kontakt    { --from: var(--ink); --blend: var(--pt); }
.foot       { --from: var(--bone); --blend: 72px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  color: var(--fg);
  transition: transform .6s var(--ease-out), color .4s;
}
.top.is-hidden { transform: translateY(-110%); }
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  opacity: 0; transition: opacity .4s, background-color .4s;
}
.top.is-scrolled::before { opacity: .94; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; }
.brand-mark .r { fill: var(--red); }
.brand-word { display: grid; line-height: 1; font-stretch: 125%; }
.brand-word span:first-child { font-weight: 800; font-size: 1.02rem; letter-spacing: .14em; }
.brand-word span:last-child { font-weight: 600; font-size: .7rem; letter-spacing: .5em; color: var(--red); margin-top: 4px; }
.top-right { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  border: 0; background: none; cursor: pointer;
  font-size: .72rem; font-weight: 700; font-stretch: 115%; letter-spacing: .08em;
  min-width: 36px; height: 30px; border-radius: 999px; color: var(--muted);
  transition: color .3s, background-color .3s;
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.menu-btn {
  display: none; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: none; border-radius: 999px;
  height: 40px; padding: 0 8px 0 16px; cursor: pointer;
  font-size: .78rem; font-weight: 700; font-stretch: 115%; letter-spacing: .08em; text-transform: uppercase;
}
.menu-btn-icon { display: grid; gap: 5px; width: 26px; height: 26px; place-content: center; border-radius: 50%; background: var(--fg); }
.menu-btn-icon i { display: block; width: 12px; height: 1.5px; background: var(--bg); transition: transform .4s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu {
  --fg: #F5F2EF; --bg: var(--ink); --muted: #A39C99; --line: rgba(255,255,255,.14);
  position: fixed; inset: 0; z-index: 35;
  background: var(--ink); color: #F5F2EF;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; gap: 4px; }
.menu nav a {
  text-decoration: none; font-stretch: 125%; font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; letter-spacing: -.02em;
}
.menu nav a:hover { color: var(--red); }
.menu-foot { display: grid; justify-items: start; gap: 10px; color: #A39C99; }
.menu-foot .lang { margin-bottom: 12px; }
.menu-foot a { text-decoration: none; }

/* ---------- floating section pill (liquid glass, desktop only) ---------- */
.pill {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  translate: -50% 0;
  display: flex; gap: 2px; padding: 5px;
  border-radius: 999px;
  background: rgba(24, 20, 22, .62);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 30px -12px rgba(0, 0, 0, .6);
  color: #D6CFCC;
  transition: translate .7s var(--ease-out), opacity .5s;
}
.pill.is-hidden { translate: -50% 140%; opacity: 0; }
.pill a {
  position: relative; z-index: 1;
  text-decoration: none; font-size: .8rem; font-weight: 600; font-stretch: 110%;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  transition: color .4s;
}
.pill a:hover, .pill a.is-active { color: #fff; }
.pill-ind {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px; background: var(--red-surface);
  transition: transform .7s var(--ease-out), width .7s var(--ease-out), opacity .4s;
  opacity: 0;
}

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-size: .82rem; font-weight: 700; font-stretch: 118%; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s, transform .35s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn-small { --h: 40px; padding: 0 18px; font-size: .74rem; }
.btn-red { background: var(--red-surface); color: #fff; }
.btn-red:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: color-mix(in srgb, currentColor 35%, transparent); color: inherit; }
.btn-ghost:hover { background: #F5F2EF; color: var(--ink); border-color: #F5F2EF; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #fff; color: var(--ink); }
.btn-ghost-ink { border-color: rgba(20,17,19,.3); color: #141113; background: none; }
.btn-ghost-ink:hover { background: #141113; color: #fff; }

/* ---------- 1 · hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 2vh, 24px);
  padding: calc(var(--header-h) + clamp(16px, 4vh, 56px)) var(--gutter) clamp(40px, 7vh, 72px);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 60%, rgba(242, 38, 44, .26), rgba(242, 38, 44, .07) 55%, transparent 75%),
    var(--ink);
}
.hero-title {
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.3rem, .9rem + 5.2vw, 6rem);
  line-height: .94; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--red); }

.hero-mark { position: relative; display: grid; place-items: center; }
.mark3d { perspective: 1100px; }
.mark-body { position: relative; transform: rotateX(8deg) rotateY(-14deg); will-change: transform; }
.mark-body svg { height: clamp(200px, 40vh, 440px); width: auto; overflow: visible; }
/* sparks fly outside the mark, so the canvas overhangs it */
.sparks { position: absolute; left: -40%; top: -30%; width: 180%; height: 160%; pointer-events: none; }

/* the weld seam between the chevrons; resting state = a cooled weld with stainless heat tint */
.seam line { fill: none; stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 0; }
.seam-heat { stroke: #FF8A3A; stroke-width: 18; opacity: 0; }
.seam-tint { stroke: url(#g-tint); stroke-width: 6; opacity: .8; }
.seam-hot { stroke: #FFFFFF; stroke-width: 6; opacity: 0; }
.mark-shadow {
  position: absolute; left: 50%; bottom: -4px; translate: -50% 0;
  width: min(360px, 52vw); height: 34px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent);
}
.hero-foot { display: grid; justify-items: center; gap: 22px; }
.hero-lead { color: var(--muted); max-width: 60ch; font-size: clamp(1rem, .96rem + .3vw, 1.2rem); text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 32px;
  display: flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 700; font-stretch: 118%; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); writing-mode: vertical-rl;
}
.hero-scroll i { display: block; width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: drip 2.4s var(--ease-out) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- 2 · manifest ---------- */
.manifest { padding: var(--pt) 0 var(--pb); }
.manifest-text {
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.8rem, 1rem + 7.4vw, 9rem);
  line-height: .92; letter-spacing: -.035em;
  max-width: 12ch; text-wrap: balance;
}
.manifest-sub {
  margin-top: clamp(20px, 3vh, 36px);
  font-stretch: 108%; font-weight: 600;
  font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.35;
  color: var(--muted); max-width: 34ch;
}
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(64px, 10vh, 120px);
}
.principle { border-top: 1px solid var(--line); padding-top: 22px; }
.principle h2 { font-stretch: 125%; font-weight: 800; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); letter-spacing: -.01em; margin-bottom: 10px; }
.principle h2::before, .careers-list li::before, .marquee-row i {
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='431 350 309 318'%3E%3Cpolygon points='445,350 551,350 740,469 431,668 431,470 494,509 494,550 629,466'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='431 350 309 318'%3E%3Cpolygon points='445,350 551,350 740,469 431,668 431,470 494,509 494,550 629,466'/%3E%3C/svg%3E") center / contain no-repeat;
}
.principle h2::before { content: ""; display: inline-block; width: .62em; height: .72em; margin-right: .45em; vertical-align: -.02em; }
.principle p { color: var(--muted); max-width: 34ch; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 7vh, 80px); }

/* ---------- 3 · services bento ---------- */
.services { padding: var(--pt) 0 var(--pb); }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(230px, 27vh);
  gap: 14px;
}
.t-tig     { grid-column: 1 / 3; grid-row: 1 / 3; }
.t-orb     { grid-column: 3 / 5; grid-row: 1; }
.t-mont    { grid-column: 3;     grid-row: 2; }
.t-team    { grid-column: 4;     grid-row: 2; }
.t-eu      { grid-column: 1 / 3; grid-row: 3; }
.t-contact { grid-column: 3 / 5; grid-row: 3; }

.tile {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 16px; padding: clamp(18px, 2vw, 28px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.tile h3 { font-stretch: 122%; font-weight: 800; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.05; letter-spacing: -.02em; }
.tile p { font-size: .98rem; line-height: 1.5; max-width: 40ch; }
.tile-photo img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.85) contrast(1.08) brightness(.78);
  transition: transform 1.2s var(--ease-out);
}
.tile-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 6, 7, .75), rgba(60, 8, 10, .12) 55%, transparent);
}
.tile-body { color: #fff; }
.tile-body p { color: rgba(255, 255, 255, .86); }
.glass {
  border-radius: 14px; padding: 16px 18px;
  background: rgba(22, 16, 18, .58);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -14px rgba(0, 0, 0, .6);
}
.tile-red { background: var(--red-surface); color: #fff; justify-content: space-between; }
.tile-red p { color: #fff; }
.tile-icon { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tile-ink { background: var(--ink); border: 1px solid var(--line); justify-content: space-between; }
.tile .tile-giant {
  font-stretch: 125%; font-weight: 800; color: var(--red);
  font-size: clamp(5rem, 3rem + 7vw, 10.5rem); line-height: .8; letter-spacing: -.04em;
}
.tile .tile-caption { font-stretch: 112%; font-weight: 700; font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); color: #F5F2EF; }
.tile-bone { background: var(--bone); color: #141113; }
.tile-bone p { color: #4d4547; }
.tile-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: .8rem; font-weight: 700; font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #B5151B; }
.tile-link:hover .i { transform: translateX(4px); }

@media (hover: hover) and (min-width: 901px) {
  .tile-photo:hover img { transform: scale(1.05); }
  /* liquid glass only where a GPU can afford it */
  .glass { background: rgba(22, 16, 18, .42); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
}

.tile-codes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tile-codes span {
  font-size: .72rem; font-weight: 700; font-stretch: 112%; letter-spacing: .06em;
  padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-variant-numeric: tabular-nums;
}
.tile-link.light { color: #fff; }

/* ---------- 4 · methods: a periodic table of welding ---------- */
.methods { padding: var(--pt) 0 var(--pb); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--gc); }
.g1 { --gc: #7A6E69; }
.g2 { --gc: #D81F26; }
.g3 { --gc: #141113; }

.ptable { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.el {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; height: 100%; min-height: clamp(220px, 30vh, 300px);
  display: grid; grid-template-rows: auto 1fr auto auto; align-content: start; gap: 6px;
  padding: 18px 18px 20px; text-align: left; cursor: pointer;
  background: #fff; color: #141113;
  border: 1px solid rgba(20, 17, 19, .1); border-top: 4px solid var(--gc); border-radius: 14px;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.el::before {
  /* the arc light that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 196, 120, .55), rgba(242, 38, 44, .18) 45%, transparent 70%);
  transition: opacity .35s;
}
.el-n { font-size: .8rem; font-weight: 700; font-stretch: 110%; color: var(--gc); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.el-sym { font-stretch: 125%; font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; align-self: end; }
.el-name { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.el-use { font-size: .82rem; color: #6A6164; line-height: 1.3; }
.el::after {
  /* selected tick */
  content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D81F26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.el[aria-pressed="true"] { background: var(--red-surface); color: #fff; border-color: var(--red-surface); border-top-color: #fff; }
.el[aria-pressed="true"] .el-n, .el[aria-pressed="true"] .el-use { color: rgba(255,255,255,.88); }
.el[aria-pressed="true"]::after { transform: scale(1); }
.el:active { transform: scale(.97); }
@media (hover: hover) {
  .el:hover { background: #141113; color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(20, 10, 12, .55); }
  .el:hover::before { opacity: 1; }
  .el:hover .el-use { color: rgba(255,255,255,.75); }
  .el:hover .el-n { color: #FFB27A; }
  .el[aria-pressed="true"]:hover { background: #B8161C; }
}

.pick-bar {
  position: sticky; bottom: 16px; z-index: 5;
  display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: #141113; color: #fff;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.pick-bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1101px) { .pick-bar { bottom: 84px; } } /* clears the floating section pill */
.pick-text { flex: 1 1 200px; font-size: .92rem; color: rgba(255,255,255,.7); }
.pick-text strong { color: #fff; font-variant-numeric: tabular-nums; }
.pick-clear { border: 0; background: none; color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.pick-clear:hover { color: #fff; }

/* ---------- 5 · industries (giant type) ---------- */
.industries { padding: var(--pt) 0 var(--pb); overflow: hidden; }
.ind-title { font-stretch: 112%; font-weight: 700; font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem); letter-spacing: -.01em; max-width: 30ch; color: var(--muted); }
.marquee { margin-top: clamp(32px, 6vh, 64px); display: grid; gap: .1em; }
.marquee-row {
  display: flex; align-items: center; gap: .32em; width: max-content;
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(3.4rem, 1.6rem + 8vw, 10rem); line-height: 1; letter-spacing: -.035em;
  white-space: nowrap; will-change: transform;
}
.marquee-row i { display: inline-block; flex: none; width: .42em; height: .44em; }
.marquee-row.outline span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.ind-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 5 · europe ---------- */
.europe { position: relative; }
html.motion .europe { height: 220vh; }
.europe-pin {
  position: sticky; top: 0; min-height: 100svh;
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: var(--header-h);
}
.europe-copy { display: grid; gap: 24px; }
.facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 40px; margin-top: 12px; }
.facts dt { font-size: .72rem; font-weight: 700; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-stretch: 112%; font-weight: 700; font-size: 1.1rem; margin-top: 4px; }
.europe-map { position: relative; height: min(84svh, 760px); }
.europe-map::before {
  content: ""; position: absolute; inset: 10% 0 0 20%;
  background: radial-gradient(closest-side, rgba(242, 38, 44, .16), transparent);
}
.europe-map canvas { position: relative; width: 100%; height: 100%; }

/* ---------- 6 · process ---------- */
.process { position: relative; }
.process-pin { padding: var(--pt) 0 var(--pb); }
.process-title { padding: 0 var(--gutter); max-width: 20ch; }
.process-track { display: grid; gap: 48px; padding: 56px var(--gutter) 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px clamp(20px, 3vw, 44px); }
.process-bar { display: none; }
@media (min-width: 901px) {
  html.motion .process-pin {
    position: sticky; top: 0; height: 100svh; overflow: hidden;
    display: grid; grid-template-rows: auto auto; align-content: center;
    padding: var(--header-h) 0 clamp(96px, 14vh, 130px);
  }
  html.motion .process-track { display: flex; align-items: stretch; gap: clamp(20px, 3vw, 44px); padding-top: 7vh; width: max-content; will-change: transform; }
  html.motion .steps { display: flex; }
  html.motion .step, html.motion .process-cta { width: clamp(280px, 30vw, 440px); }
  html.motion .process-cta { border-left: 1px solid var(--line); border-top: 0; padding: 0 0 0 clamp(20px, 3vw, 44px); margin: 0; }
  html.motion .process-bar { display: block; }
}
.step { border-top: 2px solid rgba(255,255,255,.9); padding-top: 26px; display: grid; align-content: start; gap: 14px; }
.step-n {
  font-stretch: 125%; font-weight: 800; font-size: clamp(3.5rem, 2rem + 4vw, 6rem); line-height: .9; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85);
}
.step h3 { font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.02em; }
.step p { max-width: 30ch; font-size: 1.06rem; }
.process-cta { display: grid; align-content: center; justify-items: start; gap: 22px; border-top: 1px solid var(--line); padding-top: 32px; }
.process-cta p { font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.02; letter-spacing: -.02em; }
.process-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 8vh, 72px); height: 2px; background: rgba(255,255,255,.25); }
.process-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- 7 · careers ---------- */
.careers { padding: var(--pt) 0 var(--pb); }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.careers-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #1b181a; isolation: isolate; }
.careers-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.08) brightness(.8); }
.careers-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 6, 7, .8), transparent 55%); }
.roles { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; color: #fff; }
.roles-title { width: 100%; font-size: .72rem; font-weight: 700; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 2px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: .9rem; font-weight: 600; }
.careers-copy { display: grid; gap: 22px; justify-items: start; }
.careers-list-title { margin-top: 12px; font-size: .74rem; font-weight: 700; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.careers-list { display: grid; width: 100%; max-width: 520px; }
.careers-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-stretch: 108%; font-weight: 600; font-size: 1.08rem; }
.careers-list li::before { content: ""; flex: none; width: 12px; height: 13px; }
.careers-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* ---------- 8 · contact ---------- */
.contact { padding: var(--pt) 0 var(--pb); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 40px); }
.contact-list { display: grid; margin-top: 18px; }
.contact-list div { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .72rem; font-weight: 700; font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-stretch: 112%; font-weight: 700; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); margin-top: 4px; }
.contact-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }

.form-wrap { background: #fff; color: #141113; border-radius: 16px; padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 30px 60px -30px rgba(40, 10, 12, .28); }
.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.form-title { font-stretch: 125%; font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field[hidden] { display: none; }
.field label, .seg legend { font-size: .74rem; font-weight: 700; font-stretch: 115%; letter-spacing: .1em; text-transform: uppercase; color: #3d3638; }
.field small { font-weight: 500; letter-spacing: .04em; text-transform: none; color: #6b6365; font-size: .78rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #141113;
  background: #F6F3F0; border: 1px solid #E2DCD7; border-radius: 12px;
  padding: 14px 16px; min-height: 52px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6E6668; }
.field input:hover, .field textarea:hover { border-color: #CFC6C0; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(242, 38, 44, .14); }
.field.has-err input, .field.has-err textarea { border-color: #B5151B; background: #FFF6F5; }
.err { color: #B5151B; font-size: .86rem; font-weight: 600; }
.err:empty { display: none; }

.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 10px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid #E2DCD7; background: #F6F3F0; font-size: .92rem; font-weight: 600;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s;
}
.seg label:hover span { border-color: #CFC6C0; }
.seg input:checked + span { background: #141113; color: #fff; border-color: #141113; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.consent { display: grid; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input {
  appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px;
  border: 1.5px solid #BDB3AE; background: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease-out); }
.check input:checked { background: var(--red-surface); border-color: var(--red-surface); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.privacy summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: #4d4547; width: max-content; max-width: 100%; list-style: none; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; color: var(--red-surface); }
.privacy[open] summary::before { content: "−"; }
.privacy p { margin-top: 10px; font-size: .86rem; color: #4d4547; max-width: 70ch; }
.btn-submit { justify-self: start; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }

.form-ok { display: grid; justify-items: start; gap: 16px; padding: 24px 0; }
.form-ok[hidden] { display: none; }
.ok-mark { width: 56px; color: #141113; }
.form-ok h3 { font-stretch: 125%; font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; }
.form-ok p { color: #4d4547; }
.form-ok:focus { outline: none; }

/* ---------- footer ---------- */
.foot { padding: clamp(120px, 16vh, 180px) 0 clamp(96px, 12vh, 120px); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot-tag { font-stretch: 112%; font-weight: 600; font-size: 1.1rem; color: var(--muted); max-width: 40ch; }
.foot-up { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .78rem; font-weight: 700; font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; }
.foot-up:hover .i { transform: translateY(-4px); }
.foot-word {
  margin: clamp(40px, 8vh, 80px) 0 clamp(28px, 5vh, 48px);
  font-stretch: 125%; font-weight: 800;
  font-size: clamp(2.6rem, 10.4vw, 11rem); line-height: .85; letter-spacing: -.03em;
  display: grid; white-space: nowrap;
}
.foot-word span { color: var(--red); position: relative; justify-self: start; }
/* a weld bead runs under the wordmark when it comes into view */
.foot-word span::after {
  content: ""; position: absolute; left: .04em; right: .04em; bottom: -.12em; height: .06em; border-radius: 1em;
  background: linear-gradient(90deg, #D9B46A, #A9643C 50%, #5B66A0);
  transform-origin: left; transform: scaleX(1);
}
html.motion .foot-word span::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .3s; }
html.motion .foot-word.in span::after { transform: scaleX(1); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: #F5F2EF; }

/* ---------- reveal (content is visible by default; JS only animates it in) ---------- */
html.motion .rv { opacity: 0; transform: translateY(24px); }
html.motion .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }

/* headings rise word by word out of a mask */
html.motion [data-mask] .wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .1em; margin: -.14em 0 -.1em; }
html.motion [data-mask] .wm > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
html.motion [data-mask].in .wm > span { transform: none; }

/* the table assembles cell by cell */
html.motion .ptable li { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
html.motion .ptable.in li { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pill { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(220px, auto); }
  .t-tig     { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
  .t-orb     { grid-column: 1 / 3; grid-row: auto; }
  .t-mont, .t-team { grid-column: auto; grid-row: auto; }
  .t-eu, .t-contact { grid-column: auto; grid-row: auto; }
  /* 3 + 2 cells, both rows full */
  .ptable { grid-template-columns: repeat(6, 1fr); }
  .ptable li { grid-column: span 2; }
  .ptable li:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; --pt: 88px; --pb: 72px; }
  [data-theme] { --blend: 24vh; }
  #kontakt { --blend: var(--pt); }
  .top-cta, .top .lang { display: none; }
  .menu-btn { display: inline-flex; }
  .sec-head { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  html.motion .europe { height: auto; }
  .europe-pin { position: relative; min-height: 0; grid-template-columns: 1fr; padding: var(--pt) 0 var(--pb); }
  .europe-map { height: auto; aspect-ratio: 1000 / 987; }
  .process-track { transform: none !important; }
  .careers-grid { grid-template-columns: 1fr; }
  .careers-photo { aspect-ratio: 4 / 5; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .row { grid-template-columns: 1fr; }
  .foot { padding-top: 96px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .t-tig, .t-orb, .t-mont, .t-team, .t-eu, .t-contact { grid-column: 1; }
  .t-tig { min-height: 360px; }
  .tile-photo { min-height: 300px; }
  .ptable { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ptable li, .ptable li:nth-child(n+4) { grid-column: auto; }
  .ptable li:last-child { grid-column: 1 / -1; }
  .el { min-height: 180px; padding: 14px 14px 16px; }
  .pick-bar { border-radius: 18px; padding: 12px 12px 12px 16px; }
  .pick-bar .btn { width: 100%; }
}
@media (max-width: 560px) {
  .hero { gap: 8px; padding-bottom: 40px; }
  .mark-body svg { height: clamp(150px, 28svh, 260px); }
  .mark-shadow { height: 24px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-scroll { display: none; }
  .brand-word span:first-child { font-size: .92rem; }
  .facts { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
