:root {
  color-scheme: dark;

  --bg0: #07070c;
  --bg1: #0b0b14;
  --ink: rgba(245, 245, 255, 0.95);
  --muted: rgba(245, 245, 255, 0.68);
  --muted2: rgba(245, 245, 255, 0.46);
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.07);

  --gold: #d4af37;
  --gold2: #f4d58d;
  --goldGlow: rgba(212, 175, 55, 0.22);
  --blue: #6f7dff;
  --blueGlow: rgba(111, 125, 255, 0.18);

  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;

  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --shadowSoft: 0 18px 55px rgba(0, 0, 0, 0.35);

  --container: 1240px;
  --padX: clamp(20px, 4vw, 72px);

  --headerH: 76px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg1);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg0);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(212, 175, 55, 0.88);
  color: #07070c;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

section {
  scroll-margin-top: calc(var(--headerH) + 18px);
}

.container {
  width: min(var(--container), 100%);
  padding: 0 var(--padX);
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: rgba(7, 7, 12, 0.92);
  color: var(--ink);
}

.skip:focus-visible {
  left: var(--padX);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 12px;
}

/* =========================
   Scroll progress
========================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--scroll, 0));
  background: linear-gradient(90deg, var(--gold), var(--gold2), rgba(111, 125, 255, 0.9));
  box-shadow: 0 0 26px rgba(212, 175, 55, 0.25);
}

/* =========================
   Ambient background
========================= */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  width: 880px;
  height: 880px;
  filter: blur(70px);
  opacity: 0.8;
  mix-blend-mode: screen;
}

.orb-a {
  top: -380px;
  left: -340px;
  background: radial-gradient(circle at 30% 30%, rgba(244, 213, 141, 0.25), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(111, 125, 255, 0.18), transparent 60%);
  transform: translate3d(0, var(--orbAy, 0px), 0);
}

.orb-b {
  bottom: -480px;
  right: -380px;
  background: radial-gradient(circle at 30% 30%, rgba(111, 125, 255, 0.22), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.16), transparent 62%);
  transform: translate3d(0, var(--orbBy, 0px), 0);
}

.bg-noise {
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* =========================
   Header / Navigation
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--headerH);
  z-index: 50;
  display: flex;
  align-items: center;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 12, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.header.is-scrolled::before {
  background: rgba(7, 7, 12, 0.82);
  border-bottom-color: var(--line2);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 18px 60px var(--goldGlow);
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  stroke: var(--bg0);
}

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

.brand-name {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-tag {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
  opacity: 0.65;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: rgba(245, 245, 255, 0.85);
}

/* =========================
   Buttons
========================= */

.btn {
  --mx: 0px;
  --my: 0px;
  --lift: 0px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 245, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;

  transform: translate3d(var(--mx), calc(var(--my) - var(--lift)), 0);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease, box-shadow 200ms ease,
    color 200ms ease;
  will-change: transform;
}

.btn:hover {
  --lift: 3px;
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.btn:active {
  --lift: 0px;
  transform: translate3d(0, 0, 0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn-gold {
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #07070c;
  box-shadow: 0 22px 70px var(--goldGlow);
}

.btn-gold:hover {
  box-shadow: 0 28px 95px rgba(212, 175, 55, 0.28);
}

.btn-block {
  width: 100%;
}

/* =========================
   Pointer spotlight (desktop only via JS)
========================= */

html.js [data-spotlight] {
  --sx: 50%;
  --sy: 50%;
  position: relative;
}

html.js [data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
  background: radial-gradient(260px 260px at var(--sx) var(--sy), rgba(244, 213, 141, 0.17), transparent 60%),
    radial-gradient(360px 360px at calc(var(--sx) + 40px) calc(var(--sy) + 40px), rgba(111, 125, 255, 0.09), transparent 62%);
  mix-blend-mode: screen;
  filter: blur(8px);
}

html.js [data-spotlight]:hover::after {
  opacity: 1;
}

/* =========================
   Drawer (Mobile Menu)
========================= */

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

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

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 100%);
  background: rgba(7, 7, 12, 0.92);
  border-left: 1px solid var(--line2);
  transform: translateX(18px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
  opacity: 1;
}

.drawer .icon-btn {
  display: inline-flex;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line2);
}

.drawer-title {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}

.drawer-link {
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  line-height: 1.1;
  color: rgba(245, 245, 255, 0.9);
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line2);
  transform: translateX(6px);
}

.drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  border-radius: 14px;
  padding: 10px 10px;
  transition: background 200ms ease, color 200ms ease;
}

.mini-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 255, 0.9);
}

.mini-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

/* =========================
   Reveal animation (progressive enhancement)
========================= */

html.no-js [data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================
   Hero
========================= */

.hero {
  padding-top: calc(var(--headerH) + 40px);
  padding-bottom: clamp(64px, 10vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
}

.pill svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold2);
}

