/* ==========================================================================
   EMAK Ambalaj — design system
   Ink + brand cyan + kraft (the colour of a film core).
   Display: Archivo (variable width — the type literally stretches)
   Data:    IBM Plex Mono
   ========================================================================== */

:root {
  --ink: #06131b;
  --ink-2: #0b202c;
  --ink-3: #12303f;
  --cyan: #00aeef;
  --cyan-deep: #0079b0;
  --cyan-soft: #d9f3fd;
  --paper: #eef3f4;
  --paper-2: #e3eaec;
  --white: #ffffff;
  --kraft: #c9a47c;
  --text: #0d1f29;
  --mute: #566872;
  --line: rgba(6, 19, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.mono, .eyebrow, .chip, .tag {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cyan-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--cyan); }

.h-xl, .h-lg, .h-md {
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.h-xl { font-size: clamp(3.1rem, 9.4vw, 9.6rem); }
.h-lg { font-size: clamp(2.3rem, 5.4vw, 5rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--mute); max-width: 60ch; }
.dark .lead { color: rgba(255, 255, 255, 0.72); }
.accent { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; font-stretch: 90%; letter-spacing: 0.02em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-primary { background: var(--cyan); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 174, 239, 0.7); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.light .btn-primary:hover, .btn-primary.on-light:hover { background: var(--ink); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line-light); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-stretch: 90%; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; border-bottom: 2px solid var(--cyan); padding-bottom: 4px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.7); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; border-bottom: 1px solid var(--line-light); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a:hover { color: var(--cyan); }
.topbar-left { display: flex; gap: 26px; white-space: nowrap; overflow: hidden; }
.topbar-left span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 174, 239, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); } }
.lang { display: flex; gap: 2px; border: 1px solid var(--line-light); border-radius: 999px; padding: 2px; }
.lang a { padding: 2px 10px; border-radius: 999px; }
.lang a.on { background: var(--cyan); color: var(--ink); font-weight: 600; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(6, 19, 27, 0.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); color: #fff; border-bottom: 1px solid var(--line-light); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.6); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; font-stretch: 92%; letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); color: var(--cyan); }
.nav .caret { width: 10px; height: 10px; transition: transform 0.3s; }
.nav li.open .caret { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; font-size: 13px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-light); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.7); }
.nav li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 40px; height: auto; align-items: start; padding-top: 36px; padding-bottom: 40px; }
.mega h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.mega li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-weight: 500; font-size: 16px; color: rgba(255, 255, 255, 0.82); transition: color 0.2s, padding 0.3s var(--ease); }
.mega li a::after { content: "→"; opacity: 0; transform: translateX(-8px); transition: 0.3s var(--ease); color: var(--cyan); }
.mega li a:hover { color: #fff; padding-left: 8px; }
.mega li a:hover::after { opacity: 1; transform: none; }
.mega-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.mega-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.mega-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 19, 27, 0.1), rgba(6, 19, 27, 0.92)); z-index: -1; }
.mega-card:hover img { transform: scale(1.06); }
.mega-card strong { display: block; font-size: 22px; font-stretch: 70%; text-transform: uppercase; line-height: 1; margin: 6px 0; }
.mega-card small { font-family: var(--mono); font-size: 11px; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- hero ---------- */
.dark { background: var(--ink); color: #fff; }
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 600px at 82% 20%, rgba(0, 174, 239, 0.22), transparent 65%),
  radial-gradient(700px 500px at 0% 100%, rgba(0, 121, 176, 0.18), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px); background-size: 88px 88px; mask-image: radial-gradient(ellipse at 70% 30%, #000 5%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 5%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 22px 0 28px; font-size: clamp(2.7rem, 7vw, 7.4rem); }
.hero h1 .line { white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.2em 0 0.08em; margin-top: -0.2em; }
.hero h1 .line > span { display: inline-block; }
.anim .hero h1 .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.anim .hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.anim .hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }
.stretch { color: var(--cyan); }
.anim .hero h1 .line > .stretch { animation: rise 1s var(--ease) forwards, stretch 5s 1.2s ease-in-out infinite alternate; }
@keyframes stretch { from { font-stretch: 62%; } to { font-stretch: 118%; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.anim .fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 0.9s 0.5s var(--ease) forwards; }
.anim .fade-up.d2 { animation-delay: 0.65s; } .anim .fade-up.d3 { animation-delay: 0.8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-height: 640px; justify-self: end; width: 100%; }
.hero-photo { position: absolute; inset: 6% 4% 6% 10%; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.8); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.anim .hero-photo img { transform: scale(1.12); animation: settle 2.2s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
/* layers of film wrapped around the photo */
.film { position: absolute; inset: 6% 4% 6% 10%; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); border: 1.5px solid rgba(0, 174, 239, 0.55); background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(255, 255, 255, 0.02) 40%, rgba(0, 174, 239, 0.08)); pointer-events: none; }
.anim .film { animation: wrapIn 1.6s var(--ease) both; }
.film.f1 { transform: translate(-22px, 18px) rotate(-3deg); animation-delay: 0.5s; }
.film.f2 { transform: translate(18px, -14px) rotate(2.5deg); animation-delay: 0.7s; border-color: rgba(255, 255, 255, 0.3); }
.film.f3 { transform: translate(-40px, 34px) rotate(-6deg); animation-delay: 0.9s; opacity: 0.5; }
@keyframes wrapIn { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.spec-tag { position: absolute; background: rgba(6, 19, 27, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-light); border-radius: 14px; padding: 14px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.spec-tag b { text-transform: none; display: block; font-family: var(--display); font-stretch: 68%; font-size: 34px; line-height: 1; color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.spec-tag b i { font-style: normal; color: var(--cyan); }
.spec-tag.t1 { left: 0; top: 22%; animation: float 7s ease-in-out infinite; }
.spec-tag.t2 { right: 0; bottom: 16%; animation: float 8s 1s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.spiral { position: absolute; z-index: -1; right: -14%; top: -18%; width: min(900px, 80vw); opacity: 0.16; animation: spin 140s linear infinite; }
.spiral path { fill: none; stroke: var(--cyan); stroke-width: 1.4; }
.anim .spiral path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-light); }
.stat { padding: 26px 24px 30px 0; border-right: 1px solid var(--line-light); padding-left: 24px; }
.stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; }
.stat b { display: block; font-stretch: 66%; font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; }
.stat b sup { font-size: 0.45em; color: var(--cyan); margin-left: 4px; vertical-align: top; position: relative; top: 0.25em; }
.stat span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }

/* marquee */
.marquee { background: var(--cyan); color: var(--ink); overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-stretch: 68%; font-weight: 800; font-size: 22px; text-transform: uppercase; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 68px); }
.section-head h2 { margin-top: 18px; }
.section-head .lead { justify-self: end; }
.white { background: var(--white); }

