/* DOGS Print Shop — snap-panel rebuild.
   100svh mandatory panels, one idea per screen. transform/opacity only. */
:root {
  --ink: #f4f2ee;
  --ink-dim: rgba(244, 242, 238, .72);
  --ink-faint: rgba(244, 242, 238, .5);
  --base: #0c0b0a;
  --panel: #121110;
  --accent: #ff5c1f;           /* molten orange — locked, whole page */
  --accent-deep: rgba(255, 92, 31, .28);
  --hair: rgba(244, 242, 238, .14);
  --word: clamp(3.4rem, 19vw, 15rem);
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--base);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; top: -4rem; left: 1rem; z-index: 50; background: var(--ink); color: #000; padding: .6rem 1rem; border-radius: 6px; transition: top .2s; }
.skip:focus { top: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- snap stage ---- */
.snap { scroll-snap-type: y mandatory; height: 100svh; overflow-y: auto; }
.panel {
  position: relative;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: flex;
}

/* ---- backgrounds: full-bleed dark imagery + scrims, parallax drift ---- */
.bg { position: absolute; inset: -8% 0; z-index: 0; pointer-events: none; }
.bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.8); }
.bg.parallax { animation: drift linear both; animation-timeline: view(); }
@keyframes drift { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
.scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,.62) 0%, rgba(12,11,10,.28) 45%, rgba(12,11,10,.78) 100%); }
.scrim.heavy { background: linear-gradient(180deg, rgba(12,11,10,.8) 0%, rgba(12,11,10,.5) 50%, rgba(12,11,10,.85) 100%); }

/* ---- copy corners: vary, never forced to vertical center ---- */
.copy { position: relative; z-index: 1; width: 100%; padding: var(--pad); display: flex; flex-direction: column; }
.corner-bl { justify-content: flex-end; align-items: flex-start; text-align: left; }
.corner-tr { justify-content: flex-start; align-items: flex-end; text-align: right; }
.corner-tl { justify-content: flex-start; align-items: flex-start; text-align: left; }
.corner-br { justify-content: flex-end; align-items: flex-end; text-align: right; }

.kicker {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem; font-weight: 700;
}
.word {
  font-size: var(--word); line-height: .92; font-weight: 800;
  letter-spacing: -.03em; text-transform: uppercase;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.word.accent { color: var(--accent); }
.line { font-size: clamp(1.15rem, 4.6vw, 1.9rem); font-weight: 700; line-height: 1.25; margin-bottom: .5rem; text-wrap: balance; }
.sub { font-size: clamp(.95rem, 3.6vw, 1.1rem); color: var(--ink-dim); line-height: 1.5; max-width: 34ch; text-wrap: balance; }
.sub.small { font-size: .85rem; margin-top: .8rem; }
.sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero .copy { padding-bottom: 3.2rem; }
.hint {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint); animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); opacity: .5; } 50% { transform: translate(-50%, 8px); opacity: 1; } }

/* ---- reveals: staggered clip entry ---- */
.reveal { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(26px);
  transition: clip-path .8s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s); }
.reveal.in { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }

/* ---- buttons ---- */
.btn {
  display: inline-block; margin-top: 1.2rem;
  background: var(--accent); color: #100a06; font-weight: 800;
  font-size: .95rem; letter-spacing: .02em;
  padding: .9rem 1.8rem; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---- wedge panel: solid dark, orange specs ---- */
.wedge { background: var(--panel); }
.specs { list-style: none; margin-top: 1.4rem; display: grid; gap: .9rem; max-width: 44ch; }
.specs li { border-top: 1px solid var(--hair); padding-top: .7rem; font-size: .95rem; color: var(--ink-dim); line-height: 1.5; }
.specs li span { color: var(--accent); font-weight: 800; }
.status {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.2rem;
  font-size: .82rem; color: var(--ink-dim);
  border: 1px solid var(--hair); border-radius: 999px; padding: .55rem 1rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }

/* ---- sized panel: interactive demo ---- */
.sized { background: #0a0908; flex-direction: column; justify-content: center; align-items: center; }
.sized .copy { padding-bottom: .5rem; }
.demo { position: relative; z-index: 1; width: min(92vw, 560px); margin: 0 auto; }
#wedge-live { width: 100%; height: auto; color: var(--accent); }
.bed-note { margin-top: .8rem; font-size: .82rem; color: var(--ink-dim); border: 1px solid var(--accent-deep); border-radius: 8px; padding: .6rem .9rem; }
.ctls { display: grid; gap: .8rem; margin-top: 1rem; }
.ctl { display: grid; grid-template-columns: 64px 1fr 74px; align-items: center; gap: .8rem; }
.ctl label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.ctl output { font-family: ui-monospace, monospace; font-size: .85rem; color: var(--accent); text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 34px; background: transparent; min-width: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--hair); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--accent); border: none; }
input[type="range"]::-moz-range-track { height: 3px; background: var(--hair); border-radius: 2px; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: none; }
input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- go panel: steps ---- */
.go { background: var(--base); }
.steps { list-style: none; margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.steps li { font-size: clamp(1.05rem, 4.2vw, 1.5rem); font-weight: 700; line-height: 1.35; }
.steps .n { font-family: ui-monospace, monospace; color: var(--accent); font-size: .85em; margin-right: .8rem; }

/* ---- soon panel: waitlist + footer ---- */
.wait { display: flex; gap: .6rem; margin-top: 1.2rem; max-width: 400px; width: 100%; }
.wait input {
  flex: 1; min-width: 0; background: rgba(12,11,10,.6); border: 1px solid var(--hair);
  border-radius: 999px; padding: .9rem 1.2rem; color: var(--ink); font-size: .95rem;
}
.wait input::placeholder { color: var(--ink-faint); }
.wait input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wait .btn { margin-top: 0; white-space: nowrap; }
.wait-ok { margin-top: 1rem; font-size: .9rem; color: var(--accent); font-weight: 700; }
.foot { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.foot-note { font-size: .78rem; color: var(--ink-faint); }
.badge { display: block; max-width: 220px; opacity: .92; transition: opacity .25s, transform .25s var(--ease); }
.badge img { width: 100%; height: auto; }
.badge:hover { opacity: 1; transform: translateY(-2px); }

/* ---- desktop: asymmetric row for the demo panel ---- */
@media (min-width: 900px) {
  .word { --word: clamp(4rem, 12vw, 11rem); }
  .sized { flex-direction: row; }
  .sized .copy { flex: 0 0 40%; justify-content: center; }
  .demo { margin: 0 var(--pad); }
}

/* ---- reduced motion: everything instant, no parallax ---- */
@media (prefers-reduced-motion: reduce) {
  .bg.parallax { animation: none; }
  .reveal { transition: none; clip-path: none; opacity: 1; transform: none; }
  .dot, .hint { animation: none; }
  html { scroll-behavior: auto; }
}