.hero-title {
  margin: 22px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5.5vw, 5.1rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.hero-accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 70px rgba(212, 175, 55, 0.25);
}

.hero-desc {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 26px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.kpi {
  padding: 14px 14px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kpi dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 0 0 6px;
}

.kpi dd {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: var(--gold2);
}

.kpi-value {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.kpi-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.kpi-unit {
  font-size: 0.9em;
  color: rgba(244, 213, 141, 0.92);
  letter-spacing: 0.02em;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.spotlight {
  --rx: 0deg;
  --ry: 0deg;
  --tx: 0px;
  --ty: 0px;

  width: min(520px, 100%);
  border-radius: var(--r-xl);
  position: relative;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(var(--tx), var(--ty), 0);
  transition: transform 220ms ease, border-color 220ms ease;
}

.spotlight:hover {
  border-color: rgba(212, 175, 55, 0.28);
}

.spotlight-ring {
  position: absolute;
  inset: -80px;
  background: radial-gradient(circle at 30% 20%, rgba(244, 213, 141, 0.22), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(111, 125, 255, 0.18), transparent 55%);
  opacity: 1;
  transform: translateZ(-1px);
}

.spotlight-media {
  position: relative;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  overflow: hidden;
}

.spotlight-media img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.spotlight-footer {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.spotlight-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.spotlight-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.chip--soft {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.18);
  color: var(--gold2);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 6px;
}

.scroll-dot {
  width: 28px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  position: relative;
}

.scroll-dot::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

/* =========================
   Sections / Typography
========================= */

.section {
  padding: clamp(84px, 10vw, 124px) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.section-top {
  max-width: 820px;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.sub,
.lead,
.p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0;
}

.lead {
  margin-bottom: 14px;
}

.quote {
  margin: 24px 0 0;
  border-left: 2px solid rgba(212, 175, 55, 0.55);
  padding: 18px 18px 18px 16px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.quote svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  flex: 0 0 auto;
  margin-top: 2px;
}

.quote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(245, 245, 255, 0.92);
}

.media-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadowSoft);
  padding: 26px;
}

.media-card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: radial-gradient(900px 400px at 50% 20%, rgba(212, 175, 55, 0.08), transparent 60%);
}

.media-card--large img {
  height: 520px;
}

.spec-live {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 12, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.spec-live-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 255, 0.55);
}

.spec-live-value {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
}

.media-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   Workflow / Scrollytelling
========================= */

.workflow {
  background: linear-gradient(180deg, rgba(111, 125, 255, 0.07), transparent 55%, rgba(212, 175, 55, 0.04));
}

.flow {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}

.flow-visual {
  position: sticky;
  top: calc(var(--headerH) + 22px);
  align-self: start;
  --flowProgress: 0;
  --f1: rgba(111, 125, 255, 0.22);
  --f2: rgba(244, 213, 141, 0.12);
}

.flow-visual[data-theme="cad"] {
  --f1: rgba(111, 125, 255, 0.28);
  --f2: rgba(244, 213, 141, 0.1);
}

.flow-visual[data-theme="print"] {
  --f1: rgba(212, 175, 55, 0.22);
  --f2: rgba(111, 125, 255, 0.14);
}

.flow-visual[data-theme="support"] {
  --f1: rgba(255, 255, 255, 0.14);
  --f2: rgba(212, 175, 55, 0.12);
}

.flow-visual[data-theme="cast"] {
  --f1: rgba(244, 213, 141, 0.18);
  --f2: rgba(111, 125, 255, 0.12);
}

.flow-screen {
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  padding: 26px;
}

.flow-screen-bg {
  position: absolute;
  inset: -90px;
  background: radial-gradient(900px 520px at 25% 20%, var(--f1), transparent 60%),
    radial-gradient(900px 520px at 80% 80%, var(--f2), transparent 60%);
  opacity: 1;
  transform: translateZ(-1px);
}

.flow-screen-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 340px;
}

.flow-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 255, 0.55);
}

.flow-big {
  margin-top: auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 4.6vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--gold2), rgba(111, 125, 255, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 70px rgba(111, 125, 255, 0.14);
}

.flow-head {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.flow-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 56ch;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.flow-meter {
  margin-top: 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-meter-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--flowProgress));
  background: linear-gradient(90deg, var(--gold), var(--gold2), rgba(111, 125, 255, 0.95));
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step {
  --s1: rgba(111, 125, 255, 0.18);
  --s2: rgba(212, 175, 55, 0.12);
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  min-height: clamp(240px, 38vh, 360px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.flow-step[data-theme="cad"] {
  --s1: rgba(111, 125, 255, 0.2);
  --s2: rgba(244, 213, 141, 0.1);
}

.flow-step[data-theme="print"] {
  --s1: rgba(212, 175, 55, 0.18);
  --s2: rgba(111, 125, 255, 0.1);
}

.flow-step[data-theme="support"] {
  --s1: rgba(255, 255, 255, 0.12);
  --s2: rgba(212, 175, 55, 0.1);
}

.flow-step[data-theme="cast"] {
  --s1: rgba(244, 213, 141, 0.14);
  --s2: rgba(111, 125, 255, 0.1);
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(700px 420px at 20% 20%, var(--s1), transparent 58%),
    radial-gradient(700px 420px at 85% 85%, var(--s2), transparent 58%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.flow-step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.65), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.flow-step-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
}

.flow-step-no {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 255, 0.5);
}

.flow-step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0;
}