/* reveal */
.anim .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.anim .reveal.in { opacity: 1; transform: none; }

/* ---------- flagship (pre-stretch) ---------- */
.flag { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.flag-media { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, var(--paper-2)); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.flag-media img { width: 82%; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.flag-media:hover img { transform: scale(1.05) rotate(-2deg); }
.flag-media .badge { position: absolute; top: 22px; left: 22px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.flag-media .ring { position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid var(--cyan); opacity: 0.16; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; line-height: 1.5; }
.checks li::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306131b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.dark .checks li { color: rgba(255, 255, 255, 0.85); }

/* thickness comparison */
.gauge { margin-top: 12px; padding: 26px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.gauge-row { display: grid; grid-template-columns: 150px 1fr 64px; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 0; }
.gauge-bar { height: 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.anim .gauge:not(.in) .gauge-bar i { width: 0; }
.gauge-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: width 1.6s var(--ease); }
.gauge-row.hl .gauge-bar i { background: var(--cyan); }
.gauge-row.hl { color: var(--cyan); }
.gauge-row span:last-child { text-transform: none; text-align: right; }
.gauge p { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; line-height: 1.5; }

/* ---------- product grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; font-stretch: 92%; transition: 0.25s; }
.filters button sup { font-family: var(--mono); font-size: 10px; margin-left: 6px; opacity: 0.6; }
.filters button:hover { border-color: var(--ink); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s; isolation: isolate; }
.white .card { background: var(--paper); }
.card.hide { display: none; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(6, 19, 27, 0.45); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(0, 174, 239, 0.28) 50%, transparent 70%); transform: translateX(-110%); transition: transform 0.9s var(--ease); }
.card:hover .card-media::after { transform: translateX(110%); }
.card-no { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(6, 19, 27, 0.82); color: #fff; font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; letter-spacing: 0.08em; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-deep); }
.card h3 { font-stretch: 72%; font-weight: 800; font-size: 25px; line-height: 1.02; text-transform: uppercase; }
.card p { font-size: 14.5px; line-height: 1.5; color: var(--mute); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11px; padding: 5px 9px; border-radius: 6px; background: var(--cyan-soft); color: #00506f; }
.card-go { position: absolute; right: 16px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform 0.45s var(--ease); }
.card-go svg { width: 16px; height: 16px; }
.card:hover .card-go { transform: none; }
.card.card-cta, .white .card.card-cta { grid-column: span 2; background: var(--ink); color: #fff; padding: 34px; justify-content: center; gap: 14px; background-image: radial-gradient(420px 260px at 100% 0%, rgba(0, 174, 239, 0.35), transparent 70%); }
.card.card-cta h3 { font-size: clamp(28px, 3vw, 44px); max-width: 14ch; }
.card.card-cta p { color: rgba(255, 255, 255, 0.7); flex: none; display: block; font-size: 16px; }
.card.card-cta .card-cat { color: var(--cyan); }
.card.card-cta .btn { align-self: flex-start; margin-top: 10px; }
.card.wide { grid-column: span 2; flex-direction: row; }
.card.wide .card-media { aspect-ratio: auto; flex: 1 1 50%; min-height: 260px; }
.card.wide .card-body { flex: 1 1 50%; justify-content: center; padding: 30px; }
.card.wide h3 { font-size: 36px; }

/* ---------- manufacturing ---------- */
.make { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.make-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.make-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 3 / 4; }
.make-media img:nth-child(2) { margin-top: 48px; }
.timeline { margin-top: 34px; border-top: 1px solid var(--line-light); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.timeline b { font-stretch: 66%; font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--cyan); }
.timeline h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.timeline p { font-size: 15px; color: rgba(255, 255, 255, 0.65); line-height: 1.55; }
.light .timeline, .light .timeline li { border-color: var(--line); }
.light .timeline p { color: var(--mute); }
.light .timeline b { color: var(--cyan-deep); }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.35s, color 0.35s; position: relative; overflow: hidden; }
.sector:hover { background: var(--ink); color: #fff; }
.sector svg { width: 34px; height: 34px; stroke: var(--cyan-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: stroke 0.35s, transform 0.5s var(--ease); }
.sector:hover svg { stroke: var(--cyan); transform: translateY(-4px); }
.sector h3 { font-stretch: 72%; font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.sector p { font-size: 14.5px; color: var(--mute); line-height: 1.5; transition: color 0.35s; }
.sector:hover p { color: rgba(255, 255, 255, 0.7); }
.sector .n { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-light); }
.calc-in { padding: clamp(24px, 4vw, 48px); display: grid; gap: 26px; }
.calc-out { padding: clamp(24px, 4vw, 48px); background: linear-gradient(150deg, var(--cyan), #0090d6); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.16); }
.field label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin-bottom: 12px; }
.field output { text-transform: none; color: var(--cyan); font-weight: 600; font-size: 14px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan) var(--p, 50%), rgba(255, 255, 255, 0.14) var(--p, 50%)); outline-offset: 8px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--cyan); cursor: grab; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--cyan); cursor: grab; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-light); font-size: 13px; font-weight: 600; transition: 0.2s; }
.seg button.on { background: #fff; color: var(--ink); border-color: #fff; }
.calc-big { font-stretch: 64%; font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.85; position: relative; z-index: 1; }
.calc-big small { font-size: 0.3em; font-stretch: 90%; margin-left: 8px; }
.calc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; position: relative; z-index: 1; }
.calc-meta b { display: block; font-family: var(--display); font-size: 22px; font-stretch: 75%; letter-spacing: 0; text-transform: none; }
.calc-note { font-size: 12.5px; opacity: 0.75; line-height: 1.5; position: relative; z-index: 1; }

/* ---------- eco ---------- */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eco-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; isolation: isolate; }
.eco-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.eco-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 19, 27, 0) 20%, rgba(6, 19, 27, 0.94) 82%); }
.eco-card:hover img { transform: scale(1.06); }
.eco-card h3 { font-stretch: 70%; font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 0.98; margin: 10px 0 12px; }
.eco-card p { font-size: 15px; color: rgba(255, 255, 255, 0.78); line-height: 1.5; margin-bottom: 18px; }
.eco-card .tag { font-size: 11px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.14em; }
.eco-card .link-arrow { align-self: flex-start; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(80px, 11vw, 160px) 0; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.32; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(6, 19, 27, 0.5), var(--ink) 78%); }
.cta h2 { max-width: 14ch; margin: 20px auto 26px; }
.cta .lead { margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 90% 0%, rgba(0, 174, 239, 0.22), transparent 65%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 30px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span::before { content: "/"; margin-right: 10px; opacity: 0.5; }
.page-hero h1 { margin: 18px 0 22px; max-width: 16ch; }
.p-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.8); }
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero .chips { margin-top: 26px; gap: 8px; }
.p-hero .chip { background: rgba(0, 174, 239, 0.14); color: var(--cyan); border: 1px solid rgba(0, 174, 239, 0.35); font-size: 11.5px; padding: 8px 12px; }

