/* =============================================
   LIVA DESIGN — style.css
   ============================================= */

/* --- Reset & Variables --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #FF5500;
  --orange-dim: #cc4400;
  --black: #0a0a0a;
  --surface: #111111;
  --surface2: #181818;
  --border: #222222;
  --text: #f0f0f0;
  --text-muted: #888;
  --font-primary: 'indivisible', sans-serif;
  --font-secondary: 'poppins', sans-serif;
  --font: 'poppins', sans-serif;
  --nav-h: 60px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* ── Custom cursor ── */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, opacity 0.2s;
    will-change: transform;
    opacity: 0;
  }

  .cursor svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #fff;
    transition: transform 0.15s ease;
  }

  .cursor--hover svg {
    transform: scale(1.25);
  }

  .cursor--click svg {
    transform: scale(0.85);
  }

  .cursor--visible {
    opacity: 1;
  }
}

::selection {
  background: var(--orange);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
}


/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

/* =============================================
   TYPOGRAPHY SYSTEM
   Indivisible  — primary  — display, headings, brand
   Poppins      — secondary — body, UI, navigation
   ============================================= */
.nav__logo,
.hero__headline,
.section__title,
.contact__title,
.service__body h3,
.project__info h3,
.stat__num,
.footer__logo {
  font-family: var(--font-primary);
}

.nav__links a,
.nav__cta,
.hero__tag,
.hero__sub,
.hero__scroll,
.btn,
.section__label,
.service__num,
.service__body p,
.project__info p,
.project__year,
.stat__label,
.about__text,
.badge,
.contact__sub,
.footer__copy,
.mobile-menu a {
  font-family: var(--font-secondary);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 85, 0, 0.04);
  transition: background 0.3s, border-bottom-color 0.3s;
  overflow: hidden;
}

.nav.scrolled {
  background: var(--black);
  border-bottom-color: var(--border);
}

/* Scroll-activated pulse on the nav divider line */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -160px;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 85, 0, 0.5), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.nav.scrolled::after {
  opacity: 1;
  animation: navPulse 3s linear infinite;
}

@keyframes navPulse {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(100vw + 160px));
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav__logo:hover {
  color: var(--orange);
  transition: color 0.2s;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__links li {
  display: flex;
  align-items: center;
}

.nav__links a {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  display: block;
  text-align: center;
  background: var(--orange);
  color: #fff;
  /* padding-top/bottom derived from Poppins OS/2 metrics (ascender 800, descender 200, capHeight 700, UPM 1000)
     so that visible space above caps = visible space below caps at font-size 13px */
  padding: 10.15px 18px 8.85px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav__cta:hover {
  background: var(--orange-dim);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__lang-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
  padding: 0;
  color: var(--text-muted);
  opacity: 0.4;
  transition: color 0.2s, opacity 0.2s;
}

.nav__lang-btn.active {
  color: var(--text);
  opacity: 1;
}

.nav__lang-btn:hover:not(.active) {
  opacity: 0.65;
}

.nav__lang-sep {
  color: var(--border);
  font-size: 10px;
  user-select: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 1px;
}

.nav__hamburger.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__hamburger.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 40px 48px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 20px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--orange);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  /* Three explicit grid zones — all rows fixed px so the composition never shifts on resize.
     480px = the natural middle-row size at the 900px design viewport (100vh - 420px).
     Outer rows 180px each. Total composition: 60(nav) + 180 + 480 + 180 = 900px. */
  display: grid;
  grid-template-rows: 180px 480px 180px;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Zone layout */
.hero__zone-top,
.hero__zone-mid,
.hero__zone-bot {
  position: relative;
  z-index: 1;
}

.hero__zone-top {
  display: flex;
  justify-content: flex-start; /* content starts at left edge */
  align-items: center; /* label centered in 180px zone → center at zone+90px */
  transform: translateY(90px);
}

.hero__zone-mid {
  display: flex;
  justify-content: flex-start; /* content starts at left edge */
  align-items: center; /* headline block centered in 1fr space */
}

.hero__zone-bot {
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
  transform: translateY(-2.5px);
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 85, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 85, 0, 0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 1000px;
  height: 780px;
  background: radial-gradient(ellipse at 70% 20%,
      rgba(255, 85, 0, 0.108) 0%,
      rgba(255, 85, 0, 0.088) 15%,
      rgba(255, 85, 0, 0.062) 30%,
      rgba(255, 85, 0, 0.041) 43%,
      rgba(255, 85, 0, 0.024) 55%,
      rgba(255, 85, 0, 0.011) 68%,
      rgba(255, 85, 0, 0.003) 84%,
      transparent 100%);
  pointer-events: none;
  filter: blur(60px);
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  text-align: left; /* explicit: all inline hero content left-aligns */
}

.hero__label-row {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 60px; /* 1 grid cell — label fills exactly one cell, centered within 180px zone */
  transform: translateY(4px);
}

.hero__tag {
  display: inline-flex;
  align-items: center;     /* flex does the centering — not padding */
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255, 85, 0, 0.3);
  /* min-height keeps badge 25px; padding-top:2 / padding-bottom:0 gives flex room (21px content
     area) so align-items:center actually operates. Text center = 1+2+5+5.5 = 13.5px from badge
     top vs badge center 12.5px → 1px downward shift (subtle Poppins ascender correction). */
  min-height: 25px;
  padding: 3px 14px 0;
  line-height: 1;
  border-radius: 2px;
  background: var(--black);
}

