:root {
  --grey: #2C2C2C;
  --orange: #FF5A1F;
  --bg: #F4F1EC;
  --card: #fff;
  --muted: #5c5c5c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Outfit, system-ui, sans-serif; background: var(--bg); color: var(--grey); }
a { color: inherit; text-decoration: none; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 7%; position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(12px); border-bottom: 1px solid #e8e2d9;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.lockup { height: 64px; width: auto; display: block; }
.wordmark span { color: var(--orange); }
.nav nav { display: flex; gap: 22px; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 22px; font-weight: 700; cursor: pointer; font: inherit;
}
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.hero { padding: 20px 7% 36px; }
.hero-shot {
  position: relative; margin: 0; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.14);
}
.hero-shot img {
  width: 100%; height: min(82vh, 820px); display: block;
  object-fit: cover; object-position: center 38%;
}
.hero-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 42%, rgba(0,0,0,.08) 70%, transparent 100%),
              linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 46%);
  pointer-events: none;
}
.hero-copy {
  position: absolute; left: 36px; bottom: 36px; z-index: 1;
  max-width: 560px; color: #fff;
}
.hero-copy .eyebrow { color: #FF8A4C; }
.hero-copy .lead { color: rgba(255,255,255,.86); }
.eyebrow { font-weight: 700; color: var(--orange); letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: .96; letter-spacing: -.04em; margin: 10px 0 16px; }
h1 em { font-style: normal; color: var(--orange); }
.lead, .sub { color: var(--muted); font-size: 18px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.how, .shapes-sec, .builder, .work { padding: 24px 7% 72px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }
.shot {
  background: var(--card); border-radius: 24px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.shot:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.shot img {
  width: 100%; height: 320px; display: block; object-fit: cover;
  transform: scale(1.04);
  animation: alive 14s ease-in-out infinite alternate;
  transition: transform .6s ease, filter .4s ease;
  cursor: zoom-in;
}
.shot:hover img { animation-play-state: paused; transform: scale(1.12); filter: saturate(1.12) contrast(1.05); }
.shot figcaption { padding: 14px 18px 18px; font-weight: 600; }
.shot.featured { grid-column: 1 / -1; }
.shot.featured img { height: 480px; }
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8,8,8,.92);
  display: none;
}
.lightbox.open { display: block; }
.lightbox img {
  position: absolute; top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(82vw, 1280px); max-height: 76vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 8px;
}
.lightbox p {
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  color: #fff; font-weight: 600; text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute; border: 0; border-radius: 999px;
  background: #fff; color: #111; cursor: pointer; font: inherit; font-weight: 700;
}
.lightbox-close {
  top: 16px; right: 18px; width: 44px; height: 44px; font-size: 28px; line-height: 1;
}
.lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; font-size: 34px; line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@keyframes alive {
  from { transform: scale(1.03) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(0,-8px,0); }
}
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.steps article { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.05); }
.steps span { color: var(--orange); font-weight: 800; }
.steps h3 { margin: 8px 0 8px; }
.shape-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.shape-grid figure { background: var(--card); border-radius: 20px; padding: 22px 10px; text-align: center; }
.shape-grid figure.soon { opacity: .38; filter: grayscale(1); }
.sil { width: 54px; height: 130px; margin: 0 auto 12px; background: var(--grey); }
.sil.classic {
  width: 62px;
  height: 130px;
  border-radius: 10px 10px 4px 4px;
  clip-path: polygon(6% 0, 94% 0, 70% 100%, 30% 100%);
}
.sil.modern { width: 38px; border-radius: 6px; }
.sil.wide { width: 78px; height: 110px; border-radius: 10px; }
.sil.sculpt { width: 64px; border-radius: 50% 50% 12px 12px; }
.builder-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 18px; }
.panel, .preview-wrap { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: 0 10px 28px rgba(0,0,0,.05); }
label { display: block; font-weight: 650; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #e4ddd4; border-radius: 12px; font: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid #eee; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.chip.on { border-color: var(--orange); background: #fff1ea; }
.chip.soon, .chip:disabled {
  opacity: .4; filter: grayscale(1); cursor: not-allowed; pointer-events: none;
}
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  width: 28px; height: 28px; border-radius: 999px; border: 2px solid #ddd;
  cursor: pointer; padding: 0;
}
.swatch.on { outline: 2px solid var(--orange); outline-offset: 2px; }
.check-row { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.check-row input { width: auto; }
.submit { width: 100%; margin-top: 16px; }
.status { margin-top: 10px; font-weight: 600; min-height: 1.2em; }
.preview {
  height: 560px; border-radius: 18px; background: #171717;
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.preview canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.preview .preview-handle { display: none; }
.preview.is-3d canvas { display: block; }
.preview:not(.is-3d) canvas { display: none; }
.preview:not(.is-3d) .preview-handle { display: block; }
.preview-handle { width: 92px; height: 280px; background: #2C2C2C; border-radius: 16px 16px 10px 10px; position: relative; }
.print-zone {
  display: none; position: absolute; left: 36%; right: 36%; top: 14%; bottom: 22%;
  border: 2px dashed rgba(255,255,255,.55); border-radius: 8px; pointer-events: none; z-index: 2;
}
.print-zone.on { display: block; }
.art { display: none; }
.hint { color: var(--muted); margin-top: 10px; }
footer { padding: 28px 7% 40px; display: flex; justify-content: space-between; color: #777; border-top: 1px solid #e8e2d9; }
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .steps, .shape-grid, .builder-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .lockup { height: 48px; }
  .hero-shot img { height: min(70vh, 620px); }
  .hero-copy { left: 18px; right: 18px; bottom: 18px; max-width: none; }
  h1 { font-size: clamp(28px, 8vw, 40px); }
  .lightbox-nav { width: 40px; height: 40px; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .shot img { animation: none; } }
