/* ================================================================
   3DPrintCraft — printer-themed one-pager (from Claude Design bundle)
   Vanilla port · Studio palette default · full mobile responsive
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }

/* ── Palettes ─────────────────────────────────────────────────── */
:root {                              /* Workshop · cream + orange */
  --c-paper: #f0ebe0; --c-paper-alt: #e6dfcf; --c-paper-dk: #d6cdb8;
  --c-ink: #0d0d0d; --c-ink-2: #2a2a2a; --c-ink-3: #6b665b;
  --c-accent: #ff5b1f; --c-accent-ink: #0d0d0d; --c-grid: rgba(0,0,0,0.05);

  --font-display: 'Archivo Black', 'Bowlby One', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Familjen Grotesk', 'Inter Tight', system-ui, sans-serif;
  --rail: #1a1a1a;
  --c-warm: #ff5a36; --c-warm-ink: #ffffff;   /* secondary CTA accent */
}
html[data-palette="studio"] {        /* Studio · white + cobalt (DEFAULT here) */
  --c-paper: #f7f7f4; --c-paper-alt: #ecebe5; --c-paper-dk: #dedcd2;
  --c-ink: #14161a; --c-ink-2: #2e3138; --c-ink-3: #7a7d85;
  --c-accent: #2e54ff; --c-accent-ink: #ffffff; --c-grid: rgba(0,0,0,0.05);
}
html[data-palette="lab"] {           /* Lab · paper + mint */
  --c-paper: #efefe7; --c-paper-alt: #e2e2d8; --c-paper-dk: #d3d3c8;
  --c-ink: #0e1410; --c-ink-2: #283028; --c-ink-3: #6b7468;
  --c-accent: #00b377; --c-accent-ink: #0e1410; --c-grid: rgba(0,0,0,0.05);
}
html[data-palette="dusk"] {          /* Dusk · dark + orange */
  --c-paper: #15161a; --c-paper-alt: #1f2026; --c-paper-dk: #2a2c33;
  --c-ink: #f0ebe0; --c-ink-2: #c2bdb2; --c-ink-3: #8a8478;
  --c-accent: #ff7536; --c-accent-ink: #15161a; --c-grid: rgba(255,255,255,0.05);
}

/* ── Base ─────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--c-paper); color: var(--c-ink);
  font-family: var(--font-body);
  transition: background 0.3s, color 0.3s;
}
body { padding-top: 76px; overflow-x: hidden; }   /* room for fixed gantry */
section[id] { scroll-margin-top: 84px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }

@keyframes pcPulse  { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes pcTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pcBlink  { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes pcSlideIn{ from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pcSpin   { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

.pc-skip {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--c-ink); color: var(--c-paper); padding: 8px 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  transition: top 0.2s;
}
.pc-skip:focus { top: 8px; }

/* ── Gantry (fixed top bar) ───────────────────────────────────── */
.pc-gantry {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--c-paper); border-bottom: 1px solid var(--c-ink);
  font-family: var(--font-mono);
}
.pc-gantry-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px; font-size: 11px; letter-spacing: 1.5px;
}
.pc-gantry-brand { display: flex; align-items: center; gap: 9px; }
.pc-gantry-logo { width: 30px; height: auto; display: block; }
.pc-gantry-logo path { fill: var(--c-ink); }
.pc-gantry-name { font-family: var(--font-display); font-size: 14px; letter-spacing: -0.3px; line-height: 1; }
.pc-gantry-brand-sub { display: none; }
.pc-gantry-nav { display: flex; gap: 28px; }
.pc-gantry-nav a {
  color: var(--c-ink-3); border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.pc-gantry-nav a.is-active { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.pc-gantry-cta {
  padding: 8px 16px; background: var(--c-accent); color: var(--c-accent-ink);
  border: 1.5px solid var(--c-ink); font-weight: 700; letter-spacing: 1.5px;
  box-shadow: 2px 2px 0 0 var(--c-ink);
}
.pc-gantry-burger { display: none; }
.pc-gantry-menu { display: none; }
.pc-gantry-right { display: flex; align-items: center; gap: 10px; }
.pc-gantry-prog { position: relative; height: 6px; background: var(--c-paper-alt); border-top: 1px solid var(--c-ink); overflow: hidden; }
.pc-gantry-prog-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--c-accent); transition: width 0.15s linear; }
.pc-gantry-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,0.35); }

/* ── Shared section header ────────────────────────────────────── */
.pc-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pc-section-head .eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--c-accent); margin-bottom: 12px; }
.pc-section-head h2 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 80px); letter-spacing: -2px; margin: 0; line-height: 0.95; }
.pc-section-head h2 i { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; }
.pc-section-head .right { font-family: var(--font-mono); font-size: 12px; color: var(--c-ink-2); letter-spacing: 1px; }
.pc-section-head .right b { font-family: var(--font-display); }

/* Services head — refined inline service list (replaces clunky triple-stack) */
.pc-services-head .pc-services-title {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 22px;
  font-size: clamp(26px, 3.6vw, 50px);
  letter-spacing: -1.5px; line-height: 1.05;
}
.pc-services-head .pc-services-title .svc { white-space: nowrap; }
.pc-services-head .pc-services-title .sep {
  color: var(--c-accent); font-size: 0.4em; line-height: 1;
  transform: translateY(-0.22em); opacity: 0.9;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.pc-hero { position: relative; padding: 36px 60px 60px; background: var(--c-paper); overflow: hidden; }
.pc-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--c-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pc-hero-meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  color: var(--c-ink-2); margin-bottom: 18px; position: relative;
}
.pc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; min-height: 560px; }

