/* ==========================================================================
   Calirad — Smarter Safety
   ========================================================================== */

:root {
  --red: #ff2700;
  --red-soft: #ff5532;
  --ink: #09090b;
  --onyx: #141519;
  --onyx-2: #1c1e23;
  --paper: #f3f0ea;
  --muted: rgba(243, 240, 234, 0.58);
  --faint: rgba(243, 240, 234, 0.32);
  --line: rgba(243, 240, 234, 0.14);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ink);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

html.is-loading,
html.is-loading body { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--red); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--red); color: var(--ink); padding: 10px 14px; font-family: var(--mono); font-size: 12px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.84;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.red { color: var(--red); }
em { font-style: normal; color: var(--red); }

.wrap { padding-inline: var(--gutter); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.tag::before {
  content: ""; width: 8px; height: 8px; background: var(--red); border-radius: 50%;
}

.split-line { padding-bottom: 0.04em; }

/* ---------- serpentine pattern (from the original hairpin background) ---------- */
.pattern {
  background-color: var(--onyx);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='72' viewBox='0 0 150 72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.035' stroke-width='4'%3E%3Cpath d='M26 -6H120A24 24 0 0 1 120 42H26A12 12 0 0 0 26 66'/%3E%3Cpath d='M26 0H120A18 18 0 0 1 120 36H26A18 18 0 0 0 26 72'/%3E%3Cpath d='M26 6H120A12 12 0 0 1 120 30H26A24 24 0 0 0 26 78'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 72px;
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

/* ---------- logo ---------- */
.mark { width: 100%; height: auto; color: var(--red); overflow: visible; }
.logo {
  display: inline-flex; align-items: center; gap: 12px; color: var(--paper);
}
.logo .mark { width: 34px; height: 34px; flex: none; transition: transform .8s var(--ease); }
.logo:hover .mark { transform: rotate(-360deg); }
.logo .wm { width: 112px; height: auto; aspect-ratio: 3994 / 737; fill: currentColor; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .7s var(--ease), background-color .5s, backdrop-filter .5s;
}
.header::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px;
  background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease);
}
.header.is-scrolled { background: rgba(9, 9, 11, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header.is-scrolled::after { transform: scaleX(1); }
.header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a, .nav button {
  position: relative; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--paper); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .nav__num { color: var(--red); margin-right: 6px; }

.nav__drop { position: relative; }
.nav__drop-btn::after { content: " +"; color: var(--red); }
.nav__drop-menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px;
  background: var(--onyx-2); border: 1px solid var(--line); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .4s var(--ease);
}
.nav__drop:hover .nav__drop-menu,
.nav__drop:focus-within .nav__drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav__drop-menu a { display: flex; justify-content: space-between; padding: 12px 12px; }
.nav__drop-menu a::after { display: none; }
.nav__drop-menu a:hover { background: var(--red); color: var(--ink); }

.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
html.menu-open .menu-btn span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
html.menu-open .menu-btn span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--red); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out);
}
html.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(34px, 11vw, 64px); line-height: 1; padding: 6px 0;
  border-bottom: 1px solid rgba(9, 9, 11, .18);
}
.mobile-menu .mm-sub { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- cursor (detection box) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 30px; height: 30px; opacity: 0; transition: opacity .3s;
  will-change: transform, width, height;
}
.cursor.is-on { opacity: 1; }
.cursor i { position: absolute; width: 8px; height: 8px; border: 1.5px solid var(--paper); transition: border-color .3s; }
.cursor i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.cursor i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.cursor i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.cursor i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.cursor__label {
  position: absolute; left: -1px; bottom: calc(100% + 4px); white-space: nowrap;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: var(--ink); padding: 2px 5px; opacity: 0; transform: translateY(4px);
  transition: opacity .3s, transform .3s var(--ease);
}
.cursor.is-hover i { border-color: var(--red); }
.cursor.is-hover .cursor__label:not(:empty) { opacity: 1; transform: none; }
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 201; pointer-events: none; width: 4px; height: 4px;
  margin: -2px 0 0 -2px; background: var(--red); border-radius: 50%; opacity: 0;
}
.cursor-dot.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary { cursor: none; }

