:root {
  --bg: #08090b;
  --bg-soft: #101215;
  --card: #15181c;
  --line: rgba(255, 255, 255, 0.12);
  --text: #e8e5e0;
  --text-soft: #a7a29a;
  --bronze-1: #f0c98e;
  --bronze-2: #c7864a;
  --bronze-3: #7a4a2c;
  --bronze-4: #2b1b13;
  --accent-cyan: #8fe2ff;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-bronze: 0 18px 70px rgba(183, 120, 71, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% -10%, rgba(214, 143, 82, 0.2), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(147, 92, 56, 0.18), transparent 40%),
    linear-gradient(180deg, #050608 0%, #090b0f 40%, #0d0f14 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.02) 0.5px, transparent 0.5px),
    radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.02) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 4px 4px;
  opacity: 0.5;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 28px));
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(10, 12, 15, 0.72), rgba(33, 24, 18, 0.66));
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.brand-text span {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--text-soft);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 11, 15, 0.7);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: absolute;
  top: 74px;
  left: 10px;
  right: 10px;
  border-radius: 20px;
  padding: 14px;
  display: grid;
  gap: 8px;
  background: linear-gradient(130deg, rgba(24, 24, 30, 0.95), rgba(16, 17, 20, 0.95));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 240ms ease, opacity 220ms ease;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-panel a {
  text-decoration: none;
  color: rgba(232, 229, 224, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(10, 11, 15, 0.48);
}

.mobile-menu-panel a:hover {
  color: var(--bronze-1);
}

.mobile-menu-cta {
  color: var(--bronze-1) !important;
  background: linear-gradient(120deg, rgba(240, 201, 142, 0.2), rgba(199, 134, 74, 0.16)) !important;
}

body.menu-open {
  overflow: hidden;
}

.header-button {
  color: var(--bronze-1);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(240, 201, 142, 0.2), rgba(199, 134, 74, 0.16));
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 134, 74, 0.35);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.08) brightness(0.7);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 88%, rgba(255, 176, 97, 0.4), transparent 34%),
    linear-gradient(180deg, rgba(6, 7, 9, 0.18), rgba(6, 7, 10, 0.92) 74%, rgba(7, 8, 12, 0.98));
  z-index: 1;
}

.hero-rings {
  position: absolute;
  inset: auto 50% 80px;
  width: 920px;
  height: 920px;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.hero-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulseRing 8s linear infinite;
}

.hero-rings span:nth-child(2) {
  inset: 10%;
  animation-delay: -2s;
}

.hero-rings span:nth-child(3) {
  inset: 20%;
  animation-delay: -4s;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(140px, 18vh, 220px) 0 80px;
  display: grid;
  gap: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  width: fit-content;
  color: var(--bronze-1);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(4, 5, 8, 0.42);
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(236, 230, 221, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary,
.button-secondary {
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: #140e0a;
  background: linear-gradient(90deg, var(--bronze-1), var(--bronze-2));
  box-shadow: var(--shadow-bronze);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-3px);
}

.button-secondary {
  color: var(--text);
  background: rgba(10, 12, 16, 0.65);
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
  max-width: 860px;
}

.spec-item {
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(10, 11, 15, 0.5);
}

.spec-item strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  color: var(--bronze-1);
  font-weight: 600;
}

.spec-item span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.overlap-section {
  position: relative;
  z-index: 4;
  margin-top: -18vh;
  opacity: 0.88;
  will-change: transform, opacity;
}

.section-shell {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(21, 20, 18, 0.92), rgba(11, 12, 16, 0.88));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45), 0 0 120px rgba(151, 95, 56, 0.24);
  padding: clamp(26px, 4vw, 56px);
}

.section-intro {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.section-intro h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-intro p {
  margin: 0;
  color: var(--text-soft);
  max-width: 900px;
  line-height: 1.8;
}

.bite-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bite-list li {
  position: relative;
  margin: 0;
  padding: 10px 14px 10px 34px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(240, 201, 142, 0.1), rgba(255, 255, 255, 0.02));
  color: var(--text-soft);
  line-height: 1.45;
  font-size: 0.92rem;
}

.bite-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 30% 30%, var(--bronze-1), var(--bronze-2));
  box-shadow: 0 0 18px rgba(199, 134, 74, 0.75);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.video-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 480px;
  background: #0f1014;
}

.video-panel video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.05), rgba(7, 8, 11, 0.66));
}

.video-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(9, 11, 15, 0.64);
  color: var(--bronze-1);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-cards {
  display: grid;
  gap: 14px;
}