.pc-boot {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  background: var(--c-ink); color: var(--c-paper); border: 1.5px solid var(--c-ink);
  padding: 10px 14px 8px; max-width: 520px; margin-bottom: 22px; position: relative;
  box-shadow: 4px 4px 0 0 var(--c-accent);
}
.pc-boot-head { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: 2px; color: rgba(240,235,224,0.45); border-bottom: 1px solid #2a2a2a; padding-bottom: 6px; margin-bottom: 6px; }
.pc-boot-status { color: var(--c-accent); font-weight: 700; }
.pc-boot-status.ready { color: #5fd97a; }
.pc-boot-body { white-space: pre-wrap; min-height: 100px; }
.pc-boot-body .code { color: #7ad8ff; }
.pc-boot-body .cmt { color: rgba(240,235,224,0.5); }
.pc-boot-cursor { display: inline-block; width: 7px; height: 12px; background: var(--c-accent); margin-left: 1px; vertical-align: -1px; animation: pcBlink 0.7s steps(1) infinite; }

.pc-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: var(--c-ink); color: var(--c-paper);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; margin-bottom: 28px;
}
.pc-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 6px var(--c-accent); animation: pcPulse 1.2s infinite; }
.pc-hero-h1 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(54px, 6.6vw, 110px);
  line-height: 0.98; letter-spacing: -2px; margin: 0; color: var(--c-ink);
}
.pc-hero-h1 .accent { color: var(--c-accent); }
.pc-hero-lead { font-family: var(--font-body); font-size: 17px; line-height: 1.55; max-width: 480px; color: var(--c-ink-2); margin-top: 28px; }
.pc-hero-lead .accent { color: var(--c-accent); font-weight: 700; }
.pc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.pc-btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px;
  background: var(--c-accent); color: var(--c-accent-ink); border: 1.5px solid var(--c-ink);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; font-weight: 700;
  box-shadow: 4px 4px 0 0 var(--c-ink); transition: transform 0.15s, box-shadow 0.15s;
}
.pc-btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 0 var(--c-ink); }
.pc-link-arrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--c-ink); border-bottom: 1.5px solid var(--c-ink); padding-bottom: 4px; }
.pc-btn-warm { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; background: var(--c-warm); color: var(--c-warm-ink); border: 1.5px solid var(--c-ink); font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; font-weight: 700; box-shadow: 4px 4px 0 0 var(--c-ink); transition: transform 0.15s, box-shadow 0.15s; }
.pc-btn-warm:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 0 var(--c-ink); }
.pc-btn-warm .arr { transition: transform 0.15s; }
.pc-btn-warm:hover .arr { transform: translateX(3px); }
.pc-hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-ink); max-width: 540px; }
.pc-stat-n { font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: -0.5px; }
.pc-stat-d { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; color: var(--c-ink-3); margin-top: 6px; text-transform: uppercase; max-width: 90px; line-height: 1.3; }

/* ── Hero lifecycle scene ─────────────────────────────────────── */
.pc-life { position: relative; width: 100%; height: 540px; background: var(--c-paper-alt); border: 1.5px solid var(--c-ink); box-shadow: 8px 8px 0 0 var(--c-accent); overflow: hidden; font-family: var(--font-mono); }
.pc-life-bg { position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px); background-size: 24px 24px; }
.pc-tabs { position: absolute; top: 0; left: 0; right: 0; height: 42px; display: flex; border-bottom: 1px solid var(--c-ink); background: var(--c-paper); z-index: 3; }
.pc-tab { flex: 1; border-right: 1px solid var(--c-ink); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 11px; letter-spacing: 1.5px; color: var(--c-ink-3); position: relative; transition: background 0.15s, color 0.15s; }
.pc-tab:last-child { border-right: none; }
.pc-tab .num { color: var(--c-ink-3); margin-right: 6px; }
.pc-tab .check { color: var(--c-accent); display: none; }
.pc-tab .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 6px var(--c-accent); animation: pcPulse 1s infinite; display: none; }
.pc-tab-fill { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--c-accent); }
.pc-tab.is-active { background: var(--c-ink); color: var(--c-paper); }
.pc-tab.is-active .num { color: var(--c-accent); }
.pc-tab.is-active .dot { display: block; }
.pc-tab.is-done { color: var(--c-ink-2); }
.pc-tab.is-done .check { display: inline; }