/* ---------- preloader & curtain ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 250; background: var(--ink);
  display: grid; place-items: center;
}
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader .mark { width: clamp(120px, 18vw, 200px); }
.preloader__mark-path { stroke-dasharray: 120; stroke-dashoffset: 120; }
.preloader__count {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--muted);
  display: flex; gap: 18px;
}
.preloader__count b { color: var(--paper); font-weight: 500; min-width: 3ch; text-align: right; }
.preloader__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.preloader__red { position: absolute; inset: 0; background: var(--red); transform: translateY(100%); }
html:not(.js) .preloader,
html.no-preload .preloader { display: none; }

.curtain {
  position: fixed; inset: 0; z-index: 240; pointer-events: none; display: grid; place-items: center;
  background: var(--red); transform: translateY(100%);
}
.curtain .mark { width: 64px; color: var(--ink); }
html.curtain-in .curtain { transform: none; }

/* failsafe: if the animation scripts never boot (e.g. a CDN is blocked), get out of the way */
html.js:not(.cr-booted) .preloader { animation: cr-failsafe-fade .4s 3s forwards; }
html.curtain-in:not(.cr-booted) .curtain { animation: cr-failsafe-up .6s 2s forwards; }
@keyframes cr-failsafe-fade { to { opacity: 0; visibility: hidden; } }
@keyframes cr-failsafe-up { from { transform: none; } to { transform: translateY(-100%); } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden;
  padding: 18px 26px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  isolation: isolate; transition: color .5s var(--ease), border-color .5s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--red); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--red); color: var(--ink); border-color: var(--red); }
