
/* Product detail */

/* full-bleed hero replaces the standard subpage top padding */
.product-page {
  padding-top: 0;
}

/* ─── Hero ────────────────────────────────────────── */
.product-page-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}

.product-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.05) 32%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.94) 100%);
}

.product-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 56rem;
  padding: var(--space-section) var(--space-inline) 2.5rem;
}

.product-hero-content .subpage-title {
  font-size: clamp(3.5rem, 13vw, 9rem);
  margin-bottom: 1rem;
}

.product-hero-content .product-page-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0;
}

.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.product-hero-meta .product-page-tags-line,
.product-hero-meta .product-page-stage {
  margin-bottom: 0;
}

.product-hero-meta-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-page-stage {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-page-stage span {
  color: var(--text-dim);
  margin-right: 0.55rem;
}

.product-page-badge {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.32rem 0.7rem;
  white-space: nowrap;
}

/* ─── Media visuals ───────────────────────────────── */
.product-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 2rem 0 0.75rem;
}
.product-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.product-visual--panel {
  background: #f4f3ef;
  padding: clamp(1.25rem, 4vw, 3rem);
}
  
  .product-page-desc p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    max-width: 42rem;
  }
  .product-page-desc p:last-child { margin-bottom: 0; }
  
  .product-page-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 1.75rem 0 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  
  @media (max-width: 900px) {
    .subpage-grid { grid-template-columns: 1fr; gap: 2rem; }
  }

  @media (max-width: 640px) {
    .subpage-hero { padding: 3.5rem 1.5rem 2rem; }
    .subpage-body { padding: 2rem 1.5rem 3.5rem; }
    .product-hero-content { padding: 1.75rem 1.5rem 2rem; }
    .product-hero-content .subpage-title { font-size: clamp(2.5rem, 17vw, 4rem); }
    .product-hero-meta { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  }
  
  .product-page-subtitle {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    max-width: 28rem;
    line-height: 1.5;
  }
  
  .product-page-tags-line {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.85rem;
  }
  
  .product-detail {
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    padding: var(--space-section) var(--space-inline);
  }
  
  .product-detail-inner {
    max-width: 52rem;
    margin: 0 auto;
  }
  
  .product-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 2.25rem 0 1rem;
    line-height: 0.95;
  }
  .product-section-title:first-of-type { margin-top: 1.5rem; }
  
  .product-tech-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
  }
  .product-tech-header .product-section-title { margin: 0; }
  .product-tech-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
  }
  
  .product-subsection-title {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 400;
    margin: 1.75rem 0 0.85rem;
  }
  
  .product-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
    margin-bottom: 0.5rem;
  }
  .product-metrics dt {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--accent);
    line-height: 0.95;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
  }
  .product-metrics dd {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    max-width: 12rem;
    line-height: 1.4;
  }
  
  .product-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
  }
  .product-specs-grid > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .product-specs-grid dt {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    color: var(--text-dim);
  }
  .product-specs-grid dd {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
  }
  
  .product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .product-card-block {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.25rem;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }
  .product-card-block:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
  }
  .product-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f3ef;
    margin: -1.25rem -1.25rem 1rem;
  }
  .product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .product-card-num {
    font-family: var(--font-accent);
    font-size: 0.62rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.75rem;
  }
  .product-card-block h3 {
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.35;
  }
  .product-card-block p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
  }
  
  .product-arch-summary {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.75;
    color: var(--text-muted);
    margin-top: 1.25rem;
    max-width: 42rem;
  }
  
  .product-use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2.5rem;
  }
  .product-use-cases article {
    padding-left: 1rem;
    border-left: 2px solid var(--border);
    transition: border-color 0.2s ease;
  }
  .product-use-cases article:hover {
    border-left-color: var(--accent);
  }
  .product-use-cases h4 {
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.45rem;
  }
  .product-use-cases p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
  }
  
  .product-image-captions {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1.75rem;
  }
  
  .product-footnote {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    color: var(--text-dim);
    margin-top: 1.75rem;
  }
  
  .product-sequence {
    padding: var(--space-section) var(--space-inline);
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  
  .product-sequence-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 1rem;
  }
  
  .product-sequence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .product-sequence-links a {
    font-family: var(--font-accent);
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .product-sequence-links a:hover { color: #fff; }
  
  .product-sequence-current {
    color: #fff;
  }
  
  .product-sequence-actions {
    margin-top: 0;
  }
  
  @media (max-width: 900px) {
    .product-cards { grid-template-columns: 1fr; }
    .product-specs-grid { grid-template-columns: 1fr; }
    .product-specs-grid > div { grid-template-columns: 1fr; gap: 0.25rem; }
    .product-use-cases { grid-template-columns: 1fr; }
  }
  
  @media (max-width: 640px) {
    .product-detail { padding: 2rem 1.5rem 3rem; }
    .product-sequence { padding: 2.5rem 1.5rem 3rem; }
  }