:root {
  --ink: #0E1320;
  --ink-2: #1B2030;
  --ink-navy: #14213D;
  --paper: #FFFFFF;
  --paper-2: #F4F5F7;
  --paper-3: #ECEEF2;
  --line: #E2E5EA;
  --line-strong: #C9CED6;
  --muted: #6B7280;
  --muted-2: #9099A6;
  --cyan: #00AEEF;
  --magenta: #EC008C;
  --cta: #F5511E;
  --cta-ink: #FFFFFF;

  --font-display: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }

/* type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.on-dark { color: var(--paper-2); }
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.h-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h-section {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-weight: 600;
}
.h-card {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
p { text-wrap: pretty; }

/* logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  user-select: none;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.logo-mark .dot {
  width: 7px;
  height: 7px;
  background: var(--cta);
  border-radius: 999px;
  display: inline-block;
  transform: translateY(-2px);
}
.logo-lockup {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo.on-dark .logo-mark { color: var(--paper); }
.logo.on-dark .logo-lockup { color: var(--muted-2); }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px;
  background: var(--cta);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-wa { background: #25D366; color: white; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 15px; }
.btn-arrow { transition: transform 0.18s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* chips, pills, badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.chip-cta {
  background: color-mix(in oklch, var(--cta) 12%, white);
  border-color: color-mix(in oklch, var(--cta) 30%, transparent);
  color: var(--cta);
}
.chip-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* index/serial number */
.ix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* hero */
.hero {
  padding: clamp(46px, 6vw, 82px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.hero .h-display {
  font-size: clamp(42px, 4.5vw, 64px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.hero-image {
  aspect-ratio: 4/5;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.92);
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,19,32,0.5));
  pointer-events: none;
}
.hero-image-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* trust strip */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-cell:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.trust-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.trust-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(2) { border-right: none; }
  .trust-cell:nth-child(1), .trust-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* section head */
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 { max-width: 18ch; }

/* product grid */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.product-card {
  background: var(--paper);
  padding: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.18s;
}
.product-card:hover { background: var(--paper-2); }
.product-card:hover .pc-arrow { transform: translate(4px, -4px); }
.pc-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: saturate(0.9) contrast(1.03);
}
.pc-img.zoom-left img { object-position: 20% center; }
.pc-img.zoom-right img { object-position: 80% center; }
.pc-img.zoom-top img { object-position: center 25%; }

/* Per-image fit classes — crop baked-in marketing text out of legacy JPEGs.
   Each rule tunes object-position + scale to show only the clean
   product portion of a specific image. */
.pc-img img.fit-bc-design   { object-position: 88% 80%; transform: scale(2.2); transform-origin: 88% 80%; }
.pc-img img.fit-flyer       { object-position: center; transform: scale(1.1); }
.pc-img img.fit-rollup      { object-position: 50% 60%; transform: scale(1.15); }
.pc-img img.fit-signage     { object-position: 15% 78%; transform: scale(2.5); transform-origin: 15% 78%; }
.pc-img img.fit-exhibit     { object-position: 50% 60%; transform: scale(1.25); }
.pc-img img.fit-vehicle     { object-position: 50% 78%; transform: scale(1.5); transform-origin: 50% 78%; }
.pc-img img.fit-tshirt      { object-position: 50% 100%; transform: scale(2.5); transform-origin: 50% 100%; }
.pc-img img.fit-letter      { object-position: 50% 60%; transform: scale(1.15); }
.pc-img img.fit-canvas      { object-position: 50% 95%; transform: scale(1.35); transform-origin: 50% 95%; }
.pc-img img.fit-cmyk        { object-position: 25% 30%; transform: scale(1.6); transform-origin: 25% 30%; }
.pc-img img.fit-press       { object-position: 75% 20%; transform: scale(1.7); transform-origin: 75% 20%; }
.pc-img img.fit-wall        { object-position: 0% 50%; transform: scale(1.55); transform-origin: 0% 50%; }
.pc-img img.fit-leaflet     { object-position: 78% 55%; transform: scale(1.6); transform-origin: 78% 55%; }
.pc-img img.fit-ink-elephant{ object-position: 78% 60%; transform: scale(1.45); transform-origin: 78% 60%; }
.pc-img:hover img.fit-bc-design   { transform: scale(2.3); }
.pc-img:hover img.fit-signage     { transform: scale(2.6); }
.pc-img:hover img.fit-vehicle     { transform: scale(1.58); }
.pc-img:hover img.fit-tshirt      { transform: scale(2.6); }
.pc-img:hover img.fit-cmyk        { transform: scale(1.7); }
.pc-img:hover img.fit-press       { transform: scale(1.8); }
.pc-img:hover img.fit-wall        { transform: scale(1.65); }
.pc-img:hover img.fit-leaflet     { transform: scale(1.7); }
.pc-img:hover img.fit-ink-elephant{ transform: scale(1.55); }
.pc-img:hover img.fit-canvas      { transform: scale(1.43); }
.pc-img:hover img.fit-flyer       { transform: scale(1.16); }
.pc-img:hover img.fit-rollup      { transform: scale(1.21); }
.pc-img:hover img.fit-exhibit     { transform: scale(1.31); }
.pc-img:hover img.fit-letter      { transform: scale(1.21); }