.btn--solid::before { background: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* ---------- roll links (letters swap on hover) ---------- */
.roll { display: inline-flex; overflow: hidden; vertical-align: top; }
.roll .ch { display: inline-block; position: relative; transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.roll .ch::after { content: attr(data-ch); position: absolute; left: 0; top: 100%; color: var(--red); }
.roll:hover .ch { transform: translateY(-100%); }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero { position: relative; height: 230svh; background: var(--ink); }
.hero__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas { width: 100% !important; height: 100% !important; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(9,9,11,.92) 0%, rgba(9,9,11,.35) 34%, rgba(9,9,11,0) 60%),
    linear-gradient(to bottom, rgba(9,9,11,.75) 0%, rgba(9,9,11,0) 22%),
    radial-gradient(120% 90% at 50% 40%, rgba(9,9,11,0) 55%, rgba(9,9,11,.6) 100%);
}
.hero__scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 3px);
}
.hero__content {
  position: absolute; inset: auto var(--gutter) clamp(24px, 5vh, 56px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 2vh, 24px);
}
.hero__content .hero__sub { grid-row: 1; }
.hero__title {
  font-size: clamp(56px, 14vw, 290px);
  line-height: 0.8;
  margin-left: -0.04em;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__sub {
  display: flex; justify-content: space-between; align-items: end; gap: 18px;
}
.hero__sub p { font-size: clamp(15px, 1.25vw, 19px); max-width: 22ch; color: var(--paper); order: 2; text-align: right; }

.hud {
  position: absolute; inset: calc(var(--header-h) + 8px) var(--gutter) auto var(--gutter);
  display: flex; justify-content: space-between; gap: 16px; pointer-events: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.hud__col { display: grid; gap: 6px; align-content: start; }
.hud__col--r { text-align: right; justify-items: end; }
.hud .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.hud .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud b { color: var(--paper); font-weight: 500; }
.hud__legend { display: flex; align-items: center; gap: 8px; }
.hud__legend i { display: block; width: 90px; height: 6px; background: linear-gradient(90deg, #ff2700, #ff7800, #ffd600, #78e678, #00c8ff, #1e5aff, #1414aa); }
.hud__legend.is-mono i { background: linear-gradient(90deg, #ff2700 0 30%, #f3f0ea 30% 100%); }

.hero__frame { position: absolute; inset: calc(var(--header-h) - 4px) calc(var(--gutter) - 8px) 14px; pointer-events: none; }
.hero__frame i { position: absolute; width: 18px; height: 18px; border: 1px solid rgba(243,240,234,.4); }
.hero__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hero__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hero__frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hero__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { position: relative; width: 1px; height: 38px; background: var(--line); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2; background: var(--red); color: var(--ink); overflow: hidden;
  padding-block: clamp(10px, 1.4vw, 18px); border-block: 1px solid rgba(0,0,0,.2);
}
.marquee__row { display: flex; width: max-content; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); padding-right: clamp(18px, 2.4vw, 40px);
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em;
  font-size: clamp(34px, 6vw, 96px); line-height: 1;
}
.marquee__item .mark { width: .62em; height: .62em; color: var(--ink); }
.marquee__item .o { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

/* ---------- values (horizontal) ---------- */
.values { position: relative; background: var(--ink); overflow: hidden; }
.values__track { display: flex; height: 100svh; width: max-content; }
.v-panel {
  position: relative; flex: none; height: 100%; width: min(78vw, 1180px);
  display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--header-h) + 24px) clamp(24px, 4vw, 64px) clamp(36px, 7vh, 72px);
  border-left: 1px solid var(--line);
}
.v-panel__top { display: flex; justify-content: space-between; align-items: center; }
.v-panel__num {
  position: absolute; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%);
  font-weight: 900; font-stretch: 125%; font-size: clamp(160px, 30vw, 460px); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,.12); pointer-events: none; user-select: none;
}
.v-panel__title { align-self: end; font-size: clamp(54px, 9.6vw, 176px); margin-bottom: clamp(20px, 3vh, 40px); position: relative; }
.v-panel__title .char { display: inline-block; }
.v-panel__text { max-width: 44ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--muted); position: relative; }
.v-panel__text::first-line { color: var(--paper); }
.v-panel--img { width: min(70vw, 1100px); padding: 0; border: 0; display: block; overflow: hidden; }
.v-panel--img figure { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0); }
.v-panel--img img { position: absolute; inset: 0; width: 125%; max-width: none; height: 100%; object-fit: cover; left: -12.5%; }
.v-panel--img .v-panel__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,9,11,.0) 40%, rgba(9,9,11,1) 100%), linear-gradient(to top, rgba(9,9,11,.7), transparent 40%); }
.v-panel--img .v-panel__cap { position: absolute; left: clamp(24px, 4vw, 64px); bottom: clamp(36px, 7vh, 72px); }
.v-panel--end { width: 18vw; border-left: 1px solid var(--line); }
.values__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 1px; background: var(--line); z-index: 3; }
.values__progress i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* ---------- about ---------- */
.about { position: relative; background: var(--ink); }
.about__hero { position: relative; height: 120svh; overflow: hidden; display: grid; align-items: end; }
.about__hero figure { position: absolute; inset: -26% 0 -2% 0; }
.about__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.about__hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(9,9,11,.1) 24%, rgba(9,9,11,.12) 46%, rgba(9,9,11,.62) 70%, var(--ink) 96%),
    linear-gradient(to right, rgba(9,9,11,.45) 0%, rgba(9,9,11,0) 55%);
}
.about__title { position: relative; z-index: 2; padding: 0 var(--gutter) 12vh; font-size: clamp(64px, 14.5vw, 280px); }
.about__title .line { display: block; overflow: hidden; }
.about__title .tag { display: flex; margin-bottom: 26px; color: var(--paper); font-size: 12px; }
.about__title .line > span { text-shadow: 0 .04em .3em rgba(9,9,11,.35); }

.about__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px);
  padding: clamp(40px, 8vh, 100px) var(--gutter) clamp(60px, 12vh, 160px);
}
.about__media { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.cv-frame { position: relative; overflow: hidden; border-radius: 4px; background: #000; }
.cv-frame img { width: 100%; height: auto; filter: saturate(.9) contrast(1.05); }
.cv-frame__scan {
  position: absolute; left: 0; right: 0; height: 26%; top: -30%;
  background: linear-gradient(to bottom, rgba(255,39,0,0), rgba(255,39,0,.22) 85%, rgba(255,39,0,.9) 100%);
  mix-blend-mode: screen; animation: scan 3.6s var(--ease-in-out) infinite;
}
@keyframes scan { to { top: 110%; } }
.cv-frame__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cv-frame__hud { position: absolute; inset: 12px; display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #fff; text-transform: uppercase; }
.cv-frame__hud span { background: rgba(9,9,11,.65); padding: 3px 6px; }
.cv-frame__hud .rec::before { content: "● "; color: var(--red); }
.about__media-cap { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); }

.about__copy { display: grid; gap: clamp(28px, 4vh, 44px); padding-top: 2vh; }
.about__lead { font-size: clamp(26px, 2.9vw, 46px); line-height: 1.12; font-weight: 600; font-stretch: 112%; letter-spacing: -0.02em; }
.about__copy p:not(.about__lead) { font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); max-width: 46ch; }
.about__copy .p-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.about__copy .p-row .mono { color: var(--red); padding-top: 6px; }

.about__quote {
  position: relative; padding: clamp(60px, 14vh, 180px) var(--gutter);
  font-size: clamp(34px, 5.4vw, 96px); line-height: 1.02; font-weight: 800; font-stretch: 118%;
  letter-spacing: -0.035em; text-transform: none; max-width: 22ch; box-sizing: content-box;
}
.about__quote .word { will-change: opacity; }
.about__outro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px);
  padding: 0 var(--gutter) clamp(80px, 16vh, 200px);
}
.about__outro p { grid-column: 2; font-size: clamp(19px, 1.7vw, 27px); line-height: 1.35; max-width: 34ch; }

