/* dshogun Print Shop: minimal monochrome UI.
   Colour lives in the products; the interface stays black, white and grey. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f2;
  --tile: #efefef;
  --ink: #111111;
  --text: #2a2a2a;
  --muted: #737373;
  --border: #e6e6e6;
  --accent: #111111;
  --accent-ink: #ffffff;
  --accent-soft: rgba(17, 17, 17, 0.05);
  --dark: #1c1c1c;
  --cyan: #00a3d9;
  --magenta: #e0258c;
  --yellow: #f2bd00;
  --good: #1d8a4a;
  --warn: #b26a00;
  --bad: #c62f3a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0c;
    --surface: #141414;
    --surface-2: #1b1b1b;
    --tile: #1d1d1d;
    --ink: #f4f4f4;
    --text: #d6d6d6;
    --muted: #9a9a9a;
    --border: #2a2a2a;
    --accent: #f4f4f4;
    --accent-ink: #111111;
    --accent-soft: rgba(255, 255, 255, 0.07);
    --dark: #1a1a1a;
    --good: #4cc27d;
    --warn: #e5a640;
    --bad: #ff6b74;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-weight: 600; font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.6rem; }
h3 { font-weight: 600; font-size: 1.08rem; margin: 0 0 0.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
code, .mono { font-family: var(--font-mono); font-size: 0.88em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }
.section-row h2 { margin: 0; }

.eyebrow {
  font-size: 0.8rem; font-weight: 500; color: var(--muted); margin: 0 0 0.7rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.inks { display: inline-flex; gap: 3px; }
.inks i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.inks i:nth-child(1) { background: var(--cyan); }
.inks i:nth-child(2) { background: var(--magenta); }
.inks i:nth-child(3) { background: var(--yellow); }
.inks i:nth-child(4) { background: var(--ink); }

/* ---------- nav: a floating pill bar ---------- */
.topnav { position: sticky; top: 0; z-index: 20; padding: 0.75rem 0; background: transparent; }
.topnav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--border); border-radius: 14px; padding: 0 0.6rem 0 1rem;
  max-width: calc(1160px - 2.5rem); width: calc(100% - 2rem);
}
.topnav.scrolled .wrap { box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img, .brand svg { width: 26px; height: 26px; flex: none; }
.brand small { font-weight: 500; color: var(--muted); font-size: 0.92rem; }
.navlinks { display: flex; align-items: center; gap: 1.6rem; }
.navlinks a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.navlinks a:not(.btn):hover, .navlinks a[aria-current] { color: var(--ink); }
@media (max-width: 720px) { .navlinks a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.9rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 0.8rem 1.3rem; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); transition: opacity 0.12s ease, transform 0.12s ease, background 0.12s ease;
}
.btn:hover { opacity: 0.86; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn.ghost:hover { opacity: 1; border-color: var(--ink); }
.btn.light { background: #fff; color: #111; border-color: #fff; }
.btn.small { padding: 0.55rem 0.95rem; font-size: 0.82rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; font-size: 1rem; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }

/* ---------- hero: big word over a studio backdrop ---------- */
.hero-panel {
  position: relative; overflow: hidden; border-radius: 22px; height: clamp(360px, 46vw, 500px);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.22), transparent 60%),
    radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(180deg, #d6d6d4 0%, #bdbcb8 62%, #a9a8a3 100%);
}
@media (prefers-color-scheme: dark) {
  .hero-panel { background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.5), transparent 60%),
    radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #3a3a38 0%, #2c2c2a 62%, #222 100%); }
}
.hero-word {
  position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 2; margin: 0;
  font: 600 clamp(7rem, 25vw, 19rem)/0.78 var(--font-display); letter-spacing: -0.06em;
  color: #fff; white-space: nowrap; pointer-events: none; user-select: none;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.hero-stage { position: absolute; inset: 0; z-index: 1; }
.hero-stage .p { position: absolute; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22)); }
.hero-stage .p-metal { width: 30%; left: 8%; top: 12%; transform: rotate(-3deg); }
.hero-stage .p-sheet { width: 15%; right: 10%; top: 9%; transform: rotate(5deg); }
.hero-stage .p-card { width: 9%; left: 45%; top: 14%; transform: rotate(-6deg); }
.hero-stage .p-card2 { width: 9%; left: 54%; top: 19%; transform: rotate(7deg); }
.hero-tab {
  position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 0;
  background: var(--bg); border-radius: 18px 18px 0 0; padding: 1.1rem 1.4rem 0.9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.hero-tab h1 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin: 0; letter-spacing: -0.02em; }
