/* ============================================================
   Print my dreams - night-print visual system
   Palette: deep dream-violet night, hot filament coral,
   cooled mint highlight. Signature: layer stripes everywhere
   an object is "being printed".
   ============================================================ */

:root {
  --night: #171226;
  --night-2: #1E1834;
  --surface: #241B3E;
  --surface-2: #2C2250;
  --line: #3A2E63;
  --ink: #F1ECFF;
  --muted: #A99DCB;
  --coral: #FF6B4A;
  --coral-soft: #FF9A6B;
  --mint: #6FE3C1;
  --radius: 18px;
  --font-body: 'Rubik', system-ui, sans-serif;
  --font-display: 'Karantina', 'Rubik', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 107, 74, 0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(111, 227, 193, 0.06), transparent 55%),
    var(--night);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- header ---------- */
.top {
  max-width: 1060px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    to top,
    var(--coral) 0 3px,
    var(--coral-soft) 3px 4px
  );
  box-shadow: 0 0 18px rgba(255, 107, 74, 0.45);
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-name.small { font-size: 12px; }

.chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--coral); background: rgba(255, 107, 74, 0.08); }

/* ---------- hero ---------- */
.hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 72px 24px 90px;
  text-align: center;
}

.eyebrow {
  color: var(--mint);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.dream-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 14vw, 150px);
  line-height: 0.9;
  margin-bottom: 26px;
}

/* signature: headline "printed" from filament layers */
.print-reveal {
  display: inline-block;
  background: repeating-linear-gradient(
    to top,
    var(--coral) 0px,
    var(--coral-soft) 5px,
    var(--coral) 6px
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: printUp 1.4s cubic-bezier(0.25, 0.8, 0.3, 1) both;
}

@keyframes printUp {
  from { clip-path: inset(100% 0 0 0); transform: translateY(14px); }
  to   { clip-path: inset(-10% 0 0 0); transform: translateY(0); }
}

.lede {
  max-width: 520px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--coral);
  color: #21120C;
  border: none;
  box-shadow: 0 6px 30px rgba(255, 107, 74, 0.35);
}
.btn-primary:hover { background: var(--coral-soft); box-shadow: 0 8px 36px rgba(255, 107, 74, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

.spec-line {
  margin-top: 46px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0.7;
  direction: ltr;
}

/* ---------- sections ---------- */
section { max-width: 1060px; margin: 0 auto; padding: 40px 24px; }

.section-head { margin-bottom: 30px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1;
  margin-bottom: 10px;
}

.section-note { color: var(--muted); max-width: 480px; }

/* ---------- gallery ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--coral); }

/* the build plate each placeholder sits on */
.print-stage {
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  background:
    linear-gradient(to top, rgba(111, 227, 193, 0.05), transparent 40%),
    var(--night-2);
  border-bottom: 2px solid var(--line);
  position: relative;
}
.print-stage::after {
  /* plate grid texture */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: 0.5;
}

/* objects mid-print: striped fill rises to --fill */
.print-obj {
  width: 92px;
  height: 130px;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(to top,
      transparent calc(var(--fill) - 1%),
      transparent var(--fill)),
    repeating-linear-gradient(to top, var(--coral) 0 4px, var(--coral-soft) 4px 5px);
  -webkit-mask-image: linear-gradient(to top, black var(--fill), rgba(0,0,0,0.13) var(--fill));
  mask-image: linear-gradient(to top, black var(--fill), rgba(0,0,0,0.13) var(--fill));
}

.obj-vase    { border-radius: 42% 42% 14px 14px / 60% 60% 10px 10px; }
.obj-planter { width: 110px; height: 96px;  border-radius: 12px 12px 26px 26px; }
.obj-figure  { width: 74px;  height: 150px; border-radius: 50% 50% 16px 16px / 24% 24% 8px 8px; }
.obj-bowl    { width: 120px; height: 78px;  border-radius: 10px 10px 60px 60px; }
.obj-tall    { width: 62px;  height: 158px; border-radius: 30px 30px 10px 10px; }
.obj-round   { width: 104px; height: 104px; border-radius: 50% 50% 18px 18px; }

.card-meta {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta h3 { font-size: 17px; font-weight: 500; }

.progress { font-size: 11.5px; color: var(--mint); }

/* ---------- how ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step-code {
  display: inline-block;
  font-size: 12px;
  color: var(--coral);
  border: 1px solid rgba(255, 107, 74, 0.4);
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 14px;
  direction: ltr;
}

.step h3 { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.fine { color: var(--muted); font-size: 14px; }

/* ---------- order form ---------- */
.order { padding-bottom: 90px; }

.plate {
  background:
    repeating-linear-gradient(90deg, rgba(58, 46, 99, 0.35) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg,  rgba(58, 46, 99, 0.35) 0 1px, transparent 1px 26px),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(26px, 5vw, 48px);
}

form { display: flex; flex-direction: column; gap: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field span { font-size: 14px; font-weight: 500; color: var(--muted); }

input, textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

input::placeholder, textarea::placeholder { color: #6D6194; }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.18);
}

.hp { position: absolute; opacity: 0; pointer-events: none; height: 0; }

.btn-submit { align-self: flex-start; margin-top: 6px; }
.btn-submit:disabled { opacity: 0.6; cursor: default; }

.form-status { font-size: 15px; min-height: 22px; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: var(--coral-soft); }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 26px 24px 40px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.foot-sep { opacity: 0.5; }

/* ---------- a11y & responsive ---------- */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .print-reveal { animation: none; }
  .card, .btn { transition: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .field-row { grid-template-columns: 1fr; }
  .btn-submit { align-self: stretch; text-align: center; }
}