/* ---------- why ---------- */
.why { position: relative; height: 260svh; }
.why__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-content: center; }
.why__inner {
  position: relative; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 110px); align-items: stretch;
}
.why__trackwrap { position: relative; min-height: 280px; }
.why__track { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.why__track path { fill: none; stroke-linecap: butt; }
.why__car { transition: opacity .4s; }
.why__car-pulse { transform-box: fill-box; transform-origin: center; animation: carPulse 1.6s var(--ease) infinite; }
@keyframes carPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.why__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 5vh, 60px); }
.why__head h2 { font-size: clamp(26px, 3.4vw, 54px); font-stretch: 125%; }
.why__head .line { flex: 1; height: 1px; background: var(--line); }
.why__text {
  font-size: clamp(30px, min(4.3vw, 6.3vh), 86px); line-height: 1.02; font-weight: 800; font-stretch: 118%; letter-spacing: -0.035em;
}
.why__text .word { opacity: .13; }

/* ---------- mission / vision ---------- */
.mv { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; padding: calc(var(--header-h) + 6vh) var(--gutter) 10vh; }
.mv__bg { position: absolute; inset: 0; overflow: hidden; }
.mv__bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.mv__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,9,11,.85), rgba(9,9,11,.35) 40%, rgba(9,9,11,.85)); }
.mv__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.mv__card {
  position: relative; display: grid; align-content: space-between; gap: 40px; min-height: clamp(380px, 62vh, 620px);
  padding: clamp(24px, 3vw, 46px); border-radius: 18px; overflow: hidden;
  background: rgba(14, 14, 17, .55); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(243, 240, 234, .14); transform-style: preserve-3d; will-change: transform;
}
.mv__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 39, 0, .22), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.mv__card:hover::before { opacity: 1; }
.mv__card-top { display: flex; justify-content: space-between; align-items: center; }
.mv__card h3 { font-size: clamp(54px, 8.4vw, 150px); }
.mv__card p { font-size: clamp(20px, 2vw, 32px); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; max-width: 24ch; }