/* Hero image variants */
.hero-image img.fit-cmyk { object-position: 0% 15%; transform: scale(2.2); transform-origin: 0% 15%; }
.hero-image img.fit-print-press { object-position: 50% 50%; transform: none; }

/* Gallery (portfolio) tiles support same classes via .gallery-img */
.gallery-card .img img.fit-bc-design   { object-position: 88% 80%; transform: scale(2.2); transform-origin: 88% 80%; }
.gallery-card .img img.fit-cmyk        { object-position: 0% 50%; transform: scale(2.6); transform-origin: 0% 50%; }
.gallery-card .img img.fit-press       { object-position: 80% 25%; transform: scale(1.8); transform-origin: 80% 25%; }
.gallery-card .img img.fit-signage     { object-position: 15% 78%; transform: scale(2.3); transform-origin: 15% 78%; }
.gallery-card .img img.fit-vehicle     { object-position: 50% 78%; transform: scale(1.45); transform-origin: 50% 78%; }
.gallery-card .img img.fit-tshirt      { object-position: 50% 100%; transform: scale(2.3); transform-origin: 50% 100%; }
.gallery-card .img img.fit-wall        { object-position: 0% 50%; transform: scale(2.5); transform-origin: 0% 50%; }
.gallery-card .img img.fit-leaflet     { object-position: 78% 55%; transform: scale(1.55); transform-origin: 78% 55%; }
.gallery-card .img img.fit-ink-elephant{ object-position: 65% 45%; transform: scale(1.6); transform-origin: 65% 45%; }
.gallery-card .img img.fit-canvas      { object-position: 50% 95%; transform: scale(1.3); transform-origin: 50% 95%; }
.gallery-card .img img.fit-rollup      { transform: scale(1.1); }
.gallery-card .img img.fit-exhibit     { transform: scale(1.2); }
.gallery-card .img img.fit-letter      { transform: scale(1.1); }
.gallery-card .img img.fit-flyer       { transform: scale(1.05); }