.flow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.flow-step.is-active {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.26);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
}

.flow-step.is-active::before,
.flow-step.is-active::after {
  opacity: 1;
}

/* =========================
   Product / Specs
========================= */

.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items: start;
}

.product-sticky {
  position: sticky;
  top: calc(var(--headerH) + 22px);
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spec-group {
  padding: 22px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.spec-group.is-active {
  border-color: rgba(212, 175, 55, 0.26);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
  transform: translateY(-2px);
}

.spec-group.is-active .spec-title {
  color: var(--gold2);
}

.spec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 10px;
}

.spec-title svg {
  width: 16px;
  height: 16px;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line2);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-k {
  color: var(--muted2);
  font-size: 0.92rem;
}

.spec-v {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(245, 245, 255, 0.94);
  text-align: right;
}

.gold {
  color: var(--gold);
}

/* =========================
   Cards (Materials)
========================= */

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

.card {
  padding: 28px;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line2);
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.22);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
}

.card-icon--red {
  background: rgba(139, 35, 50, 0.18);
  border-color: rgba(139, 35, 50, 0.35);
  color: #d4626f;
}

.card-icon--white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(245, 245, 255, 0.88);
}

.h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 10px;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted2);
  font-size: 0.85rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--line2);
}

.dot--red {
  background: #8b2332;
}

.dot--white {
  background: #e8e8e8;
}

/* =========================
   Services
========================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service {
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line2);
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  margin: 0 auto 16px;
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  transition: background 220ms ease, border-color 220ms ease;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  transition: stroke 220ms ease;
}

.service:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: rgba(212, 175, 55, 0.28);
}

.service:hover .service-icon svg {
  stroke: var(--bg0);
}

.service .h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service .p {
  font-size: 0.92rem;
}

/* =========================
   Contact
========================= */

.contact-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://enterprise.flashforge.com/cdn/shop/files/PC.webp?v=1744705328&width=1600");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: blur(1px);
  transform: scale(1.05);
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 12, 0.94) 45%, rgba(7, 7, 12, 0.74) 100%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 56px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.contact-link:hover {
  transform: translateX(8px);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.contact-ico {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: background 220ms ease;
}

.contact-ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  transition: stroke 220ms ease;
}

.contact-link:hover .contact-ico {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
}

.contact-link:hover .contact-ico svg {
  stroke: var(--bg0);
}

.contact-text {
  font-size: 1.05rem;
  color: rgba(245, 245, 255, 0.92);
  font-weight: 500;
}

.contact-brand {
  border-radius: var(--r-xl);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.brand-big {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: rgba(245, 245, 255, 0.68);
  transition: stroke 220ms ease;
}

.social-link:hover svg {
  stroke: var(--bg0);
}

/* =========================
   Footer
========================= */

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line2);
  color: rgba(245, 245, 255, 0.42);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
  :root {
    --headerH: 70px;
  }

  .nav-links {
    display: none;
  }

  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn-gold {
    display: none;
  }

  .brand {
    min-width: unset;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tag {
    font-size: 0.58rem;
  }

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

  .hero-media {
    order: -1;
    align-items: center;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

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

  .scroll-hint {
    margin: 0 auto;
  }

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

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

  .flow-visual {
    position: relative;
    top: 0;
  }

  .flow-screen-inner {
    min-height: 280px;
  }

  .flow-step {
    min-height: auto;
  }

  .media-card img {
    height: 320px;
  }

  .media-card--large img {
    height: 340px;
  }

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

  .product-sticky {
    position: relative;
    top: 0;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .contact-card::after {
    background: linear-gradient(180deg, rgba(7, 7, 12, 0.94), rgba(7, 7, 12, 0.74));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .spotlight {
    padding: 18px;
  }

  .spotlight-media img {
    height: 220px;
  }

  .flow-screen {
    padding: 18px;
  }

  .flow-head {
    font-size: 1.5rem;
  }

  .flow-step {
    padding: 20px;
  }

  .flow-step-title {
    font-size: 1.35rem;
  }

  .drawer-link {
    font-size: 1.6rem;
  }

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

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .spec-v {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  html.js [data-spotlight]::after {
    opacity: 0 !important;
  }

  .scroll-dot::after {
    animation: none !important;
  }

  .btn,
  .icon-btn,
  .spotlight,
  .card,
  .service,
  .contact-link,
  .social-link {
    transition: none !important;
  }
}


