:root {
  --paper: #F7F7F5;
  --white: #FFFFFF;
  --ink: #1B1914;
  --ink-soft: #4A4740;
  --steel: #66635C;
  --line: #DCD9D1;
  --gold: #C29A35;
  --gold-bright: #E4C463;
  --gold-deep: #85651A;
  --night: #17150F;
  --night-line: #3A352A;

  --display: "Marcellus", "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.5rem, 5vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* Logo: the source image has a lot of white space, so crop to the mark + wordmark */
.logo-crop {
  display: block;
  width: 78px;
  aspect-ratio: 630 / 510;
  overflow: hidden;
}
.logo-crop img {
  width: 243.8%;
  max-width: none;
  margin-left: -72.2%;
  margin-top: -33.3%;
  mix-blend-mode: multiply;
}
.logo-crop-sm { width: 64px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 0.98rem/1 var(--body);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--ink); }
.btn-gold:hover { background: var(--gold); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.header-cta { min-height: 42px; padding: 0 20px; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.hero h1 { font-size: var(--step-4); max-width: 13ch; }
.lede { margin-top: 24px; font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 28px;
  background:
    radial-gradient(60% 55% at 50% 45%, #FFFFFF 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #F1EFEA 0%, #E7E4DC 100%);
  border: 1px solid var(--line);
}
#copier3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; border-radius: inherit; }
#copier3d:active { cursor: grabbing; }
.stage-fallback { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; display: none; }
.no-webgl .stage-fallback { display: block; }
.no-webgl #copier3d, .no-webgl .stage-hint { display: none; }
.stage-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 0.85rem; color: var(--steel);
  background: rgba(255,255,255,0.8); padding: 6px 14px; border-radius: 999px;
  pointer-events: none; white-space: nowrap;
}

/* Hero proof points */
.proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.proof li { position: relative; padding-left: 18px; font-weight: 600; color: var(--ink-soft); }
.proof li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--gold); }

/* Offer */
.offer { padding: clamp(56px, 9vw, 112px) 0; background: var(--white); border-top: 1px solid var(--line); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer-photo { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 48px); }
.offer-photo img { mix-blend-mode: multiply; margin: 0 auto; }
.offer-model { font-weight: 600; color: var(--gold-deep); }
.offer h2 { margin-top: 6px; display: flex; align-items: baseline; gap: 6px; }
.offer .price { font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; }
.offer .per { font-family: var(--body); font-size: 1.25rem; font-weight: 600; color: var(--ink-soft); }
.offer-lede { margin-top: 14px; color: var(--ink-soft); max-width: 40ch; }
.included-title { font-family: var(--body); font-size: 1rem; font-weight: 700; margin-top: 28px; }
.included { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.included li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.included li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px;
  border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}
.color-note { margin: 20px 0 28px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; background: var(--paper); }
.fine-print { margin-top: 12px; font-size: 0.9rem; color: var(--steel); }

/* Why us */
.why { padding: clamp(56px, 9vw, 112px) 0; }
.why .service-list { margin-top: 40px; }
.honored { margin-top: 40px; font-family: var(--display); font-size: var(--step-2); max-width: 30ch; }

.form-intro { color: var(--ink-soft); }

/* Showcase video band */
.showcase {
  position: relative;
  min-height: clamp(420px, 56vw, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
  color: #FFFFFF;
}
.showcase-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.showcase-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,21,15,.82) 0%, rgba(23,21,15,.55) 38%, rgba(23,21,15,0) 65%),
    linear-gradient(0deg, rgba(23,21,15,.55) 0%, rgba(23,21,15,0) 45%);
}
.showcase-copy { position: relative; padding-top: 48px; padding-bottom: clamp(40px, 7vw, 88px); }
.showcase h2 { font-size: var(--step-4); max-width: 12ch; color: #FFFFFF; }
.showcase-copy p { margin: 18px 0 28px; max-width: 40ch; font-size: 1.1rem; color: #EDE7DA; }
.showcase-toggle {
  position: absolute; right: var(--gutter); bottom: 20px;
  font: 600 0.85rem/1 var(--body);
  color: #FFFFFF; background: rgba(23,21,15,.55);
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 10px 16px; min-height: 40px; cursor: pointer;
}
.showcase-toggle:hover { background: rgba(23,21,15,.8); }
@media (max-width: 600px) {
  .showcase { min-height: 560px; }
  .showcase-media { object-position: 78% 50%; }
  .showcase-shade { background: linear-gradient(0deg, rgba(23,21,15,.88) 0%, rgba(23,21,15,.5) 55%, rgba(23,21,15,.1) 100%); }
  .showcase-toggle { top: 16px; bottom: auto; }
}

/* Services */
.services { padding: clamp(56px, 9vw, 112px) 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services h2 { max-width: 18ch; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); margin-top: 48px; }
.service { padding: 28px 0; border-top: 1px solid var(--line); position: relative; }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--gold); }
.service p { margin-top: 10px; color: var(--ink-soft); max-width: 48ch; }

/* Machines (dark band) */
.machines { background: var(--night); color: #EFEBE2; padding: clamp(56px, 9vw, 112px) 0; }
.machines-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.machine-photo { margin: 0; background: var(--white); border-radius: 28px; padding: clamp(20px, 4vw, 48px); }
.machine-photo img { mix-blend-mode: multiply; margin: 0 auto; }
.machines h2 { color: var(--gold-bright); }
.machine-copy > p { margin-top: 16px; color: #CFC9BC; max-width: 46ch; }
.features { list-style: none; padding: 0; margin: 28px 0 32px; }
.features li { padding: 12px 0 12px 28px; border-top: 1px solid var(--night-line); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 22px; width: 12px; height: 2px; background: var(--gold); }

/* How it works */
.how { padding: clamp(56px, 9vw, 112px) 0; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 3.4rem; line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}
.steps p { margin-top: 10px; color: var(--ink-soft); }

/* Quote */
.quote { padding: clamp(56px, 9vw, 112px) 0; background: var(--white); border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); }
.quote-intro > p { margin-top: 16px; color: var(--ink-soft); max-width: 40ch; }
.contact { margin: 32px 0 0; }
.contact div { display: grid; grid-template-columns: 72px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--steel); }
.contact dd { margin: 0; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(194,154,53,.25); }
.field .invalid { border-color: #B3261E; }
.form-status { min-height: 1.6em; font-weight: 500; }
.form-status.error { color: #B3261E; }
.form-status.ok { color: var(--gold-deep); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row p { color: var(--steel); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid, .machines-grid, .quote-grid, .offer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-row { min-height: 68px; }
  .logo-crop { width: 64px; }
  .service-list, .quote-form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}