/* Portfolio teaser tiles */
.pt-tile img.fit-bc-design   { object-position: 88% 80%; transform: scale(2.2); transform-origin: 88% 80%; }
.pt-tile img.fit-cmyk        { object-position: 0% 50%; transform: scale(2.4); transform-origin: 0% 50%; }
.pt-tile img.fit-press       { object-position: 80% 25%; transform: scale(1.8); transform-origin: 80% 25%; }
.pt-tile img.fit-rollup      { transform: scale(1.05); }
.pt-tile img.fit-exhibit     { transform: scale(1.15); }
.pt-tile img.fit-vehicle     { object-position: 50% 78%; transform: scale(1.4); transform-origin: 50% 78%; }
.pt-tile img.fit-letter      { transform: scale(1.1); }
.pt-tile:hover img { transform: scale(calc(var(--zoom, 1.05) * 1.05)); }
.pc-body {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pc-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
}
.pc-arrow {
  transition: transform 0.2s ease;
  color: var(--ink);
}
.pc-title { font-family: var(--font-display); font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; }
.pc-price { font-size: 13px; color: var(--muted); }
.pc-price b { color: var(--ink); font-weight: 600; }

/* why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-cell {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.why-num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.06em; }
.why-h { font-family: var(--font-display); font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 10px; }
.why-p { color: var(--muted); font-size: 15px; }

/* portfolio teaser */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.pt-tile {
  aspect-ratio: 1/1;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.pt-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pt-tile:hover img { transform: scale(1.05); }
.pt-tile-caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.pt-tile-tall { aspect-ratio: auto; grid-row: span 2; }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 8vw, 120px) 0;
}
.cta-band .h-section { color: white; }
.cta-band .lead { color: var(--paper-2); }
.cta-band-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 880px) { .cta-band-row { grid-template-columns: 1fr; } }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: white; border-color: rgba(255,255,255,0.25); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* footer */
.footer {
  background: var(--ink);
  color: var(--paper-2);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--paper-2); }
.footer-col a:hover { color: white; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}

/* color bar */
.color-bar {
  display: flex;
  height: 6px;
}
.color-bar > div { flex: 1; }