/* ---------- contacts ---------- */
.contacts { position: relative; padding: clamp(100px, 18vh, 200px) 0 clamp(40px, 8vh, 80px); }
.contacts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-inline: var(--gutter); }
.contacts__head h2 { font-size: clamp(64px, 13vw, 250px); }
.contacts__mail {
  display: block; margin: clamp(20px, 4vh, 48px) var(--gutter) 0; padding-block: clamp(16px, 3vh, 34px);
  border-block: 1px solid var(--line);
  font-weight: 800; font-stretch: 125%; letter-spacing: -0.04em; font-size: clamp(30px, 7.6vw, 150px); line-height: 1;
}
.contacts__mail .roll .ch { transition-duration: .7s; }
.contacts__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 90px);
  padding: clamp(40px, 8vh, 90px) var(--gutter) 0;
}
.contacts__img { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 1428 / 872; align-self: start; }
.contacts__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.contacts__info { display: grid; gap: clamp(30px, 5vh, 56px); align-content: start; }
.contacts__list li { border-bottom: 1px solid var(--line); }
.contacts__list li > * { display: flex; align-items: center; gap: 18px; padding: 20px 0; font-size: clamp(17px, 1.45vw, 22px); }
.contacts__list a { transition: color .4s, padding .6s var(--ease); }
.contacts__list a:hover { color: var(--red); padding-left: 10px; }
.contacts__list a .go { margin-left: auto; font-family: var(--mono); font-size: 14px; transition: transform .6s var(--ease); }
.contacts__list a:hover .go { transform: rotate(-45deg); }
.ico {
  width: 26px; height: 26px; flex: none; background: var(--red);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.ico--company { --src: url(../img/ic-company.png); }
.ico--location { --src: url(../img/ic-location.png); }
.ico--mail { --src: url(../img/ic-mail.png); }
.ico--group { --src: url(../img/ic-group.png); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.logos__zicer { display: inline-block; padding: 6px; transition: transform .6s var(--ease); }
.logos__zicer:hover { transform: translateY(-4px); }
.logos__zicer img { width: 124px; height: auto; }
.logos__eu { background: #fff; border-radius: 10px; padding: 10px 14px; width: min(100%, 440px); }
.logos__eu img { width: 100%; height: auto; }

.projects { padding: clamp(70px, 14vh, 150px) var(--gutter) 0; }
.projects__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.projects__head h3 { font-size: clamp(30px, 4vw, 64px); font-stretch: 125%; }
.project-row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px;
  padding: clamp(18px, 3.4vh, 36px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.project-row:hover::before { transform: scaleY(1); }
.project-row:hover { color: var(--ink); }
.project-row .mono { color: var(--red); transition: color .4s; padding-left: 8px; }
.project-row:hover .mono { color: var(--ink); }
.project-row__title { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.035em; font-size: clamp(28px, 5.6vw, 104px); line-height: 1; transition: transform .7s var(--ease); }
.project-row:hover .project-row__title { transform: translateX(14px); }
.project-row__arrow { font-size: clamp(28px, 4vw, 64px); padding-right: 10px; transition: transform .7s var(--ease); }
.project-row:hover .project-row__arrow { transform: rotate(-45deg); }

/* ---------- footer ---------- */
.footer { position: relative; padding: clamp(60px, 12vh, 120px) 0 0; overflow: hidden; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-inline: var(--gutter); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__nav a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--red); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.to-top span { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.to-top:hover span { background: var(--red); color: var(--ink); border-color: var(--red); }
.footer__giant { position: relative; margin-top: clamp(40px, 8vh, 90px); padding-inline: var(--gutter); }
.footer__giant svg { width: 100%; height: auto; overflow: visible; }
.footer__giant .wm-fill { fill: url(#stripeFill); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding: 18px var(--gutter) 22px; color: var(--faint); }

/* ==========================================================================
   PROJECT PAGES (Croatian)
   ========================================================================== */
.p-hero { position: relative; min-height: 100svh; display: grid; align-content: end; padding: calc(var(--header-h) + 40px) var(--gutter) clamp(30px, 6vh, 64px); overflow: hidden; }
.p-hero__stage { position: absolute; inset: 0; }
.p-hero__stage canvas { width: 100% !important; height: 100% !important; }
.p-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--ink) 4%, rgba(9,9,11,.55) 45%, rgba(9,9,11,.2) 75%, rgba(9,9,11,.75) 100%); }
.p-hero__content { position: relative; display: grid; gap: clamp(22px, 4vh, 40px); }
.p-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(9,9,11,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chip b { color: var(--red); font-weight: 500; }
.p-hero__title { font-size: clamp(38px, 6.4vw, 118px); line-height: .9; max-width: 15ch; text-wrap: balance; }
.p-hero__title .line { overflow: hidden; display: block; }
.p-hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.eu-plate { display: inline-flex; background: #fff; border-radius: 10px; padding: 10px 14px; }
.eu-plate img { width: clamp(220px, 24vw, 340px); height: auto; }
.eu-plate--dark { background: transparent; border: 1px solid var(--line); padding: 14px 18px; }

.p-section { padding: clamp(70px, 14vh, 150px) var(--gutter); position: relative; }
.p-section + .p-section { padding-top: 0; }
.p-head { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(28px, 5vh, 56px); }
.p-head h2 { font-size: clamp(34px, 5.4vw, 96px); }
.p-head .line { flex: 1; height: 1px; background: var(--line); }

.v-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.v-article { display: grid; gap: clamp(40px, 7vh, 80px); }
.v-block { display: grid; grid-template-columns: 70px 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.v-block .mono { color: var(--red); padding-top: 10px; }
.v-block h2 { font-size: clamp(28px, 3.2vw, 52px); margin-bottom: 18px; font-stretch: 125%; }
.v-block p { font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); max-width: 60ch; }
.v-block p strong { color: var(--paper); font-weight: 600; }
.v-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.data-card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 2.4vw, 34px); background: linear-gradient(160deg, rgba(255,39,0,.10), rgba(255,39,0,0) 40%), var(--onyx); }
.data-card h3 { font-size: clamp(22px, 1.9vw, 30px); font-stretch: 125%; margin-bottom: 18px; }
.data-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.data-row dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.data-row dd { margin: 0; font-size: 18px; font-weight: 600; }
.data-row--big dd { font-size: clamp(26px, 2.2vw, 36px); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.data-row--big dd .red { font-size: .6em; }
.data-card .btn { margin-top: 22px; width: 100%; justify-content: center; }
.meter { position: relative; height: 6px; background: rgba(243,240,234,.1); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.meter i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--v, 0)); }

/* news accordion */
.news { display: grid; }
.news-item { border-top: 1px solid var(--line); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item summary {
  list-style: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 36px);
  padding: clamp(18px, 3vh, 30px) 0; cursor: pointer; position: relative;
}
.news-item summary::-webkit-details-marker { display: none; }
.news-thumb { width: clamp(64px, 8vw, 120px); aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--onyx-2); display: grid; place-items: center; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-thumb .mark { width: 46%; }
.news-item summary:hover .news-thumb img { transform: scale(1.08); }
.news-date { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 8px; }
.news-title { font-size: clamp(20px, 2.4vw, 40px); line-height: 1.08; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.news-toggle { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.news-toggle i { position: relative; display: inline-block; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.news-toggle i::before, .news-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.news-toggle i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.news-item summary:hover .news-toggle i { background: var(--red); border-color: var(--red); color: var(--ink); }
.news-item[open] .news-toggle i { transform: rotate(180deg); }
.news-item[open] .news-toggle i::after { transform: translate(-50%, -50%) rotate(0deg); }
.news-body { overflow: hidden; }
.news-body__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 60px); padding: 4px 0 clamp(28px, 5vh, 50px); }
.news-body__inner.is-text-only { grid-template-columns: minmax(0, 1fr); max-width: 80ch; }
.news-body img { width: 100%; height: auto; border-radius: 12px; }
.news-body p { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); }
.news-body p + p, .news-body ul + p { margin-top: 16px; }
.news-body ul { margin-top: 16px; display: grid; gap: 0; }
.news-body li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.news-body li::before { content: "→"; color: var(--red); }

.eu-banner { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 54px); border-radius: 22px; background: var(--paper); color: var(--ink); }
.eu-banner img { width: clamp(220px, 28vw, 420px); height: auto; }
.eu-banner p { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.4; max-width: 52ch; }
.eu-banner strong { font-weight: 800; }

.p-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 28px var(--gutter) 30px; border-top: 1px solid var(--line); }
.p-footer .mono { color: var(--muted); }

/* spinoff */
.s-tagline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.s-tagline .display { font-size: clamp(54px, 10vw, 190px); color: var(--red); }
.s-tagline span.s-sub { font-family: var(--mono); font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .12em; text-transform: uppercase; }
.s-intro { font-size: clamp(18px, 1.6vw, 24px); max-width: 52ch; color: var(--paper); }
.s-name { font-size: clamp(26px, 3.4vw, 58px); line-height: 1.04; font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; max-width: 26ch; }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.card3 { position: relative; display: grid; align-content: start; gap: 22px; padding: clamp(24px, 2.6vw, 40px); border-radius: 18px; border: 1px solid var(--line); background: var(--onyx); min-height: clamp(340px, 50vh, 480px); overflow: hidden; transition: border-color .5s; }
.card3:hover { border-color: rgba(255,39,0,.6); }
.card3__sym { font-size: clamp(54px, 6vw, 96px); line-height: 1; color: var(--red); font-family: var(--mono); transition: transform 1s var(--ease); }
.card3:hover .card3__sym { transform: rotate(-12deg) scale(1.1); }
.card3 h3 { font-size: clamp(26px, 2.6vw, 42px); font-stretch: 125%; }
.card3 p { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }

.team-photo { position: relative; height: 92svh; overflow: hidden; margin-inline: var(--gutter); border-radius: 22px; }
.team-photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(104,22,22,.55), rgba(9,9,11,0) 55%); mix-blend-mode: multiply; }
.team-photo__link { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 2; display: flex; justify-content: space-between; align-items: end; }
.team-photo__link .display { font-size: clamp(54px, 9vw, 170px); }
.team-photo__link .arr { display: grid; place-items: center; width: clamp(64px, 7vw, 110px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--ink); font-size: clamp(28px, 3vw, 46px); transition: transform .8s var(--ease); }
.team-photo__link:hover .arr { transform: rotate(45deg); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); }
.article__lead h3 { font-size: clamp(32px, 4.4vw, 78px); line-height: .95; margin-bottom: 26px; }
.article__body { display: grid; gap: 22px; }
.article__body p { color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); }
.article__body p:first-child { color: var(--paper); font-size: clamp(19px, 1.6vw, 25px); line-height: 1.4; }
.article figure { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; }
.article figure img { width: 100%; height: auto; }