.pc-cube-wrap { position: absolute; inset: 50px 0 60px; display: grid; place-items: center; opacity: 1; transition: opacity 0.25s; }
.pc-life[data-stage="0"] .pc-cube-wrap { opacity: 0; }
.pc-cube-scene { perspective: 800px; }
.pc-cube { position: relative; width: 130px; height: 130px; transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(0); animation: pcSpin 12s linear infinite; }
.pc-cube-face { position: absolute; width: 130px; height: 130px; border: 1.5px solid var(--c-ink); background: rgba(0,0,0,0.05); }
.pc-cube-face.f1 { transform: translateZ(65px); }
.pc-cube-face.f2 { transform: rotateY(180deg) translateZ(65px); }
.pc-cube-face.f3 { transform: rotateY(90deg) translateZ(65px); }
.pc-cube-face.f4 { transform: rotateY(-90deg) translateZ(65px); }
.pc-cube-face.f5 { transform: rotateX(90deg) translateZ(65px); }
.pc-cube-face.f6 { transform: rotateX(-90deg) translateZ(65px); }
/* printed mode (stage 2): dark faces with orange layer lines */
.pc-life[data-stage="2"] .pc-cube-face { background: #1a1a1a; background-image: repeating-linear-gradient(0deg, rgba(255,91,31,0.18) 0 1px, transparent 1px 5px); border-color: #000; }
.pc-life[data-stage="2"] .pc-cube-face.f5 { background: #3a3a3a; background-image: none; }

.pc-ovl { position: absolute; inset: 50px 0 60px; opacity: 0; transition: opacity 0.12s linear; z-index: 2; pointer-events: none; }
.pc-life[data-stage="0"] .pc-ovl-email { opacity: 1; }
.pc-life[data-stage="1"] .pc-ovl-design { opacity: 1; }
.pc-life[data-stage="2"] .pc-ovl-print { opacity: 1; }

/* email overlay */
.pc-email-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; }
.pc-email { width: 94%; max-width: 440px; background: var(--c-paper); border: 1.5px solid var(--c-ink); box-shadow: 4px 4px 0 0 var(--c-accent); }
.pc-email-top { padding: 7px 12px; background: var(--c-ink); color: var(--c-paper); display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 1.5px; }
.pc-email-top .unread { color: var(--c-accent); }
.pc-email-meta { padding: 14px 16px 10px; border-bottom: 1px dashed var(--c-ink-2); }
.pc-email-row { display: flex; gap: 12px; font-size: 11px; margin-bottom: 4px; }
.pc-email-row .k { color: var(--c-ink-3); width: 56px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; }
.pc-email-row .v { flex: 1; font-family: var(--font-body); }
.pc-email-body { padding: 14px 16px; font-family: var(--font-body); font-size: 13px; line-height: 1.5; min-height: 70px; color: var(--c-ink-2); }
.pc-email-cursor { display: inline-block; width: 8px; height: 14px; background: var(--c-ink); margin-left: 1px; vertical-align: text-bottom; animation: pcBlink 0.8s infinite; }
.pc-email-foot { padding: 10px 16px; border-top: 1px dashed var(--c-ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; background: var(--c-paper-alt); }
.pc-email-att { padding: 6px 10px; border: 1.5px solid var(--c-ink); background: var(--c-paper); font-size: 10px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); white-space: nowrap; }
.pc-email-att .sz { white-space: nowrap; }
.pc-email-att .clip { color: var(--c-accent); }
.pc-email-att .sz { color: var(--c-ink-3); font-size: 9px; }
.pc-email-reply { margin-left: auto; padding: 6px 12px; background: var(--c-accent); color: var(--c-accent-ink); border: 1.5px solid var(--c-ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; font-weight: 700; white-space: nowrap; }

/* design overlay (dimension callouts) */
.pc-design-tool { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 4px 10px; background: var(--c-ink); color: var(--c-paper); font-size: 9px; letter-spacing: 2px; }
.pc-dim { position: absolute; padding: 4px 8px; background: var(--c-paper); border: 1px solid var(--c-ink); font-size: 9px; letter-spacing: 1.2px; color: var(--c-ink-2); }

/* print overlay */
.pc-print-tool { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 4px 10px; background: var(--c-ink); color: var(--c-paper); font-size: 9px; letter-spacing: 2px; }
.pc-zrod { position: absolute; top: 40px; bottom: 90px; width: 4px; background: linear-gradient(180deg,#5a5750,#2a2820); }
.pc-xrail { position: absolute; left: 24px; right: 24px; top: 44px; height: 8px; background: linear-gradient(180deg,#2a2620 0%,#6a665a 50%,#1a1610 100%); border: 1px solid #000; }
.pc-head { position: absolute; top: 38px; width: 52px; }
.pc-head-body { height: 18px; background: #0e0e0e; border: 1px solid #000; display: grid; place-items: center; font-family: var(--font-mono); font-size: 7px; color: var(--c-accent); letter-spacing: 1px; }
.pc-head-nozzle { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #111; }
.pc-head-glow { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); }
.pc-bed { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 300px; height: 56px; clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); background: linear-gradient(180deg,#cfc4a5 0%,#b5a780 100%); border: 1px solid var(--c-ink); }
.pc-bed-grid { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.10) 0 18px, transparent 18px 19px), repeating-linear-gradient(180deg, rgba(0,0,0,0.08) 0 10px, transparent 10px 11px); }

.pc-readout { position: absolute; bottom: 0; left: 0; right: 0; height: 44px; border-top: 1px solid var(--c-ink); background: var(--c-ink); color: var(--c-paper); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 11px; letter-spacing: 1.5px; z-index: 3; }
.pc-readout .arrow { color: var(--c-accent); }
.pc-readout .lbl { color: var(--c-ink-3); }
.pc-readout .file { color: var(--c-ink-3); font-size: 10px; }

/* ── Materials ticker ─────────────────────────────────────────── */
.pc-ticker { margin-top: 60px; position: relative; border-top: 1.5px solid var(--c-ink); border-bottom: 1.5px solid var(--c-ink); background: var(--c-ink); color: var(--c-paper); overflow: hidden; }
.pc-ticker-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 16px 44px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 3px; }
.pc-ticker-track .sep { color: var(--c-ink-3); }
.pc-ticker-track .hot { color: var(--c-paper); font-weight: 700; }

/* Filament colour swatches (below the materials) */
.pc-swatches { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 44px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.pc-swatches-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--c-ink-3); }
.pc-swatch-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 720px; }
.pc-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 1px 3px rgba(0,0,0,0.4); transition: transform .18s ease, box-shadow .18s ease; }
.pc-swatch:hover { transform: scale(1.22); box-shadow: 0 0 0 2px var(--c-accent), 0 2px 8px rgba(0,0,0,0.45); }

/* ── Services ─────────────────────────────────────────────────── */
.pc-services { padding: 100px 60px; background: var(--c-paper); position: relative; }
.pc-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--c-ink); margin-top: 20px; }
.pc-service-tile { padding: 36px 32px 32px; border-right: 1.5px solid var(--c-ink); border-bottom: 1.5px solid var(--c-ink); min-height: 380px; position: relative; background: var(--c-paper); transition: background 0.25s; cursor: pointer; overflow: hidden; }
.pc-service-tile:last-child { border-right: none; }
.pc-service-tile:hover { background: var(--c-paper-alt); }
.pc-service-tile .hoverlines { position: absolute; inset: 0; opacity: 0; background: repeating-linear-gradient(0deg, transparent 0 5px, color-mix(in srgb, var(--c-accent) 8%, transparent) 5px 6px); pointer-events: none; transition: opacity 0.25s; }
.pc-service-tile:hover .hoverlines { opacity: 1; }
.pc-service-head { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.pc-service-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--c-accent); }
.pc-service-icon { width: 36px; height: 36px; border: 1.5px solid var(--c-ink); background: var(--c-paper); display: grid; place-items: center; color: var(--c-ink); }
.pc-service-badge { padding: 3px 8px; background: var(--c-accent); color: var(--c-accent-ink); font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; }
.pc-service-tile h3 { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1.05; letter-spacing: -1px; margin: 20px 0 16px; position: relative; }
.pc-service-tile p { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--c-ink-2); margin: 0; max-width: 340px; position: relative; }
.pc-service-foot { position: absolute; bottom: 32px; left: 32px; right: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pc-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pc-chip { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; padding: 4px 8px; border: 1px solid var(--c-ink); background: var(--c-paper); color: var(--c-ink); }
.pc-service-go { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--c-ink); font-weight: 700; transition: transform 0.2s; }
.pc-service-tile:hover .pc-service-go { transform: translateX(4px); }

