:root {
  --page: #070707;
  --surface: #10100e;
  --ink: #f3f0e8;
  --muted: #b2b0a8;
  --quiet: #7f817b;
  --line: rgba(255, 255, 255, 0.1);
  --dark: #070707;
  --dark-soft: #11110f;
  --gold: #c9a24d;
  --gold-light: #f3d88b;
  --gold-soft: rgba(201, 162, 77, 0.12);
  --steel: #9a9f9f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(201, 162, 77, 0.08), transparent 30rem),
    radial-gradient(circle at 84% 34%, rgba(201, 162, 77, 0.04), transparent 34rem),
    radial-gradient(circle at 50% 78%, rgba(201, 162, 77, 0.025), transparent 36rem),
    linear-gradient(135deg, #020202 0%, #080806 45%, #030303 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.is-loading {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(90deg, rgba(201, 162, 77, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 162, 77, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle, rgba(243, 216, 139, 0.22) 0 0.8px, transparent 1.6px),
    radial-gradient(circle, rgba(201, 162, 77, 0.16) 0 0.7px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 0.6px, transparent 1.4px);
  background-position: 0 0, 0 0, 0 0, 0 0, 22px 18px, 42px 58px, 96px 30px;
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, 118px 118px, 176px 176px, 242px 242px;
  opacity: 0.32;
  animation: gridParticleDrift 42s linear infinite;
}

body::after {
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 162, 77, 0.075), transparent 22rem),
    radial-gradient(circle at 84% 64%, rgba(201, 162, 77, 0.035), transparent 24rem),
    linear-gradient(120deg, transparent, rgba(201, 162, 77, 0.018), transparent);
  opacity: 0.62;
  animation: ambientGlow 22s ease-in-out infinite alternate;
}

.ambient-particles {
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(243, 216, 139, 0.28) 0 0.9px, transparent 1.9px),
    radial-gradient(circle, rgba(201, 162, 77, 0.2) 0 0.8px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 0.7px, transparent 1.7px),
    radial-gradient(circle, rgba(201, 162, 77, 0.16) 0 1.1px, transparent 2.3px);
  background-position: 24px 42px, 160px 88px, 260px 190px, 420px 120px;
  background-size: 190px 190px, 280px 280px, 360px 360px, 520px 520px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0, #000 62%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.24;
  animation: particleFloat 38s linear infinite;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

img,
canvas {
  display: block;
  max-width: 100%;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 162, 77, 0.2), transparent 18rem),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.075), transparent 28rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 34%, rgba(201, 162, 77, 0.08) 52%, transparent 70%),
    #050505;
  color: #fff;
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), visibility 760ms ease;
}

.loader::before,
.loader::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.loader::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  animation: gridDrift 8s linear infinite;
}

.loader::after {
  background: linear-gradient(90deg, transparent, rgba(243, 216, 139, 0.16), transparent);
  transform: translateX(-100%);
  animation: loaderSweep 2.1s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

body.is-loaded .loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.is-loaded .loader-inner {
  transform: translateY(-14px) scale(0.985);
}

.loader-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(520px, calc(100vw - 42px));
  text-align: center;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.loader-inner img {
  width: min(430px, 84vw);
  opacity: 0;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.5));
  animation: loaderLogo 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.24s forwards;
}

.loader-line {
  position: relative;
  width: min(430px, 78vw);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader-line span {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
  box-shadow: 0 0 20px rgba(243, 216, 139, 0.45);
  animation: premiumLine 1.95s cubic-bezier(0.72, 0, 0.22, 1) infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 15px clamp(18px, 2.5vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.96);
  color: #fff;
  backdrop-filter: blur(20px);
  transition: background 240ms ease, min-height 240ms ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  background: rgba(5, 5, 5, 0.96);
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  transform: translate(-50%, -50%);
}

.brand-logo {
  width: 220px;
  height: auto;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  align-items: center;
  justify-self: stretch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.nav-left {
  grid-column: 1;
  justify-self: end;
  padding-right: clamp(22px, 3vw, 42px);
}

.nav-right {
  grid-column: 3;
  justify-self: start;
  padding-left: clamp(22px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
  content: "";
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-light);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  font: inherit;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
  background: transparent;
  color: #fff;
  text-align: center;
}

.hero-inner,
.section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6.5vw, 7.05rem);
  font-weight: 700;
}