.icon-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(183, 120, 71, 0.24);
}

.icon-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
}

.icon-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
}

.icon-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.engineering,
.gallery,
.scalability,
.statement {
  position: relative;
  z-index: 3;
  padding: 90px 0 0;
}

.engineering,
.gallery,
.scalability {
  overflow: clip;
}

.engineering::before,
.gallery::before,
.scalability::before,
.statement::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  top: -12px;
  margin: 0 auto;
  width: min(860px, 92vw);
  height: 190px;
  background: radial-gradient(circle, rgba(199, 134, 74, 0.2), transparent 66%);
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.engineering.section-in-view::before,
.gallery.section-in-view::before,
.scalability.section-in-view::before,
.statement.section-in-view::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.engineering-visual {
  position: relative;
  min-height: clamp(340px, 62vh, 640px);
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 6px);
  background: #0e1014;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48), 0 0 130px rgba(171, 108, 64, 0.26);
}

.engineering-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 65% 18%, rgba(244, 189, 127, 0.26), transparent 40%),
    linear-gradient(180deg, rgba(10, 11, 15, 0.08), rgba(8, 9, 12, 0.78));
}

.engineering-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 10, 14, 0), rgba(9, 10, 14, 0.92));
}

.engineering-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.05) brightness(0.92);
}

.engineering-visual-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.engineering-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.68);
  backdrop-filter: blur(8px);
  color: var(--bronze-1);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-image-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  margin: 0 auto;
  width: min(1260px, 98vw);
  height: 440px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.06) blur(2px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16) 55%, transparent 100%);
}

.section-head {
  position: relative;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(220px, 44%);
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 201, 142, 0.8), rgba(240, 201, 142, 0));
  transform-origin: left center;
  transform: scaleX(0.08);
  opacity: 0;
  transition: transform 880ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms ease;
}

.section-head.reveal.is-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
}

.micro-copy {
  margin: 0;
  color: rgba(232, 225, 213, 0.78);
  max-width: 760px;
  line-height: 1.55;
  font-size: 0.96rem;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  max-width: 900px;
  line-height: 1.8;
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.eng-card {
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(27, 28, 33, 0.8), rgba(17, 18, 22, 0.9));
  padding: 18px;
  transition: transform 200ms ease;
}

.eng-card:hover {
  transform: translateY(-6px);
}

.eng-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(240, 201, 142, 0.24), rgba(199, 134, 74, 0.2));
  color: var(--bronze-1);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.eng-card h3 {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.35;
}

.eng-card p,
.scale-card p {
  margin: 0;
  color: rgba(230, 223, 212, 0.76);
  line-height: 1.55;
  font-size: 0.92rem;
}

.eng-card ul {
  margin: 0;
  padding: 0;
}

.eng-card li,
.scale-card li {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 520ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.eng-card.reveal.is-visible li,
.scale-card.reveal.is-visible li {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.eng-card.reveal.is-visible li:nth-child(1),
.scale-card.reveal.is-visible li:nth-child(1) {
  transition-delay: 120ms;
}

.eng-card.reveal.is-visible li:nth-child(2),
.scale-card.reveal.is-visible li:nth-child(2) {
  transition-delay: 180ms;
}

.eng-card.reveal.is-visible li:nth-child(3),
.scale-card.reveal.is-visible li:nth-child(3) {
  transition-delay: 240ms;
}

.eng-card.reveal.is-visible li:nth-child(4),
.scale-card.reveal.is-visible li:nth-child(4) {
  transition-delay: 300ms;
}

.eng-card.reveal.is-visible li:nth-child(5),
.scale-card.reveal.is-visible li:nth-child(5) {
  transition-delay: 360ms;
}

.eng-card.reveal.is-visible li:nth-child(6),
.scale-card.reveal.is-visible li:nth-child(6) {
  transition-delay: 420ms;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.05), rgba(10, 10, 14, 0.55));
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.66);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scalability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.scale-card {
  border-radius: var(--radius-md);
  padding: 20px;
  background: linear-gradient(130deg, rgba(24, 24, 30, 0.84), rgba(16, 17, 20, 0.84));
}

.scale-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.scale-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.scale-card ul {
  margin: 10px 0 0;
  padding: 0;
}

.post-modular-image {
  position: relative;
  z-index: 3;
  padding: 42px 0 0;
}

.post-modular-visual {
  margin: 0;
  min-height: clamp(320px, 58vh, 640px);
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
  background: #0e1014;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.45), 0 0 120px rgba(171, 108, 64, 0.22);
}

.post-modular-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04) brightness(0.94);
}