/* ── Work ─────────────────────────────────────────────────────── */
.pc-work { padding: 100px 60px; background: var(--c-paper-alt); position: relative; }
.pc-work-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 14px; }
.pc-work-tile { position: relative; border: 1.5px solid var(--c-ink); overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; background: var(--c-paper); color: var(--c-ink); }
.pc-work-tile:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 var(--c-ink); }
.pc-work-tile.dark { background: #1a1a1a; color: var(--c-paper); }
.pc-work-tile.accent { background: var(--c-accent); color: var(--c-accent-ink); }
.pc-work-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 6px, transparent 6px 12px); }
.pc-work-tile.dark .pc-work-stripes { background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 6px, transparent 6px 12px); }
.pc-work-tile.accent .pc-work-stripes { background: repeating-linear-gradient(45deg, rgba(0,0,0,0.08) 0 6px, transparent 6px 12px); }
.pc-work-shape { position: absolute; inset: 0; display: grid; place-items: center; }
.pc-work-kind { position: absolute; top: 10px; right: 12px; padding: 2px 6px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; background: currentColor; }
.pc-work-kind span { color: var(--c-paper); mix-blend-mode: difference; } /* fallback handled inline per tile */
.pc-work-idx { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; opacity: 0.6; }
.pc-work-foot { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pc-work-name { font-family: var(--font-display); font-size: 14px; letter-spacing: -0.5px; }
.pc-work-tile.pc-work-big .pc-work-name { font-size: 22px; }
.pc-work-spec { font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; opacity: 0.7; margin-top: 4px; }
.pc-work-view { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; opacity: 0; }
.pc-work-tile:hover .pc-work-view { opacity: 1; }
.pc-work-foot-row { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--c-ink-2); }
.pc-work-foot-row .strong { color: var(--c-ink); font-weight: 700; }
/* STL hover chip */
.pc-stl { position: absolute; top: 36px; left: 12px; right: 12px; background: rgba(247,247,244,0.92); color: var(--c-ink); border: 1px solid var(--c-ink); backdrop-filter: blur(4px); padding: 7px 10px 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1px; opacity: 0; transform: translateY(-4px); transition: opacity 0.18s, transform 0.18s; pointer-events: none; z-index: 4; }
.pc-work-tile.dark .pc-stl { background: rgba(0,0,0,0.72); color: rgba(240,235,224,0.95); border-color: rgba(255,255,255,0.18); }
.pc-work-tile:hover .pc-stl { opacity: 1; transform: none; }
.pc-stl-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.pc-stl-top .dim { color: var(--c-ink-3); }
.pc-work-tile.dark .pc-stl-top .dim { color: rgba(240,235,224,0.5); }
.pc-stl-top .sliced { color: var(--c-accent); }
.pc-stl-file { font-size: 10px; margin-bottom: 6px; word-break: break-all; }
.pc-stl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; border-top: 1px solid currentColor; padding-top: 5px; }
.pc-stl-grid .dim { opacity: 0.6; }
.pc-stl-grid .val { text-align: right; }
/* Photo tiles (real portfolio shots) */
.pc-work-tile.pc-has-img { margin: 0; background: #0d0d0d; color: #fff; }
.pc-work-tile.pc-has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; }
.pc-work-tile.pc-has-img:hover img { transform: scale(1.05); }
.pc-work-tile.pc-has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.12) 42%, rgba(0,0,0,0) 64%); z-index: 1; pointer-events: none; }
.pc-work-tile.pc-has-img .pc-work-kind { z-index: 2; background: var(--c-accent); color: var(--c-accent-ink); }
.pc-work-tile.pc-has-img .pc-work-idx { z-index: 2; color: rgba(255,255,255,0.85); opacity: 1; }
.pc-work-tile.pc-has-img .pc-work-foot { z-index: 2; }
.pc-work-tile.pc-has-img .pc-work-name { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.pc-work-tile.pc-has-img .pc-work-spec { color: rgba(255,255,255,0.85); }
.pc-work-tile.pc-has-img .pc-work-view { color: #fff; }
/* Coming-soon placeholder tiles */
.pc-work-soon { display: grid; place-items: center; background: var(--c-paper); }
.pc-work-soon .pc-work-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0 6px, transparent 6px 12px); }
.pc-work-soon-label { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--c-ink-3); border: 1px dashed var(--c-ink-3); padding: 8px 16px; }