.hero-tab .cta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hero-sub { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 0.4rem 2.3rem 0; color: var(--muted); font-size: 0.92rem; }
.hero-sub p { margin: 0; max-width: 56ch; }
.hero-sub .facts { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-sub .facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .hero-panel { height: 400px; }
  .hero-word { bottom: 112px; font-size: 31vw; }
  .hero-stage .p-metal { width: 52%; left: 4%; top: 8%; }
  .hero-stage .p-sheet { width: 25%; right: 6%; top: 6%; }
  .hero-stage .p-card, .hero-stage .p-card2 { display: none; }
  .hero-tab { left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 0.95rem 0.9rem 0.7rem; }
  .hero-tab .cta { flex-wrap: nowrap; }
  .hero-tab .cta .btn { flex: 1; padding-left: 0.6rem; padding-right: 0.6rem; }
  .hero-sub { padding: 0.4rem 0.75rem 0; }
}

/* ---------- product art (pure CSS mockups) ---------- */
.art { position: relative; border-radius: 6px; overflow: hidden; }
.art-card { aspect-ratio: 5 / 7; border-radius: 9px; background: #1b1530; padding: 7%; }
.art-card .face { position: absolute; inset: 7%; border-radius: 5px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #ffd35a 0 12%, transparent 13%),
    radial-gradient(circle at 70% 62%, #ff4fa3 0 22%, transparent 23%),
    linear-gradient(160deg, #3b2bd6, #00a3d9 70%, #4de1c1);
}
.art-card .face::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 7%; height: 22%; border-radius: 3px; background: rgba(255, 255, 255, 0.86); }
.art-card.alt .face { background:
  radial-gradient(circle at 50% 38%, #fff 0 9%, transparent 10%),
  conic-gradient(from 200deg at 50% 38%, #e0258c, #f2bd00, #00a3d9, #5b34e6, #e0258c); }
.art-sheet { aspect-ratio: 11.7 / 16.5; background: #fbfaf7; border-radius: 4px; }
.art-sheet i { position: absolute; display: block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.art-sheet i:nth-child(1) { left: 8%; top: 6%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd35a, #f28a00); }
.art-sheet i:nth-child(2) { right: 8%; top: 8%; width: 36%; aspect-ratio: 1; border-radius: 26%; background: linear-gradient(135deg, #e0258c, #5b34e6); }
.art-sheet i:nth-child(3) { left: 10%; top: 36%; width: 46%; aspect-ratio: 1.5; border-radius: 999px; background: linear-gradient(90deg, #00a3d9, #4de1c1); }
.art-sheet i:nth-child(4) { right: 9%; top: 37%; width: 30%; aspect-ratio: 1; border-radius: 50% 50% 50% 8%; background: #ff5d5d; }
.art-sheet i:nth-child(5) { left: 9%; top: 62%; width: 28%; aspect-ratio: 1; background: #16141f; border-radius: 20%; }
.art-sheet i:nth-child(6) { left: 42%; top: 60%; width: 48%; aspect-ratio: 1.15; border-radius: 40% 60% 55% 45%; background: radial-gradient(circle at 60% 40%, #b9a6ff, #5b34e6); }
.art-sheet i:nth-child(7) { left: 12%; top: 83%; width: 76%; height: 9%; border-radius: 6px; background: repeating-linear-gradient(90deg, #f2bd00 0 14%, #e0258c 14% 28%, #00a3d9 28% 42%); }
.art-metal { aspect-ratio: 15.7 / 11.8; border-radius: 5px; padding: 3.2%;
  background: linear-gradient(115deg, #c9ccd3, #f1f2f5 30%, #a9adb7 55%, #e6e8ec 75%, #b8bcc5); }
.art-metal .face { position: absolute; inset: 3.2%; border-radius: 2px; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 110%, #16141f 0 34%, transparent 35%),
    radial-gradient(ellipse at 20% 120%, #2b2150 0 40%, transparent 41%),
    radial-gradient(circle at 72% 32%, #ffe8a3 0 9%, #ffb347 10% 13%, transparent 14%),
    linear-gradient(180deg, #2a1d6e 0%, #8a2fb4 45%, #ff6a7a 75%, #ffb36b 100%); }
.art-metal .face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 42%, transparent 52%); }
.crop { position: relative; padding: 14px; }

/* ---------- shop: category sidebar + product tiles ---------- */
.shop { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .shop { grid-template-columns: 1fr; gap: 1.25rem; } }
.shop > * { min-width: 0; }
.cats { position: sticky; top: 96px; font-size: 0.88rem; }
.cats h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.cats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cats button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font: inherit; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 10px; padding: 0.55rem 0.7rem; cursor: pointer; text-align: left; }
.cats button:hover { color: var(--ink); }
.cats button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); }
.cats .count { font-size: 0.72rem; font-weight: 600; min-width: 1.4rem; text-align: center; padding: 0.05rem 0.4rem; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.cats button[aria-pressed="true"] .count { background: var(--ink); color: var(--bg); }
.cats .more { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); display: grid; gap: 0.6rem; color: var(--muted); }
.cats .more span { display: flex; gap: 0.55rem; align-items: center; }
.cats .more svg { flex: none; }
@media (max-width: 860px) {
  .cats { position: static; }
  .cats h3 { display: none; }
  .cats ul { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
  .cats button { width: auto; white-space: nowrap; border: 1px solid var(--border); border-radius: 99px; padding: 0.45rem 0.8rem; }
  .cats .more { display: none; }
}

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.75rem 1.25rem; }
.tile { display: flex; flex-direction: column; }
.tile[hidden] { display: none; }
.tile .stage { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--tile); display: grid; place-items: center; margin-bottom: 0.85rem; overflow: hidden; text-decoration: none; }
.tile .stage .art { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.18)); overflow: visible; }
.tile .stage > .art-card { width: 32%; }
.tile .stage > .art-sheet { width: 44%; }
.tile .stage > .art-metal { width: 74%; }
.tile .stage .pair { position: relative; width: 52%; aspect-ratio: 1; }
.tile .stage .pair .art-card { position: absolute; width: 62%; }
.tile .stage .pair .art-card:first-child { left: 0; top: 4%; transform: rotate(-8deg); }
.tile .stage .pair .art-card:last-child { right: 0; bottom: 4%; transform: rotate(7deg); }
.tag { position: absolute; top: 10px; right: 10px; font-size: 0.7rem; font-weight: 600; padding: 0.22rem 0.6rem; border-radius: 99px; background: var(--surface); color: var(--ink); }
.tile .row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.tile h3 { font-size: 1rem; margin: 0; }
.tile .price { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile .meta { color: var(--muted); font-size: 0.8rem; margin: 0.2rem 0 0.85rem; }
.tile .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: auto; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface-2); border-radius: var(--radius); padding: 1.3rem; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 0.8rem; font-weight: 600; margin-bottom: 1.4rem; }
.step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- gallery: horizontal scroller ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.gallery::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .gallery { grid-auto-columns: calc((100% - 3 * 1.25rem) / 3.6); } }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--tile); }
.gallery figcaption { padding: 0.7rem 0.1rem 0; font-size: 0.82rem; color: var(--muted); }
.gallery figcaption b { color: var(--ink); display: block; font-weight: 600; font-size: 0.95rem; }

/* ---------- guide / specs ---------- */
.band { background: transparent; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr; } }
.spec { border-radius: var(--radius); padding: 1.3rem; background: var(--surface-2); }
.spec dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0.9rem 0 0; font-size: 0.88rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 2rem; margin-top: 2rem; }
.tips div { padding-left: 1rem; border-left: 2px solid var(--ink); }
.tips h3 { font-size: 1rem; }
.tips p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 3rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 1rem; } }
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--border); padding: 1.05rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- dark call-to-action band ---------- */
.cta-band { background: var(--dark); color: #d4d4d4; border-radius: 22px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
@media (prefers-color-scheme: dark) { .cta-band { border: 1px solid var(--border); } }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.4rem; }
.cta-band .cta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cta-band .btn.ghost { color: #fff; border-color: #444; }
.cta-band .btn.ghost:hover { border-color: #fff; }
.cta-band h3 { color: #fff; font-size: 0.9rem; }
.cta-band p { font-size: 0.86rem; color: #a3a3a3; margin: 0; max-width: 46ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site { padding: 2.5rem 0 2rem; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--border); margin-top: 2rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site.rich { border-top: 0; padding-top: 3.5rem; }
footer.site.rich .wrap { display: block; }
.foot-cols { display: flex; gap: 4rem; flex-wrap: wrap; margin-bottom: 3rem; }
.foot-cols h3 { font-size: 0.95rem; margin-bottom: 0.8rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot-cols .spacer { flex: 1; }
.foot-cols .note { max-width: 30ch; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.8rem; }
.foot-base nav { display: flex; gap: 1.5rem; }

/* ---------- forms (shared) ---------- */
label.field { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 0.9rem; }
label.field span.hint { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="number"], textarea, select {
  display: block; width: 100%; margin-top: 0.35rem; font: inherit; font-size: 0.93rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; padding: 0.7rem 0.85rem;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; background: var(--surface); }
textarea { min-height: 84px; resize: vertical; }
.notice { border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.9rem; background: var(--surface-2); color: var(--ink); }
.notice.error { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }

/* phones: two tiles per row */
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; }
  .tile .actions { grid-template-columns: 1fr; }
  .tile .row { flex-direction: column; gap: 0.1rem; }
}