.statement {
  padding-bottom: 34px;
}

.statement-box {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(26px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(130deg, rgba(28, 20, 15, 0.9), rgba(10, 12, 17, 0.9));
  box-shadow: 0 20px 90px rgba(104, 61, 35, 0.35);
  position: relative;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(1.42rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
}

.footer-heading p {
  margin: 14px 0 0;
  max-width: 820px;
  color: rgba(233, 228, 219, 0.84);
  line-height: 1.8;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.82fr) minmax(0, 1.16fr);
  gap: 14px;
}

.footer-panel {
  border-radius: var(--radius-md);
  padding: 20px;
  border: none;
  background: linear-gradient(130deg, rgba(24, 24, 30, 0.84), rgba(16, 17, 20, 0.84));
}

.footer-panel h3 {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 228, 219, 0.76);
}

.footer-company {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.03em;
}

.footer-contact-line {
  margin: 0 0 6px;
  color: var(--text-soft);
  line-height: 1.65;
}

.footer-contact-line a {
  color: var(--bronze-1);
  text-decoration: none;
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(232, 229, 224, 0.88);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-radius: 12px;
  border: none;
  background: rgba(10, 11, 15, 0.46);
  padding: 8px 10px;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  transform: translateX(3px);
  color: var(--bronze-1);
}

.contact-form {
  display: grid;
  gap: 9px;
}

.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  color: rgba(233, 228, 219, 0.72);
  font-size: 0.71rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: none;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  background: rgba(7, 8, 11, 0.68);
}

.contact-form textarea {
  resize: vertical;
  min-height: 108px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 201, 142, 0.16);
}

.contact-submit {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--bronze-1);
  background: linear-gradient(120deg, rgba(240, 201, 142, 0.2), rgba(199, 134, 74, 0.16));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 134, 74, 0.35);
}

.contact-status {
  margin: 2px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(232, 229, 224, 0.9);
}

.contact-status.is-success {
  color: #8fd9b0;
}

.contact-status.is-error {
  color: #f1b0a9;
}

.footer-bottom {
  padding-top: 4px;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: rgba(223, 216, 206, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: rgba(232, 229, 224, 0.9);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--bronze-1);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  filter: blur(8px);
  transition: opacity 760ms ease, transform 840ms cubic-bezier(0.16, 1, 0.3, 1), filter 820ms ease;
  will-change: transform, opacity, filter;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-52px, 0, 0) scale(0.985);
}

.reveal[data-reveal="right"] {
  transform: translate3d(52px, 0, 0) scale(0.985);
}

.reveal[data-reveal="zoom"] {
  transform: translate3d(0, 22px, 0) scale(0.91);
  filter: blur(10px);
}

.reveal[data-reveal="blur"] {
  transform: translate3d(0, 24px, 0) scale(0.99);
  filter: blur(15px);
}

.reveal[data-reveal="pop"] {
  transform: translate3d(0, 20px, 0) scale(0.93) rotateX(-4deg);
  filter: blur(7px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 240ms;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.38;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.16;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.38;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-button {
    display: none;
  }

  .hero-specs,
  .media-grid,
  .engineering-grid,
  .gallery-grid,
  .scalability-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item.large {
    grid-row: span 1;
  }

  .video-panel {
    min-height: 360px;
  }

  .section-image-bg {
    height: 320px;
    opacity: 0.13;
  }

  .engineering-visual {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
	.hero h1 {
    margin: 0;
    max-width: 900px;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: clamp(1.8rem, 7vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 18px;
  }

  .hero-content {
    width: calc(100% - 26px);
    padding-top: 126px;
  }

  .section-shell,
  .section-wrap,
  .statement-box {
    width: calc(100% - 22px);
  }

  .footer-shell {
    gap: 20px;
  }

  .footer-panel {
    padding: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .overlap-section {
    margin-top: -11vh;
  }

  .section-image-bg {
    top: 0;
    height: 240px;
    opacity: 0.1;
    filter: saturate(1.04) contrast(1.02) blur(4px);
  }

  .engineering-visual {
    min-height: 360px;
  }

  .post-modular-visual {
    min-height: 320px;
  }

  .engineering-visual-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .engineering-chip {
    padding: 8px 12px;
    font-size: 0.66rem;
  }
	
	.hero{
  position: relative;
  min-height: 100svh; /* mobilni - tačna visina ekrana */
  overflow: hidden;
  background: #000;
}

.hero > video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* KLJUČ: popuni ceo ekran */
  object-position: center; /* centriraj kadar */
  transform: translateZ(0); /* malo glađe renderovanje */
}
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