.two-img { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); }
.two-img figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.two-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

.team-list { display: grid; }
.team-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: clamp(22px, 4vh, 40px) 0; border-top: 1px solid var(--line); align-items: start; }
.team-row:last-child { border-bottom: 1px solid var(--line); }
.team-row .mono { color: var(--red); padding-top: 8px; }
.team-row h3 { font-size: clamp(26px, 3vw, 50px); font-stretch: 125%; }
.team-row .role { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.team-row p { color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); }

.contact-big { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); }
.contact-big > div { border-top: 1px solid var(--line); padding-top: 22px; }
.contact-big .mono { color: var(--muted); display: block; margin-bottom: 14px; }
.contact-big p, .contact-big a { font-size: clamp(24px, 3.2vw, 54px); font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1.05; }
.contact-big a:hover { color: var(--red); }

.nextgen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.nextgen img { width: clamp(220px, 24vw, 320px); height: auto; }
.nextgen p { font-style: italic; color: var(--muted); }

/* fitted headlines must not widen their grid/flex tracks */
[data-fit] { min-width: 0; max-width: 100%; }
.mv__card, .v-panel { grid-template-columns: minmax(0, 1fr); }

/* reveal helpers (JS adds .is-in) */
[data-reveal] { will-change: transform, opacity; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .hero { height: 190svh; }
  .hero__sub { display: none; }
  .hud__col--r .hud__legend, .hud .hide-sm { display: none; }

  .values__track { flex-direction: column; height: auto; width: 100%; }
  .v-panel { width: 100%; height: auto; min-height: 78svh; border-left: 0; border-top: 1px solid var(--line); padding-top: 56px; }
  .v-panel--img { height: 70svh; min-height: 0; }
  .v-panel--img img { width: 100%; left: 0; }
  .v-panel--end, .values__progress { display: none; }
  .v-panel__num { font-size: 52vw; top: 40%; }

  .about__hero { height: 90svh; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; }
  .about__outro { grid-template-columns: 1fr; }
  .about__outro p { grid-column: 1; }

  .why { height: 200svh; }
  .why__inner { grid-template-columns: minmax(0, 1fr); }
  .why__trackwrap { min-height: 0; height: clamp(110px, 18svh, 190px); margin-top: clamp(20px, 4vh, 36px); }

  .mv__grid { grid-template-columns: 1fr; }
  .mv__card { min-height: 0; }

  .contacts__grid { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 40px 1fr auto; }

  .v-grid { grid-template-columns: 1fr; }
  .v-aside { position: relative; top: 0; }
  .v-block { grid-template-columns: 1fr; gap: 6px; }
  .news-item summary { grid-template-columns: auto 1fr; }
  .news-toggle { grid-column: 1 / -1; justify-self: start; }
  .news-body__inner { grid-template-columns: 1fr; }
  .eu-banner { grid-template-columns: 1fr; }

  .cards3 { grid-template-columns: 1fr; }
  .card3 { min-height: 0; }
  .team-photo { height: 64svh; }
  .article { grid-template-columns: 1fr; }
  .two-img { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; gap: 10px; }
  .contact-big { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hud__col--r { display: none; }
  .hero__title { font-size: 17.5vw; }
  .about__copy .p-row { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
  .contacts__head h2 { font-size: 17vw; }
}

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