.hero h1 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 4.2vw, 4.65rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.28;
}

.hero-lede {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #090907;
}

.button.secondary {
  color: #fff;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 128px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section:not(.dark-section) {
  border-top: 0;
  background: transparent;
}

.statement {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.statement p:last-child,
.section-heading + p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.section-lede {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.process-grid,
.feature-grid {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.feature-grid article {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
  text-align: left;
}

.process-grid article::before,
.feature-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform 520ms ease;
  content: "";
}

.process-grid article:hover::before,
.feature-grid article:hover::before {
  transform: translateX(0);
}

.process-grid article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 38px);
}

.process-grid .process-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  border: 1px solid rgba(201, 162, 77, 0.22);
  border-radius: 999px;
  background: rgba(201, 162, 77, 0.075);
  padding: 9px 12px 9px 10px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.process-grid .process-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-grid .process-mark small {
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  letter-spacing: 0.14em;
}

.process-grid p,
.feature-grid p {
  color: var(--muted);
}

.feature-grid article {
  min-height: 228px;
  padding: clamp(22px, 2.6vw, 32px);
}

.machine-section {
  width: 100%;
  max-width: none;
  min-height: 78rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(44px, 5.5vw, 72px);
  background: transparent;
}

.scroll-perspective {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  padding: clamp(42px, 6vw, 80px) 0;
  perspective: 1000px;
}

.machine-copy {
  text-align: center;
}

.machine-copy h2 {
  margin-right: auto;
  margin-bottom: clamp(24px, 3vw, 34px);
  margin-left: auto;
}

.machine-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-right: auto;
  margin-bottom: clamp(32px, 3.2vw, 44px);
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}

.scroll-title {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  will-change: transform;
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.product-points span {
  border: 1px solid rgba(201, 162, 77, 0.24);
  background: rgba(201, 162, 77, 0.08);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.machine-visual {
  position: relative;
  min-height: 420px;
}

.scroll-card-shell {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  height: clamp(30rem, 48vw, 40rem);
  margin: -28px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  padding: clamp(8px, 1.5vw, 18px);
  background: #050505;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
}

.scroll-card-frame {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 34px;
  background: #000;
}

.scroll-card-frame .machine-visual {
  height: 100%;
  min-height: 0;
}

.machine-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  border: 0;
  background: #000;
  box-shadow: none;
}

.machine-frame::before {
  display: none;
}

.foil-image-frame {
  display: grid;
  place-items: center;
  background: #000;
}

.foil-image-frame::before {
  display: none;
}

.foil-image-frame img {
  width: min(94%, 960px);
  height: auto;
  max-height: 88%;
  border-radius: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(201, 162, 77, 0.16));
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#why {
  margin-top: clamp(-34px, -2.4vw, -18px);
  padding-top: clamp(30px, 4.8vw, 58px);
}

