/* ==========================================================================
   FOTON HDT — deliveries, video and configuration-option components
   ========================================================================== */

/* ---------- delivery page blocks ------------------------------------------ */
.delivery-block { margin-bottom: clamp(3rem, 6vw, 5rem); }
.delivery-block--gap { padding-top: clamp(2.4rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.delivery-head { max-width: 760px; margin-bottom: 1.6rem; }
.delivery-head .kicker { font-family: var(--font-mono); }

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}
.delivery-grid img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius-lg);
  background: #eef2f7;
  box-shadow: 0 6px 18px rgba(10, 16, 32, .07);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.delivery-grid img:hover { transform: translateY(-4px) scale(1.012); box-shadow: 0 18px 40px rgba(10,16,32,.16); }
/* first photo of each event spans the full row for editorial rhythm */
.delivery-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

/* ---------- video ---------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.4rem;
}
.video-card {
  margin: 0; background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, background-color .2s ease;
}
.video-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.075); }
.video-card video {
  width: 100%; aspect-ratio: 16 / 9; display: block;
  background: #05080f; object-fit: cover;
}
.video-card figcaption { padding: 1.2rem 1.25rem 1.4rem; }
.video-tag {
  display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #8fc0ff; margin-bottom: .6rem;
}
.video-card h3 { font-size: 1.02rem; margin: 0 0 .5rem; color: #fff; letter-spacing: -0.01em; }
.video-card p { font-size: .88rem; line-height: 1.62; color: #a9b8ce; margin: 0; }

/* ---------- configuration options table ----------------------------------- */
.spec-table--options th[scope="row"] { width: 30%; vertical-align: top; }
.opt-cell { display: flex; flex-wrap: wrap; gap: .4rem; }
.opt-chip {
  display: inline-block; padding: .3rem .6rem;
  font-size: .78rem; line-height: 1.3; font-family: var(--font-mono);
  background: var(--brand-soft, #eef4fd); color: var(--ink-2, #24344f);
  border: 1px solid var(--brand-line, #d9e5f7); border-radius: 8px;
  white-space: nowrap;
}
.spec-table--options tr + tr th, .spec-table--options tr + tr td { border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .spec-table--options th[scope="row"] { width: 100%; display: block; border-bottom: 0; }
  .opt-chip { font-size: .74rem; }
  .delivery-grid img:first-child { aspect-ratio: 16 / 10; }
}