.hero__tag-sub {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.55;
  line-height: 1;
  transform: translateY(1.5px); /* match DESIGN STUDIO 1.5px downward shift so both texts share the same axis */
}

.hero__headline {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.025em;
  margin-bottom: 30px; /* 0.5 grid cell — keeps sub tightly grouped with headline */
}

.accent {
  color: var(--orange);
}

.hero__sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0; /* CTA lives in its own zone — no margin needed */
}

.hero__sub-physical {
  letter-spacing: 0.2em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Both hero CTA buttons: equal fixed width, same border-radius */
/* padding-top: 2px → text center sits 1px below geometric center (subtle Poppins correction).
   Previously 6px (3px below) was too low; 0px (geometric center) was too high. */
.hero__actions .btn {
  width: 180px;
  border-radius: 4px;
  padding-top: 2px;
  padding-bottom: 10px;
}

.hero__actions .btn--ghost {
  transform: translateX(-2px);
}

.hero__scroll {
  position: fixed;
  bottom: 30px;
  right: 48px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  /* Whole widget is interactive so hovering label OR line triggers the effect */
  pointer-events: auto;
  cursor: default;
  user-select: none;
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  /* background-clip: content-box confines the track colour to the 1px content strip */
  background: var(--text-muted);
  background-clip: content-box;
  /* Invisible vertical padding expands the grab area without changing the visual */
  padding: 10px 0;
  box-sizing: content-box;
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  /* 50% of 21px total height = 10.5px, minus 0.5px → sits on the 1px content strip */
  top: calc(50% - 0.5px);
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  /* filter transitions the hover glow; transform transitions the progress position */
  transition: transform 0.08s linear, filter 0.2s ease;
}

/* Hover: only the already-filled orange segment brightens — nothing else changes */
.hero__scroll:hover .hero__scroll-line::after {
  filter: brightness(1.5) drop-shadow(0 0 3px var(--orange));
}

/* Disable all fill transitions while dragging so it tracks the pointer with zero lag */
.hero__scroll-line.is-dragging::after {
  transition: none;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;     /* flex does vertical centering — not padding */
  justify-content: center; /* flex does horizontal centering — not text-align */
  gap: 8px;
  padding: 0 32px;         /* horizontal padding only; vertical space from min-height */
  min-height: 45px;        /* content area = 45 - 2px border = 43px; line-box = 15px → 14px flex-gap each side */
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
  /* 1px transparent border ensures identical box dimensions for all variants.
     .btn--ghost overrides this with a visible border colour. */
  border: 1px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-dim);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--black);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* Optical text nudge: shifts only the submit button text 2px up inside its box.
   padding-bottom: 4px shrinks the flex cross-axis by 4px while min-height holds
   the outer size fixed — net effect is the centered text sits 2px higher. */
.contact__form button[type="submit"] {
  padding-bottom: 7px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}


/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /* height: 1 grid cell (60px) — border(2) + padding(36) + content(22) = 60px.
     Poppins 13px default line-height ≈16px fits inside 22px content area. */
  height: 60px;
  display: flex;
  align-items: center;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}

