/* AARTI-2 — Blueprint Lab (unique: blueprint grid + specimen table) */
:root {
  --bp-ink: #071833;
  --bp-blue: #0B4F9C;
  --bp-line: #7BA3D4;
  --bp-paper: #EAF2FF;
  --bp-fire: #FF4D1C;
  --bp-white: #F7FAFF;
  --bp-muted: #4A6280;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
body.aarti-blueprint {
  margin: 0;
  color: var(--bp-ink);
  font-family: var(--font-mono);
  background: var(--bp-paper);
}
body.aarti-blueprint a { color: inherit; }
img { max-width: 100%; display: block; }

.bp-sheet {
  position: relative;
  min-height: 100vh;
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 18px 0 40px;
}
.bp-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(11, 79, 156, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 79, 156, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.bp-top, .bp-tabs, .bp-main, .bp-foot { position: relative; z-index: 1; }

.bp-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0 16px;
  border-bottom: 2px solid var(--bp-ink);
}
.bp-barcode { display: flex; gap: 3px; height: 36px; align-items: stretch; }
.bp-barcode span {
  width: 3px;
  background: var(--bp-ink);
}
.bp-barcode span:nth-child(3),
.bp-barcode span:nth-child(7) { width: 7px; }
.bp-barcode span:nth-child(5) { width: 2px; opacity: .45; }
.bp-brand { text-decoration: none; }
.bp-brand-code {
  display: block;
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--bp-blue);
  margin-bottom: 2px;
}
.bp-brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.bp-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border: 2px solid var(--bp-ink);
  background: var(--bp-white);
}
.bp-search-label {
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: var(--bp-ink);
  color: var(--bp-white);
  font-size: .68rem;
  letter-spacing: .08em;
}
.bp-search input {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  min-width: 0;
}
.bp-search button {
  border: 0;
  border-left: 2px solid var(--bp-ink);
  background: var(--bp-fire);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bp-tools { display: flex; gap: 10px; align-items: center; }
.bp-tools a {
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.bp-cart {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 2px solid var(--bp-ink);
  padding: 8px 10px;
  background: var(--bp-white);
}
.bp-cart b {
  background: var(--bp-fire);
  color: #fff;
  padding: 1px 6px;
  font-size: .72rem;
}

.bp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--bp-ink);
  margin-bottom: 28px;
}
.bp-tabs a {
  text-decoration: none;
  padding: 12px 14px;
  border-right: 1px solid rgba(7, 24, 51, .2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.bp-tabs a span { color: var(--bp-blue); }
.bp-tabs a.is-active,
.bp-tabs a:hover {
  background: var(--bp-ink);
  color: var(--bp-white);
}
.bp-tabs a.is-active span,
.bp-tabs a:hover span { color: var(--bp-fire); }

.bp-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}
.bp-kicker {
  margin: 0 0 12px;
  color: var(--bp-blue);
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
}
.bp-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: .88;
  letter-spacing: -.04em;
  font-weight: 800;
}
.bp-hero-copy h1 span { color: var(--bp-fire); }
.bp-lede {
  max-width: 46ch;
  color: var(--bp-muted);
  margin: 16px 0 22px;
  line-height: 1.55;
  font-size: .92rem;
}
.bp-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .78rem;
  border: 2px solid var(--bp-ink);
}
.bp-btn-fire { background: var(--bp-fire); color: #fff; border-color: var(--bp-fire); }
.bp-btn-line { background: transparent; }
.bp-btn-line:hover { background: var(--bp-ink); color: #fff; }

.bp-hero-spec {
  border: 2px solid var(--bp-ink);
  background: var(--bp-white);
  padding: 12px;
}
.bp-spec-frame {
  position: relative;
  aspect-ratio: 1;
  background:
    linear-gradient(rgba(11,79,156,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,79,156,.12) 1px, transparent 1px);
  background-size: 16px 16px;
  overflow: hidden;
}
.bp-spec-frame img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  margin: 11% auto;
}
.bp-spec-corners i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bp-fire);
}
.bp-spec-corners i:nth-child(1) { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.bp-spec-corners i:nth-child(2) { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.bp-spec-corners i:nth-child(3) { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.bp-spec-corners i:nth-child(4) { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.bp-spec-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 0;
}
.bp-spec-meta div {
  border-top: 1px solid rgba(7,24,51,.18);
  padding-top: 8px;
}
.bp-spec-meta dt {
  margin: 0;
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--bp-blue);
}
.bp-spec-meta dd {
  margin: 4px 0 0;
  font-size: .85rem;
  font-weight: 700;
}

.bp-section-label {
  font-size: .72rem;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--bp-blue);
  margin-bottom: 12px;
}
.bp-aisles { margin-bottom: 36px; }
.bp-aisle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid var(--bp-ink);
  background: var(--bp-white);
}
.bp-aisle-list li + li { border-top: 1px solid rgba(7,24,51,.18); }
.bp-aisle-list a {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 14px 16px;
}
.bp-aisle-list a:hover { background: rgba(11, 79, 156, .08); }
.bp-aisle-id { color: var(--bp-fire); font-weight: 700; font-size: .78rem; }
.bp-aisle-list strong { font-family: var(--font-display); font-size: 1rem; }
.bp-aisle-list em { font-style: normal; color: var(--bp-muted); font-size: .78rem; }

.bp-table-wrap { margin-bottom: 40px; }
.bp-table { border: 2px solid var(--bp-ink); background: var(--bp-white); }
.bp-tr {
  display: grid;
  grid-template-columns: 56px 110px 1.4fr 1fr 90px 80px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  border-top: 1px solid rgba(7,24,51,.14);
  font-size: .82rem;
}
.bp-th {
  border-top: 0;
  background: var(--bp-ink);
  color: var(--bp-white);
  font-size: .68rem;
  letter-spacing: .1em;
}
.bp-tr:not(.bp-th):hover { background: rgba(255, 77, 28, .08); }
.bp-td-img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7,24,51,.2);
  overflow: hidden;
  background: #fff;
}
.bp-td-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-td-go { color: var(--bp-blue); font-weight: 700; text-align: right; }
.bp-more { margin-top: 16px; }

.bp-foot {
  margin-top: 28px;
  border-top: 2px solid var(--bp-ink);
  padding-top: 22px;
}
.bp-foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--bp-blue);
  margin-bottom: 18px;
}
.bp-foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bp-foot h4 {
  margin: 0 0 10px;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--bp-fire);
}
.bp-foot a {
  display: block;
  text-decoration: none;
  margin: 6px 0;
  font-size: .8rem;
}
.bp-foot a:hover { color: var(--bp-blue); }
.bp-foot p { margin: 0 0 8px; font-size: .8rem; color: var(--bp-muted); line-height: 1.45; }
.bp-foot-base {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(7,24,51,.18);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .72rem;
  color: var(--bp-muted);
}

@media (max-width: 960px) {
  .bp-top { grid-template-columns: 1fr; }
  .bp-barcode { display: none; }
  .bp-hero { grid-template-columns: 1fr; }
  .bp-tr { grid-template-columns: 48px 1fr auto; }
  .bp-tr span:nth-child(2),
  .bp-tr span:nth-child(4),
  .bp-th span:nth-child(2),
  .bp-th span:nth-child(4),
  .bp-th span:nth-child(6) { display: none; }
  .bp-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bp-aisle-list a { grid-template-columns: 70px 1fr; }
  .bp-aisle-list em { display: none; }
  .bp-foot-grid { grid-template-columns: 1fr; }
}