.dark-section {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.dark-section .section-heading,
.dark-section .foil-compare {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.dark-section h2 {
  color: #fff;
}

.foil-compare {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.foil-compare::before {
  display: none;
}

.compare-panel {
  position: relative;
  z-index: 1;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
  color: #fff;
  text-align: left;
}

.compare-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
}

.compare-panel::after {
  display: none;
}

.cold-panel {
  color: #f3d88b;
}

.hot-panel {
  color: #c9a24d;
}

.cold-panel::before {
  background: linear-gradient(90deg, transparent, #f3d88b, transparent);
}

.hot-panel::before {
  background: linear-gradient(90deg, transparent, #c9a24d, transparent);
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 28px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-panel h3 {
  max-width: 440px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: 1.02;
}

.compare-panel p {
  max-width: 520px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
}

.compare-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-panel li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.76);
}

.compare-panel li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  content: "";
}

.contact-section {
  width: 100%;
  max-width: none;
  padding: clamp(78px, 10vw, 128px) clamp(20px, 5vw, 72px) 32px;
  background: transparent;
  text-align: center;
}

.contact-section h2 {
  max-width: 980px;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

.contact-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-info-row > * {
  position: relative;
  min-height: 150px;
  margin: 0;
  padding: 26px;
  overflow-wrap: anywhere;
  border-radius: calc(var(--radius-md) - 8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  color: var(--muted);
  font-style: normal;
  font-weight: 780;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-info-row > *::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.contact-info-row > *:hover {
  background: rgba(201, 162, 77, 0.08);
  color: #fff;
}

.contact-info-row > *:hover::before {
  opacity: 1;
}

.contact-info-row span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mobile-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: calc(var(--radius-md) - 8px);
  padding-bottom: 86px;
}

.mobile-card > a:not(.whatsapp-button) {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.whatsapp-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 162, 77, 0.52);
  border-radius: calc(var(--radius-md) - 8px);
  padding: 0 18px;
  background: rgba(201, 162, 77, 0.11);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  border-color: var(--gold-light);
  background: rgba(201, 162, 77, 0.2);
  color: #fff;
}

.site-footer {
  display: block;
  padding: clamp(78px, 10vw, 128px) clamp(20px, 5vw, 72px) 32px;
  border-top: 0;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  width: min(1120px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px auto 0;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
  font-weight: 800;
}

.footer-bottom a {
  font-size: 0.86rem;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.75, 0.16, 1);
}

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

@keyframes gridParticleDrift {
  to {
    background-position:
      96px 192px,
      96px 192px,
      24px 48px,
      24px 48px,
      140px 254px,
      -134px 234px,
      338px -212px;
  }
}

@keyframes particleFloat {
  to {
    background-position:
      156px 214px,
      12px 348px,
      498px -10px,
      118px 392px;
  }
}

@keyframes ambientGlow {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

@keyframes loaderSweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes premiumLine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(250%);
  }
}

@keyframes loaderLogo {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes foilPulse {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 76px;
    padding-inline: 18px;
  }

  .brand {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .brand-logo {
    width: 178px;
  }

  .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 60;
    display: block;
    justify-self: start;
  }

  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    width: min(340px, 84vw);
    min-height: 100vh;
    min-height: 100dvh;
    grid-template-columns: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 28px 28px 0;
    padding: 104px 14px 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
      rgba(5, 5, 5, 0.98);
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0);
    font-size: 0.82rem;
    white-space: normal;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
    transition:
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 360ms ease,
      box-shadow 360ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    box-shadow:
      24px 0 80px rgba(0, 0, 0, 0.44),
      0 0 0 100vmax rgba(0, 0, 0, 0.46);
  }

  .nav-side {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 58px;
    border-radius: 14px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-side:last-child a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 1120px) {
  .feature-grid,
  .contact-info-row,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foil-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    min-height: 76px;
    padding-inline: 18px;
  }

  .brand-logo {
    width: 168px;
  }

  .nav-toggle {
    display: block;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.5rem);
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9.6vw, 3.6rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 3.45rem);
  }

  .contact-section h2 {
    max-width: 720px;
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .process-grid,
  .feature-grid,
  .contact-info-row,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .feature-grid article,
  .contact-info-row > * {
    min-height: auto;
  }

  .compare-panel {
    min-height: auto;
  }

  .process-grid .process-mark {
    margin-bottom: 30px;
  }

  .machine-section {
    min-height: 66rem;
  }

  .scroll-perspective {
    width: min(100%, calc(100vw - 16px));
    padding-block: 34px;
  }

  .machine-copy p:not(.eyebrow) {
    margin-bottom: 34px;
  }

  .product-points {
    margin-top: 36px;
  }

  .product-points span {
    min-height: 54px;
  }

  .scroll-card-shell {
    width: min(106vw, 100%);
    height: clamp(34rem, 116vw, 43rem);
    margin-top: -10px;
    border-width: 2px;
    border-radius: 38px;
    padding: 8px;
    background: #000;
    box-shadow: none;
  }

  .scroll-card-frame,
  .machine-frame,
  .foil-image-frame {
    border: 0;
    background: #000;
  }

  .scroll-card-frame,
  .machine-frame,
  .foil-image-frame img {
    border-radius: 30px;
  }

  .foil-image-frame img {
    width: 105%;
    max-height: 98%;
    max-width: none;
    filter: none;
  }

  .machine-frame {
    position: absolute;
    height: auto;
  }

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

@media (max-width: 460px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 140px;
  }

  .contact-section h2 {
    font-size: 1.42rem;
    line-height: 1.16;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