.marquee .dot {
  color: var(--orange);
  font-size: 5px;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Explicit line-height on every text span so diacritics (Ě Á Ä Č Ý Ř) don't influence
   the flex item's layout height — they overflow the 1em line box but don't shift the row. */
.marquee span:not(.dot),
.marquee--reverse span:not(.dot) {
  line-height: 1;
  padding-top: 1px; /* optical: shifts Poppins cap center to strip center; diacritics unaffected */
  transform: translateY(-1px);
}

.marquee .dot,
.marquee--reverse .dot {
  transform: translateY(-1px);
}


.marquee-wrap--clients {
  margin-top: 48px;
  background: var(--orange);
  border-top: none;
  border-bottom: none;
}

.marquee--reverse {
  color: #fff;
  font-weight: 600;
  gap: 40px;
}

.marquee--reverse .dot {
  color: rgba(255, 255, 255, 0.5);
  font-size: 5px;
}


/* =============================================
   SECTION COMMON
   ============================================= */
.section__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section__header {
  margin-bottom: 72px;
  text-align: left;
}

/* =============================================
   WORK / PROJECTS
   ============================================= */
.work {
  background: var(--black);
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project {
  cursor: pointer;
}

.project__img {
  position: relative;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 20px;
}

.project__img--1,
.project__img--2,
.project__img--3,
.project__img--4 {
  background:
    radial-gradient(ellipse 75% 70% at 50% 50%, rgba(255, 85, 0, 0.20) 0%, rgba(200, 55, 0, 0.08) 50%, transparent 72%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 110, 20, 0.10) 0%, transparent 100%),
    linear-gradient(170deg, #181008 0%, #130d04 55%, #0d0803 100%);
}

/* Subtle grid overlay */
.project__img--1::before,
.project__img--2::before,
.project__img--3::before,
.project__img--4::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 0;
}

.project__img::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border: 1px solid rgba(255, 85, 0, 0.14);
  border-radius: 4px;
  z-index: 0;
}

/* Logo inside project card */
.project__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  max-height: 58%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 24px rgba(255, 85, 0, 0.18));
}

.project__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 85, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project:hover .project__overlay {
  opacity: 1;
}

.project:hover .project__img {
  transform: scale(0.99);
  transition: transform 0.4s;
}

.project__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project__info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.project__info p {
  font-size: 13px;
  color: var(--text-muted);
}