/* product body */
.p-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.p-main > * + * { margin-top: clamp(44px, 6vw, 80px); }
.block h2 { margin: 14px 0 22px; }
.block > p { color: #2b3f4a; max-width: 68ch; }
.block > p + p { margin-top: 16px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; border-top: 1px solid var(--line); }
.feat li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.feat li::before { content: counter(f, decimal-leading-zero); counter-increment: f; font-family: var(--mono); font-size: 12px; color: var(--cyan-deep); padding-top: 4px; }
.feat { counter-reset: f; }
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.variant { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.variant img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.variant div { padding: 22px; }
.variant h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; margin-bottom: 10px; }
.variant p, .variant li { font-size: 15px; color: var(--mute); line-height: 1.55; }
.variant p + p { margin-top: 10px; }
.variant ul { margin-top: 10px; display: grid; gap: 6px; }
.variant li::before { content: "— "; color: var(--cyan-deep); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; cursor: zoom-in; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; position: relative; }
.media-frame video, .media-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.3s, transform 0.8s var(--ease); }
.yt:hover img { opacity: 0.95; transform: scale(1.03); }
.yt i { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(0, 174, 239, 0.25); transition: transform 0.3s var(--ease); }
.yt:hover i { transform: scale(1.1); }
.yt i::after { content: ""; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13.5px; }
caption { text-align: left; padding: 18px 20px; font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 20px; border-bottom: 1px solid var(--line); }
th { text-align: left; padding: 13px 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); background: var(--paper); white-space: nowrap; position: sticky; top: 0; }
td { padding: 12px 20px; border-top: 1px solid var(--line); white-space: nowrap; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: var(--cyan-soft); }
td:first-child { font-weight: 600; color: var(--cyan-deep); }
.table-scroll { max-height: 520px; overflow-y: auto; }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }
.aside-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 34px solid rgba(0, 174, 239, 0.18); pointer-events: none; }
.aside-card h3 { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 0.98; margin-bottom: 12px; }
.aside-card p { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; line-height: 1.5; }
.aside-card .btn { width: 100%; justify-content: center; position: relative; z-index: 1; }
.aside-card .btn + .btn { margin-top: 10px; }
.spec-list { background: var(--white); border-radius: var(--radius-lg); padding: 10px 26px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list div:last-child { border: 0; }
.spec-list dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- about / contact / order ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.prose p { font-size: 1.12rem; line-height: 1.7; color: #2b3f4a; }
.prose p + p { margin-top: 20px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.white .value, .white .contact-card { background: var(--paper); }
.value b { font-family: var(--mono); font-size: 12px; color: var(--cyan-deep); letter-spacing: 0.1em; }
.value h3 { font-stretch: 72%; font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; margin: 40px 0 12px; }
.value p { color: var(--mute); font-size: 15.5px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 6px; min-height: 220px; }
.contact-card svg { width: 30px; height: 30px; stroke: var(--cyan-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.contact-card small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 26px; }
.contact-card a, .contact-card p { font-weight: 700; font-size: 19px; font-stretch: 88%; line-height: 1.35; }
.contact-card a:hover { color: var(--cyan-deep); }
.map { border-radius: var(--radius-lg); overflow: hidden; height: 480px; background: var(--paper-2); margin-top: 18px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 44px); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color 0.2s, background 0.2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--cyan); background: #fff; }
.form-note { font-size: 13px; color: var(--mute); line-height: 1.5; }
.form-ok { display: none; grid-column: 1 / -1; background: var(--cyan-soft); color: #00506f; padding: 14px 18px; border-radius: 12px; font-size: 14.5px; }
.form-ok.show { display: block; }
.bank { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.bank h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 26px; margin-bottom: 16px; }
.bank dl { margin: 0; display: grid; gap: 0; }
.bank div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-light); font-size: 14px; }
.bank dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.bank dd { margin: 0; font-family: var(--mono); text-align: right; }
.steps { display: grid; gap: 0; margin-top: 26px; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--cyan-deep); padding-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: clamp(56px, 7vw, 96px) 0 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 56px; }
.footer .logo img { height: 46px; margin-bottom: 20px; }
.footer p { font-size: 14.5px; line-height: 1.6; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.7; }
.footer-word { font-stretch: 125%; font-weight: 900; font-size: 23.5vw; line-height: 0.74; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(0, 174, 239, 0.55); letter-spacing: -0.02em; user-select: none; margin-bottom: -0.04em; transition: font-stretch 1.2s var(--ease); white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 20px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 19, 27, 0.94); display: none; place-items: center; padding: 4vw; cursor: zoom-out; }
.lightbox.show { display: grid; animation: fadeUp 0.3s both; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .p-body { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  /* a backdrop-filter would trap the fixed menu panel inside the header */
  .header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-panel { visibility: hidden; }
  .menu-open .nav-panel { visibility: visible; }
  .hero-grid > *, .flag > *, .make > *, .split > *, .p-hero > * { min-width: 0; }
  .header-cta .btn { display: none; }
  .nav-panel { position: fixed; inset: 0; top: 0; background: var(--ink); padding: 100px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform 0.5s var(--ease), visibility 0.5s; z-index: -1; }
  .menu-open .nav-panel { transform: none; }
  .menu-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { border-bottom: 1px solid var(--line-light); }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 28px; font-stretch: 70%; font-weight: 800; text-transform: uppercase; border-radius: 0; background: none !important; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; }
  .nav li.open .mega { display: block; }
  .mega .wrap { grid-template-columns: 1fr; gap: 22px; padding: 6px 0 26px; }
  .mega-card { display: none; }
  .hero-grid, .flag, .make, .calc, .split, .p-hero, .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .hero-visual { max-width: 460px; justify-self: center; }
  .eco { grid-template-columns: 1fr; }
  .eco-card { min-height: 360px; }
  .values, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar-left span:nth-child(n + 2) { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card.wide { grid-column: span 2; flex-direction: column; }
  .card.wide .card-media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .card.wide h3 { font-size: 28px; }
  .card h3 { font-size: 20px; }
  .card-body { padding: 14px; }
  .card p { display: none; }
  .card.wide p { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px 22px 0 !important; border-bottom: 1px solid var(--line-light); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 18px !important; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sector { padding: 22px 18px; }
  .sector h3 { font-size: 21px; }
  .feat { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .gauge-row { grid-template-columns: 96px 1fr 50px; font-size: 10.5px; gap: 10px; }
  .spec-tag b { font-size: 26px; }
  .make-media img:nth-child(2) { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