/* mobile bottom bar */
.mobi-bar {
  display: none;
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  z-index: 60;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
@media (max-width: 720px) {
  .mobi-bar { display: flex; }
}
.mobi-bar a {
  flex: 1;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: white;
}
.mobi-bar a.q { background: var(--cta); }

/* ============ Product detail page ============ */
.prod-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  min-height: 560px;
}
@media (max-width: 880px) { .prod-hero { grid-template-columns: 1fr; } }
.prod-hero-text {
  padding: clamp(48px, 6vw, 96px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  border-right: 1px solid var(--line);
}
@media (max-width: 880px) { .prod-hero-text { border-right: none; border-bottom: 1px solid var(--line); } }
.prod-hero-img {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.prod-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  object-position: center 35%;
}
.prod-hero-img img.fit-bc-design   { object-position: 80% 70%; transform: scale(1.6); transform-origin: 80% 70%; }
.prod-hero-img img.fit-cmyk        { object-position: 25% 30%; transform: scale(1.4); transform-origin: 25% 30%; }
.crumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.crumbs a:hover { color: var(--ink); }

/* tier cards */
.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}
.tier.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier.featured .tier-name,
.tier.featured .tier-price-amt,
.tier.featured .tier-feature { color: var(--paper); }
.tier.featured .tier-price-from,
.tier.featured .tier-sub,
.tier.featured .ix { color: var(--muted-2); }
.tier.featured .tier-feature::before { background: var(--cta); }
.tier-flag {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--cta);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.tier-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}
.tier-price-from { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.tier-price-amt {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price-cur { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.tier-sub { font-size: 14px; color: var(--muted); }
.tier-features { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.tier-feature {
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  color: var(--ink-2);
}
.tier-feature::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--ink);
}

/* spec/price table */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
}
.table tr:hover td { background: var(--paper-2); }
.table .num { font-family: var(--font-mono); }
.table .price { font-weight: 600; }

/* spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-cell {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-cell:last-child { border-right: none; }
.spec-cell h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.spec-cell ul { margin: 0; padding: 0; list-style: none; }
.spec-cell li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 4px 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.spec-cell li::before {
  content: "";
  width: 3px; height: 3px; border-radius: 999px;
  background: var(--ink);
  transform: translateY(-3px);
}

/* ============ Quote form ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; gap: 32px; } }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--cta); }

.dropzone {
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.dropzone.drag, .dropzone:hover { border-color: var(--ink); background: white; }
.dropzone-h { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.dropzone-sub { font-size: 13px; color: var(--muted); }
.dropzone-mono { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.file-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
}
.file-row .name { flex: 1; font-family: var(--font-mono); }
.file-row .size { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.file-row .x {
  cursor: pointer; color: var(--muted); padding: 4px;
}
.file-row .x:hover { color: var(--cta); }

/* aside panel */
.aside {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 28px;
}
.aside h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.aside .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.aside .row:last-child { border-bottom: none; }
.aside .row .k { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.aside .row .v { color: var(--ink); font-weight: 500; text-align: right; }

/* configurator pill choices */
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.15s;
  font-family: var(--font-body);
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: white; border-color: var(--ink); }
.pill .sub { font-family: var(--font-mono); font-size: 11px; opacity: 0.7; margin-left: 6px; }

/* portfolio filter */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: white;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-pill .count { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active { background: var(--ink); color: white; border-color: var(--ink); }
.filter-pill.active .count { color: var(--muted-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.gallery-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-card:hover .img img { transform: scale(1.04); }
.gallery-card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.gallery-card .cat { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.gallery-card .title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-left { padding: 48px; border-right: 1px solid var(--line); }
@media (max-width: 880px) { .contact-left { border-right: none; border-bottom: 1px solid var(--line); } }
.contact-right {
  background: var(--paper-2);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-row { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .k { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-row .v { font-size: 17px; color: var(--ink); font-weight: 500; }
.contact-row .v a:hover { color: var(--cta); }
.contact-row .sub { font-size: 13px; color: var(--muted); }
.map-embed {
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.12) contrast(1.04);
}
.map-embed-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-embed-link:hover { color: var(--cta); border-color: var(--cta); }

/* generic page header (portfolio, quote, contact, upload) */
.page-head {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 16ch;
  margin-bottom: 18px;
}
.page-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.page-head-row .lead { max-width: 56ch; }
@media (max-width: 760px) { .page-head-row { flex-direction: column; align-items: start; } }

/* upload page */
.upload-bigdrop {
  border: 1.5px dashed var(--line-strong);
  background: var(--paper-2);
  padding: 64px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.18s;
}
.upload-bigdrop:hover, .upload-bigdrop.drag {
  border-color: var(--cta);
  background: color-mix(in oklch, var(--cta) 5%, white);
}
.upload-icon {
  width: 56px; height: 56px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink);
}
.upload-h { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.upload-sub { color: var(--muted); font-size: 14px; }
.upload-formats { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.step {
  background: white;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-n { font-family: var(--font-mono); font-size: 11px; color: var(--cta); letter-spacing: 0.06em; }
.step-h { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.step-p { font-size: 13px; color: var(--muted); }

/* WhatsApp deeplink preview */
.wa-preview {
  background: #ECE5DD;
  border: 1px solid var(--line);
  padding: 16px;
  font-family: var(--font-body);
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
  position: relative;
}
.wa-bubble {
  background: #DCF8C6;
  padding: 10px 12px;
  border-radius: 8px 8px 0 8px;
  max-width: 86%;
  margin-left: auto;
  line-height: 1.4;
  white-space: pre-wrap;
  font-size: 13px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}
.wa-time { font-size: 10px; color: var(--muted); text-align: right; margin-top: 4px; font-family: var(--font-mono); }

/* utility */
.muted { color: var(--muted); }
.hr { height: 1px; background: var(--line); margin: 0; border: 0; }
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ink-2);
}

/* portfolio caveat ribbon */
.ribbon {
  background: color-mix(in oklch, var(--cta) 10%, white);
  border: 1px solid color-mix(in oklch, var(--cta) 28%, white);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ribbon b { color: var(--cta); }
.ribbon-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--cta);
  flex: 0 0 6px;
  margin-top: 8px;
}