/* ── Process ──────────────────────────────────────────────────── */
.pc-process { padding: 100px 60px; background: var(--c-paper); position: relative; }
.pc-process-wrap { margin-top: 48px; position: relative; max-width: 780px; }
.pc-process-rail-line, .pc-process-rail-dot { display: none; }
.pc-process-grid { display: flex; flex-direction: column; gap: 0; }
.pc-process-step { position: relative; display: flex; gap: 22px; align-items: flex-start; padding-bottom: 38px; }
.pc-process-step:last-child { padding-bottom: 0; }
.pc-process-step::before { content: ""; position: absolute; left: 17px; top: 42px; bottom: 0; width: 2px; background: var(--c-ink); }
.pc-process-step:last-child::before { display: none; }
.pc-process-node { flex: 0 0 36px; width: 36px; height: 36px; background: var(--c-paper); border: 2px solid var(--c-ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.pc-process-step:first-child .pc-process-node { background: var(--c-accent); color: var(--c-accent-ink); }
.pc-process-body { text-align: left; padding: 0; flex: 1 1 auto; }
.pc-process-time { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--c-ink-3); }
.pc-process-t { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.5px; margin: 4px 0 8px; }
.pc-process-d { font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--c-ink-2); max-width: none; margin: 0; }

/* ── CTA / footer ─────────────────────────────────────────────── */
.pc-cta { background: var(--c-ink); color: var(--c-paper); padding: 100px 60px; position: relative; overflow: hidden; }
.pc-cta-bg-text { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 360px; letter-spacing: -10px; color: rgba(255,255,255,0.04); user-select: none; line-height: 1; font-weight: 900; pointer-events: none; }
.pc-cta-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.pc-cta-tag { display: inline-block; padding: 6px 12px; background: var(--c-accent); color: var(--c-accent-ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; margin-bottom: 28px; }
.pc-cta-h2 { font-family: var(--font-display); font-size: clamp(48px, 6vw, 96px); line-height: 0.92; letter-spacing: -3px; margin: 0; }
.pc-cta-h2 .accent { color: var(--c-accent); }
.pc-cta p { font-family: var(--font-body); font-size: 17px; color: rgba(240,235,224,0.7); max-width: 480px; margin-top: 24px; }
.pc-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.pc-cta-btn { padding: 16px 24px; background: var(--c-accent); color: var(--c-accent-ink); border: 1.5px solid var(--c-paper); font-family: var(--font-mono); font-size: 13px; letter-spacing: 1.5px; font-weight: 700; }
.pc-cta-email { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--c-paper); border-bottom: 1.5px solid var(--c-accent); padding-bottom: 4px; }
.pc-contact { border: 1.5px solid var(--c-paper); padding: 32px 28px; background: rgba(255,255,255,0.04); }
.pc-contact-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--c-accent); margin-bottom: 18px; }
.pc-contact-list { display: flex; flex-direction: column; gap: 18px; }
.pc-contact-line { display: flex; align-items: center; gap: 14px; }
.pc-contact-line .k { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: rgba(240,235,224,0.5); width: 90px; }
.pc-contact-line .v { font-family: var(--font-body); font-size: 15px; color: var(--c-paper); }
.pc-contact-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: rgba(240,235,224,0.4); }