.project__year {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services .section__label,
.production .section__label {
  position: relative;
  left: -2px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service {
  padding: 48px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  gap: 28px;
  align-items: center;
}

.service:hover {
  background: var(--surface2);
}

.service:hover .service__arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

.service__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  padding-top: 4px;
  flex-shrink: 0;
}

.service__body {
  flex: 1;
}

.service__body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.service__body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service__arrow {
  font-size: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

/* =============================================
   PHYSICAL PRODUCTION
   ============================================= */
.production {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.production__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

/* =============================================
   STATS
   ============================================= */
.stats-section {
  padding: 80px 0;
  background: var(--black);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 40px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  position: relative;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.stat__num::after {
  content: '+';
  font-size: 0.5em;
  vertical-align: super;
  position: absolute;
  left: 100%;
  top: 0.05em;
}

.stat__label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Small symbol mark above the heading */
.about__symbol-mark {
  display: block;
  width: 40px;
  fill: var(--orange);
  margin-bottom: 28px;
  opacity: 0.9;
  transform: translateY(-0.5px);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about__left .section__title {
  margin-bottom: 40px;
}

.about__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about__skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.tool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.about__brand-link {
  margin-top: 24px;
  align-self: flex-start;
  padding-top: 1.5px;
  padding-bottom: 14px;
}

.tool-badge {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 5px 10px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.tool-badge:hover {
  border-color: rgba(255, 85, 0, 0.3);
  color: var(--text);
}

/* Founders */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.founder__frame {
  position: relative;
  border-radius: 4px;
  margin-bottom: 16px;
}

.founder__frame::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  padding: 1px;
  background: conic-gradient(
    from var(--orbit-angle),
    transparent 87%,
    rgba(255, 85, 0, 0.5) 92%,
    transparent 97%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: founderOrbit 4s linear infinite;
}

@property --orbit-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes founderOrbit {
  from { --orbit-angle: 0deg; }
  to   { --orbit-angle: 360deg; }
}

.founder__photo {
  aspect-ratio: 1 / 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

/* Grid-texture placeholder — replaced by <img> when photos are ready */
.founder__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 85, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 85, 0, 0.05) 1px, transparent 1px);
  background-size: 10% 10%;
}

.founder__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder__name {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.founder__role {
  font-family: var(--font-secondary);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.badge:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.contact__sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.contact__form {
  text-align: left;
  margin-bottom: 48px;
}

.contact__form button[type="submit"] {
  padding-top: 2px;
  padding-bottom: 0;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field {
  margin-bottom: 16px;
}

.form__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #444;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--orange);
}

.form__field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  padding-top: 13.5px;
  padding-bottom: 14.5px;
}

/* Text nudge: name + email inputs */
#name,
#email {
  padding-top: 13.5px;
  padding-bottom: 14.5px;
}

/* Service select: wrapper + absolute arrow (replaces background-image chevron) */
.form__select-wrap {
  position: relative;
  display: block;
}

.form__select-wrap select {
  background-image: none;
}

.form__select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: var(--text);
  opacity: 0.45;
  transition: opacity 0.2s;
  line-height: 1;
}

.form__select-wrap:hover .form__select-arrow {
  opacity: 0.75;
}

.form__select-wrap:focus-within .form__select-arrow {
  opacity: 1;
  color: var(--orange);
}

.form__field select option,
.form__field select optgroup {
  background: var(--surface2);
  color: var(--text);
}

.form__field select optgroup {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form__field select option {
  background: var(--surface2);
  color: var(--text);
}

.form__field textarea {
  resize: none;
}

.contact__links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

.contact__links a {
  transition: color 0.2s;
}

.contact__links a:hover {
  color: var(--orange);
}

.contact__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact__legal-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}

.contact__legal-ico {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.contact__legal-symbol {
  width: 64px;
  fill: var(--orange);
  margin-top: 20px;
}

.divider {
  color: var(--border);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.footer__logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__company {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.footer__company:hover {
  color: var(--orange);
}

.footer__ico {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer__ico-label {
  color: var(--orange);
}

.footer__ico-num {
  cursor: pointer;
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer__ico-num:hover {
  color: var(--text);
}
.footer__ico-num::after {
  content: 'Copied';
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 8px 2px;
  border-radius: 4px;
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.footer__ico-num.copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.footer__sep {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 12px;
}

.footer__tnc {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer__tnc:hover {
  color: var(--text);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}

.cookie-banner__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner__policy {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-banner__policy:hover {
  color: var(--text);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cookie-banner__btn {
  min-height: 44px;
  font-size: 13px;
  padding: 0 28px;
  width: 160px;
}

#cookieAccept,
#cookieReject {
  padding-top: 0.5px;
  padding-bottom: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 16px;
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    width: auto;
  }
}

/* =============================================
   LV RAIN ANIMATION
   ============================================= */
.lv-rain {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.lv-drop {
  position: absolute;
  top: 0;
  fill: var(--orange);
  will-change: transform, opacity;
  animation: lv-fall var(--dur) var(--delay) linear forwards;
}

@keyframes lv-fall {
  0%   { transform: translateY(var(--start-y)) translateX(0px) rotate(var(--rot)); opacity: var(--peak-opacity); }
  100% { transform: translateY(105vh) translateX(var(--drift)) rotate(var(--rot-end)); opacity: var(--peak-opacity); }
}

.hero__tag {
  cursor: pointer;
  user-select: none;
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .production__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-bottom: 1px solid var(--border);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__skills {
    grid-template-columns: 1fr;
  }

  .founders {
    grid-template-columns: 1fr 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

  .nav__right {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  .service {
    padding: 32px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 28px 20px;
  }

  .contact__inner {
    text-align: left;
  }

  .contact__links {
    justify-content: flex-start;
  }

  .contact__legal {
    align-items: flex-start;
  }


  .mobile-menu {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: 42px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   LEGAL PAGES (privacy-policy, terms)
   ============================================= */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.legal-page__back:hover {
  color: var(--text);
}

.legal-page__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.legal-page__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-page__date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--text);
}

.legal-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-page ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.legal-page ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-page a:hover {
  opacity: 0.75;
}

.legal-page__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 0;
}

.legal-footer {
  padding: 32px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer a:hover {
  color: var(--text);
}

.legal-footer__links {
  display: flex;
  gap: 24px;
}

/* =============================================
   LEGAL LANG BUTTONS
   ============================================= */
.legal-lang-btn {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.legal-lang-btn.active {
  color: var(--orange);
  border-color: var(--orange);
}

.legal-lang-btn:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* =============================================
   HONEYPOT (anti-spam, visually hidden)
   ============================================= */
.form__honeypot {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}