:root {
  --bg: #07141c;
  --bg-soft: #0f2630;
  --panel: rgba(7, 20, 28, 0.55);
  --panel-strong: rgba(9, 20, 30, 0.82);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.72);
  --gold: #ddc48c;
  --sea: #7ad8eb;
  --rose: #ef9a8d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(108, 201, 226, 0.24), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(239, 154, 141, 0.18), transparent 22%),
    radial-gradient(circle at 10% 60%, rgba(221, 196, 140, 0.12), transparent 24%),
    linear-gradient(180deg, #081a22 0%, #09131a 44%, #0d1f29 100%);
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

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

.page-shell {
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.sticky-stage,
.product-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 430vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.stage-copy,
.card-copy,
.section-heading {
  position: relative;
  z-index: 1;
}

.eyebrow,
.meta-label,
.card-index {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--gold);
}

.hero h2,
.section-heading h2,
.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 0.96;
  margin: 0;
}

.stage-text,
.scene-block p,
.card-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.progress-block,
.scene-block {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.progress-label strong,
.scene-block strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--text);
}

.sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(4, 17, 25, 0.18), rgba(9, 26, 36, 0.2));
}

.hero h2,
.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.stage-toggle {
  position: absolute;
  top: clamp(20px, 4vw, 42px);
  left: clamp(20px, 4vw, 42px);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(7, 17, 24, 0.52);
  backdrop-filter: blur(18px);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.08em;
  transition: background 180ms ease, transform 180ms ease;
}

.stage-toggle:hover {
  background: rgba(7, 17, 24, 0.74);
  transform: translateY(-1px);
}

.stage-copy {
  position: absolute;
  inset: clamp(20px, 4vw, 42px) auto auto clamp(20px, 4vw, 42px);
  z-index: 3;
  width: min(520px, calc(100vw - 40px));
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(7, 17, 24, 0.7), rgba(7, 17, 24, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.stage-copy[hidden] {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.stage-copy.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.progress-block,
.scene-block {
  border-radius: 22px;
  padding: 18px 20px;
}

.progress-block {
  margin: 34px 0 16px;
}

.progress-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.progress-bar {
  margin-top: 16px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f5e5ba 44%, var(--sea));
}

.stage-visual {
  position: absolute;
  inset: 0;
}

.visual-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  background: #08161e;
  box-shadow: none;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(122, 216, 235, 0.16), transparent 20%),
    radial-gradient(circle at 78% 16%, rgba(239, 154, 141, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(4, 12, 18, 0.2), rgba(4, 12, 18, 0.62) 72%, rgba(4, 12, 18, 0.82));
  filter: none;
  z-index: 0;
}

.product-section {
  margin-top: 84px;
}

.contact-section {
  margin-top: 32px;
}

.section-heading {
  max-width: 840px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
  gap: 18px;
  min-height: 360px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 21, 30, 0.96), rgba(11, 29, 40, 0.88));
}

.product-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -28% auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--card-accent);
  filter: blur(20px);
  opacity: 0.44;
}

.card-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.card-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12px 6px 12px 0;
}

.product-card h3 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.product-orange {
  --card-accent: rgba(255, 161, 72, 0.55);
}

.product-red {
  --card-accent: rgba(243, 95, 91, 0.52);
}

.product-lime {
  --card-accent: rgba(220, 255, 94, 0.46);
}

.product-blue {
  --card-accent: rgba(70, 174, 255, 0.48);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 10%, rgba(122, 216, 235, 0.12), transparent 24%),
    radial-gradient(circle at 90% 90%, rgba(221, 196, 140, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(8, 21, 30, 0.96), rgba(11, 29, 40, 0.9));
  box-shadow: var(--shadow);
}

.contact-text {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.8;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-meta div {
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.contact-meta strong {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

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

.contact-form span {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(5, 14, 20, 0.56);
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(246, 241, 232, 0.38);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(221, 196, 140, 0.62);
  box-shadow: 0 0 0 3px rgba(221, 196, 140, 0.12);
}

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

.contact-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: #07141c;
  background: linear-gradient(90deg, #f3ddb1, #ddc48c);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(221, 196, 140, 0.22);
}

@media (max-width: 1080px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 360vh;
  }

  .stage-copy {
    width: min(460px, calc(100vw - 32px));
  }

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

  .contact-card,
  .contact-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1400px);
    padding-top: 10px;
  }

  .sticky-stage {
    border-radius: 24px;
  }

  .hero {
    min-height: 300vh;
  }

  .product-card {
    min-height: unset;
  }

  .stage-copy {
    inset: 14px 14px auto 14px;
    width: auto;
    border-radius: 20px;
    padding: 16px;
  }

  .stage-toggle {
    top: 14px;
    left: 14px;
  }
}

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

  .card-media img,
  .stage-copy,
  .stage-toggle {
    transition: none !important;
  }
}