/* filament odometer (inside contact card) */
.pc-odo { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; }
.pc-odo-head { display: flex; justify-content: space-between; align-items: center; color: rgba(240,235,224,0.45); margin-bottom: 10px; }
.pc-odo-live { display: inline-flex; align-items: center; gap: 6px; color: #5fd97a; }
.pc-odo-live .d { width: 5px; height: 5px; border-radius: 50%; background: #5fd97a; box-shadow: 0 0 6px #5fd97a; animation: pcPulse 1.4s infinite; }
.pc-odo-vals { display: flex; gap: 24px; align-items: baseline; }
.pc-odo-g { font-family: var(--font-display); font-size: 26px; color: var(--c-accent); letter-spacing: -0.8px; font-variant-numeric: tabular-nums; }
.pc-odo-m { font-family: var(--font-display); font-size: 22px; color: var(--c-paper); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.pc-odo-u { color: rgba(240,235,224,0.5); margin-left: 6px; font-size: 11px; }
.pc-odo-mid { color: rgba(240,235,224,0.25); font-size: 14px; }
.pc-odo-foot { margin-top: 8px; color: rgba(240,235,224,0.35); }
.pc-odo-stat { margin-top: 8px; }
.pc-odo-stat + .pc-odo-stat { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.pc-odo-num { display: flex; align-items: baseline; gap: 6px; }
.pc-odo-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--c-accent); margin-top: 4px; }
.pc-odo-desc { font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: rgba(240,235,224,0.6); margin-top: 6px; }

/* end-of-print stamp */
.pc-endprint { margin-top: 64px; font-family: var(--font-mono); font-size: 12px; line-height: 1.75; color: rgba(240,235,224,0.55); border-top: 1px dashed rgba(255,255,255,0.18); padding-top: 22px; max-width: 760px; position: relative; }
.pc-endprint .ok { color: #5fd97a; font-weight: 700; }
.pc-endprint .dim { color: rgba(240,235,224,0.35); }
.pc-endprint .code { color: #7ad8ff; }
.pc-endprint .next { color: var(--c-accent); font-weight: 700; }
.pc-endprint .nextline { margin-top: 14px; color: rgba(240,235,224,0.4); }

.pc-footer { position: relative; margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: rgba(240,235,224,0.4); }

/* ── HUD ──────────────────────────────────────────────────────── */
.pc-hud-desktop { position: fixed; right: 20px; left: auto; bottom: 20px; z-index: 50; width: 260px; background: var(--c-ink); color: var(--c-paper); border: 1px solid var(--c-ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); display: none; transition: width 0.25s ease; }
.pc-hud-desktop.show { display: block; animation: pcSlideIn 0.4s ease-out; }
.pc-hud-title { padding: 8px 12px; background: #000; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pc-hud-title .r { display: flex; align-items: center; gap: 8px; }
.pc-hud-title .minpct { display: none; margin-left: 8px; color: var(--c-accent); font-weight: 700; }
.pc-hud-min { width: 20px; height: 16px; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #3a3a3a; color: var(--c-ink-3); font-family: var(--font-mono); font-size: 12px; line-height: 1; cursor: pointer; transition: color .15s, border-color .15s; }
.pc-hud-min:hover { color: var(--c-accent); border-color: var(--c-accent); }
.pc-hud-title .l { display: flex; align-items: center; gap: 6px; }
.pc-hud-title .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 6px var(--c-accent); animation: pcPulse 1.2s infinite; }
.pc-hud-title .file { color: var(--c-ink-3); }
.pc-hud-pct { padding: 12px 12px 8px; display: flex; align-items: baseline; gap: 8px; }
.pc-hud-pct .big { font-family: var(--font-display); font-size: 36px; color: var(--c-accent); line-height: 1; }
.pc-hud-pct .sym { font-size: 14px; color: var(--c-accent); }
.pc-hud-pct .eta { margin-left: auto; color: var(--c-paper-dk); font-size: 10px; }
.pc-hud-bar-wrap { padding: 0 12px 10px; }
.pc-hud-bar { height: 4px; background: #222; position: relative; }
.pc-hud-bar-fill { position: absolute; inset: 0; right: 100%; background: var(--c-accent); transition: right 0.15s linear; }
.pc-hud-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #2a2a2a; }
.pc-hud-stat { padding: 7px 12px; border-right: 1px solid #2a2a2a; border-bottom: 1px solid #2a2a2a; display: flex; justify-content: space-between; }
.pc-hud-stat .k { color: var(--c-ink-3); }
.pc-hud-cur { padding: 8px 12px; color: var(--c-paper-dk); font-size: 9px; }
.pc-hud-cur .name { color: var(--c-accent); }

/* Minimized → collapse to a compact title pill (keeps live %) */
.pc-hud-desktop.is-min { width: auto; }
.pc-hud-desktop.is-min .pc-hud-pct,
.pc-hud-desktop.is-min .pc-hud-bar-wrap,
.pc-hud-desktop.is-min .pc-hud-stats,
.pc-hud-desktop.is-min .pc-hud-cur,
.pc-hud-desktop.is-min .pc-hud-title .file { display: none; }
.pc-hud-desktop.is-min .pc-hud-title { border-bottom: none; }
.pc-hud-desktop.is-min .pc-hud-title .minpct { display: inline; }

.pc-hud-mobile { position: fixed; left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; background: var(--c-ink); color: var(--c-paper); border: 1px solid var(--c-ink); font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; display: none; box-shadow: 0 4px 14px rgba(0,0,0,0.25); overflow: hidden; }
.pc-hud-mobile-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.pc-hud-mobile-row .dot { width: 6px; height: 6px; border-radius: 50%; background: #5fd97a; box-shadow: 0 0 6px #5fd97a; animation: pcPulse 1.2s infinite; flex-shrink: 0; }
.pc-hud-mobile-row .st { color: #5fd97a; font-weight: 700; }
.pc-hud-mobile-row .file { color: var(--c-ink-3); }
.pc-hud-mobile-row .pct { margin-left: auto; color: var(--c-paper); font-weight: 700; }
.pc-hud-mobile-row .layer { color: var(--c-ink-3); white-space: nowrap; }
.pc-hud-mobile-bar { height: 2px; background: #222; position: relative; }
.pc-hud-mobile-bar-fill { position: absolute; inset: 0; right: 100%; background: var(--c-accent); transition: right 0.15s linear; }

/* ─── MOBILE (ported from design) ─────────────────────────────── */
@media (max-width: 900px) {
  body { padding-top: 64px; }
  .pc-gantry-nav { display: none !important; }
  .pc-gantry-cta { padding: 6px 10px !important; font-size: 9px !important; }
  .pc-gantry-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 30px; padding: 7px 6px; border: 1.5px solid var(--c-ink); background: var(--c-paper); box-shadow: 2px 2px 0 0 var(--c-ink); cursor: pointer; }
  .pc-gantry-burger span { display: block; height: 2px; width: 100%; background: var(--c-ink); transition: transform 0.25s ease, opacity 0.2s ease; }
  .pc-gantry-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .pc-gantry-burger.is-open span:nth-child(2) { opacity: 0; }
  .pc-gantry-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .pc-gantry-menu { display: block; max-height: 0; overflow: hidden; transition: max-height 0.32s ease; background: var(--c-paper); }
  .pc-gantry-menu.is-open { max-height: 80vh; border-top: 1px solid var(--c-ink); }
  .pc-gantry-menu a { display: block; padding: 15px 28px; border-bottom: 1px solid var(--c-paper-dk); font-family: var(--font-mono); font-size: 13px; letter-spacing: 2px; color: var(--c-ink); }
  .pc-gantry-menu a:last-child { border-bottom: none; }
  .pc-gantry-menu a.is-active { color: var(--c-accent); }
  .pc-gantry-brand-sub { display: none !important; }
  .pc-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .pc-hero { padding: 28px 20px 40px !important; }
  .pc-hero-h1 { font-size: clamp(40px, 9vw, 60px) !important; letter-spacing: -1px !important; }
  .pc-hero-stats { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .pc-boot { max-width: 100% !important; }
  .pc-services { padding: 60px 20px !important; }
  .pc-services-grid { grid-template-columns: 1fr !important; border-top: none !important; }
  .pc-service-tile { border-right: none !important; border-bottom: 1.5px solid var(--c-ink) !important; min-height: 280px !important; }
  .pc-section-head h2 { font-size: clamp(36px, 8vw, 56px) !important; }
  .pc-services-head .pc-services-title { font-size: clamp(26px, 7vw, 40px) !important; flex-direction: column; align-items: flex-start; gap: 4px; }
  .pc-services-head .pc-services-title .sep { display: none; }
  .pc-work { padding: 60px 20px !important; }
  .pc-work-grid { grid-template-columns: repeat(6, 1fr) !important; grid-auto-rows: auto !important; gap: 10px !important; }
  .pc-work-tile { grid-row: auto !important; }
  .pc-work-tile.pc-has-img { grid-column: span 6 !important; aspect-ratio: 4 / 5; }
  .pc-work-tile.pc-has-img.is-wide { aspect-ratio: 3 / 2; }
  .pc-work-tile.pc-has-img.is-square { aspect-ratio: 1 / 1; }
  .pc-work-soon { grid-column: span 2 !important; aspect-ratio: 1 / 1; }
  .pc-work-tile.pc-has-img .pc-work-name { font-size: 19px; }
  .pc-process { padding: 60px 20px !important; }
  .pc-process-t { font-size: 22px !important; }
  .pc-cta { padding: 60px 20px !important; }
  .pc-cta-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .pc-cta-h2 { font-size: clamp(36px, 9vw, 56px) !important; }
  .pc-cta-bg-text { font-size: 96px !important; }
  .pc-footer { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
  .pc-hud-desktop { display: none !important; }
  .pc-hud-desktop.show { display: none !important; }
  .pc-hud-mobile.show { display: block !important; animation: pcSlideIn 0.4s ease-out; }
  .pc-hero-meta { flex-wrap: wrap; gap: 12px; font-size: 9px !important; }
  .pc-hero-meta span:nth-child(1), .pc-hero-meta span:nth-child(2) { display: none !important; }
  .pc-ticker-track { gap: 8px 14px !important; font-size: 11px !important; padding: 14px 18px !important; }
  .pc-swatches { padding: 14px 18px 18px !important; }
  .pc-service-tile { min-height: auto !important; }
  .pc-service-foot { position: static !important; left: auto !important; right: auto !important; bottom: auto !important; margin-top: 20px !important; }
  .pc-life { box-shadow: 5px 5px 0 0 var(--c-accent) !important; }
  .pc-tab { font-size: 9px !important; padding: 0 7px !important; letter-spacing: 1px !important; }
  .pc-tab .num { margin-right: 4px !important; }
  .pc-contact { padding: 24px 20px !important; }
  .pc-contact-line { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
  .pc-contact-line .k { width: auto !important; }
  .pc-contact-line .v { overflow-wrap: anywhere; }
}

@media (max-width: 540px) {
  .pc-hero-h1 { font-size: clamp(34px, 10vw, 52px) !important; }
  .pc-life { height: 460px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Archive page ─────────────────────────────────────────────── */
.pc-arch { padding: 90px 60px; background: var(--c-paper); position: relative; min-height: 70vh; }
.pc-arch-grid { column-count: 4; column-gap: 14px; margin-top: 36px; }
.pc-arch-item { break-inside: avoid; margin: 0 0 14px; position: relative; border: 1.5px solid var(--c-ink); overflow: hidden; background: #0d0d0d; transition: transform 0.25s, box-shadow 0.25s; }
.pc-arch-item:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 var(--c-ink); }
.pc-arch-item img { width: 100%; height: auto; display: block; }
.pc-arch-item figcaption { position: absolute; top: 8px; left: 10px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px; color: #fff; background: rgba(0,0,0,0.55); padding: 2px 7px; }
.pc-arch-empty { margin-top: 40px; padding: 48px 32px; border: 1.5px dashed var(--c-ink-3); text-align: center; font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px; color: var(--c-ink-2); line-height: 1.9; }
.pc-arch-empty code { background: var(--c-paper-alt); padding: 2px 7px; border: 1px solid var(--c-paper-dk); }
.pc-arch-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--c-ink); border-bottom: 1.5px solid var(--c-accent); padding-bottom: 3px; }
.pc-arch-cats { position: sticky; top: var(--gantry-h, 76px); z-index: 40; display: flex; gap: 7px; flex-wrap: wrap; padding: 9px 0; margin: 4px 0 16px; background: var(--c-paper); border-bottom: 1px solid var(--c-ink); }
.pc-arch-cats[hidden] { display: none; }
.pc-arch-cat { flex: 0 0 auto; padding: 5px 13px; border: 1.5px solid var(--c-ink); background: var(--c-paper); color: var(--c-ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.pc-arch-cat:hover { background: var(--c-paper-alt); }
.pc-arch-cat.is-active { background: var(--c-ink); color: var(--c-paper); }
.pc-arch-top { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45; width: 46px; height: 46px; display: grid; place-items: center; background: var(--c-warm); color: var(--c-warm-ink); border: 1.5px solid var(--c-ink); box-shadow: 3px 3px 0 0 var(--c-ink); font-size: 18px; line-height: 1; cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, box-shadow .15s, bottom .25s ease; }
.pc-arch-top.show { opacity: 1; transform: none; pointer-events: auto; }
.pc-arch-top.show:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 0 var(--c-ink); }
.pc-arch-top.has-hud { bottom: 226px; }                                                   /* πάνω από το print HUD (index) */
@media (max-width: 900px) { .pc-arch-top.has-hud { bottom: calc(66px + env(safe-area-inset-bottom)); } }  /* πάνω από το mobile bar */
.pc-arch-footer { background: var(--c-ink); color: var(--c-paper); padding: 28px 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; }
@media (max-width: 1100px) { .pc-arch-grid { column-count: 3; } }
@media (max-width: 760px) { .pc-arch { padding: 56px 20px; } .pc-arch-grid { column-count: 2; } .pc-arch-footer { padding: 24px 20px; } }
@media (max-width: 460px) { .pc-arch-grid { column-count: 2; column-gap: 10px; } }

/* ── Work kind chips (filled, inverted per tile type) ─────────── */
.pc-work-kind { background: var(--c-ink); color: var(--c-paper); }
.pc-work-tile.dark .pc-work-kind { background: var(--c-paper); color: #1a1a1a; }
.pc-work-tile.accent .pc-work-kind { background: var(--c-accent-ink); color: var(--c-accent); }

/* ── Work shapes (CSS-drawn placeholders) ─────────────────────── */
.ws-print { width: 100px; height: 70px; background: var(--c-paper-dk); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); border: 1px solid var(--c-ink); position: relative; }
.ws-print.ws-big { width: 200px; height: 130px; }
.ws-print::after { content: ""; position: absolute; inset: 0; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); background: repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0 5px, transparent 5px 6px); }
.pc-work-tile.dark .ws-print { background: #2a2a2a; border-color: #444; }
.pc-work-tile.accent .ws-print { background: var(--c-ink); }

.ws-nfc { width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-accent) 0 6px, transparent 6px 11px, var(--c-ink) 11px 13px, transparent 13px 18px, var(--c-ink) 18px 20px, transparent 20px 25px, var(--c-ink) 25px 27px, transparent 27px); }
.pc-work-tile.dark .ws-nfc, .ws-nfc.dark {
  background: radial-gradient(circle, #fff 0 6px, transparent 6px 11px, #fff 11px 13px, transparent 13px 18px, #fff 18px 20px, transparent 20px 25px, #fff 25px 27px, transparent 27px); }
.pc-work-tile.accent .ws-nfc {
  background: radial-gradient(circle, var(--c-ink) 0 6px, transparent 6px 11px, var(--c-ink) 11px 13px, transparent 13px 18px, var(--c-ink) 18px 20px, transparent 20px 25px, var(--c-ink) 25px 27px, transparent 27px); }

.ws-web { width: 86px; height: 62px; background: var(--c-paper); border: 1.5px solid var(--c-ink); display: flex; flex-direction: column; }
.pc-work-tile.dark .ws-web { background: #2a2a2a; }
.ws-web::before { content: ""; display: block; height: 11px; background: var(--c-ink); }
.ws-web::after { content: ""; display: block; margin: auto 8px 8px; height: 8px; width: 42%; background: var(--c-accent); }
