/* ============================================================
   HYPERDART — PHASE 5, INTEGRATED SYSTEM PAGE
   ============================================================ */
.hd-page { background: var(--dark-2); }
.hd-shell { width: min(100%, var(--max-w)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.hd-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-family: var(--f-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hd-section-title {
  max-width: 940px;
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 3.8vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .99;
}
.hd-heading > p {
  max-width: 720px;
  margin-top: 25px;
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.8;
}
.hd-art-label {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  color: rgba(255,255,255,.52);
  font-family: var(--f-display);
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .10em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

/* Hero */
.hd-hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07101d;
}
.hd-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hd-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,8,18,.80) 0%, rgba(4,8,18,.38) 45%, rgba(4,8,18,.06) 78%),
    linear-gradient(to top, rgba(3,7,16,.82) 0%, rgba(3,7,16,.08) 58%, rgba(3,7,16,.22) 100%);
}
.hd-hero__content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 90px); padding-bottom: 64px; }
.hd-hero .hd-eyebrow { color: rgba(255,255,255,.55); }
.hd-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  color: #fff;
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .82;
  text-transform: uppercase;
}
.hd-hero__content > p { max-width: 650px; margin-bottom: 32px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.68; }
.hd-hero__scroll { display: inline-flex; align-items: center; gap: 14px; color: rgba(255,255,255,.72); font-family: var(--f-display); font-size: .60rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hd-hero__scroll i { width: 48px; height: 1px; background: rgba(255,255,255,.46); transition: width .25s ease, background .25s ease; }
.hd-hero__scroll:hover i { width: 66px; background: #fff; }

/* System overview */
.hd-system { padding: 112px 0 118px; background: var(--bg); color: var(--text); }
.hd-system__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .88fr); gap: clamp(68px, 9vw, 130px); align-items: center; }
.hd-system__copy .hd-section-title { margin-bottom: 27px; }
.hd-system__copy > p { max-width: 700px; color: var(--text-dim); font-size: .97rem; line-height: 1.8; }
.hd-system__copy > p + p { margin-top: 15px; }
.hd-system__visual { min-width: 0; overflow: hidden; border: 1px solid var(--border-md); background: #fff; }
.hd-system__visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hd-system__visual figcaption { margin: 0 24px; padding: 17px 0 19px; border-top: 1px solid var(--border); color: var(--text-muted); font-family: var(--f-display); font-size: .55rem; font-weight: 700; letter-spacing: .09em; line-height: 1.5; text-align: center; text-transform: uppercase; }
.hd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 70px; overflow: hidden; border: 1px solid var(--border-md); }
.hd-facts article { min-width: 0; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 26px; border-right: 1px solid var(--border); }
.hd-facts article:last-child { border-right: 0; }
.hd-facts span { color: var(--text-muted); font-family: var(--f-display); font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hd-facts strong { max-width: 230px; color: var(--text); font-family: var(--f-display); font-size: clamp(.98rem, 1.35vw, 1.22rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.13; }
.hd-facts__note { margin-top: 13px; color: var(--text-muted); font-size: .72rem; line-height: 1.55; }

/* Vehicle architecture */
.hd-architecture { padding: 114px 0 122px; background: #0b1021; color: #fff; }
.hd-architecture .hd-eyebrow { color: rgba(255,255,255,.44); }
.hd-architecture .hd-section-title { max-width: 900px; color: #fff; }
.hd-architecture .hd-heading > p { color: rgba(255,255,255,.60); }
.hd-stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 62px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.hd-stage-card { min-width: 0; min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px 30px 34px; border-right: 1px solid rgba(255,255,255,.16); }
.hd-stage-card:last-child { border-right: 0; }
.hd-stage-card__index { color: rgba(255,255,255,.28); font-family: var(--f-display); font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.hd-stage-card__label { display: block; margin-bottom: 14px; color: #7ea8e9; font-family: var(--f-display); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hd-stage-card h3 { max-width: 330px; color: #fff; font-family: var(--f-display); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.07; }
.hd-stage-card p { margin-top: 20px; color: rgba(255,255,255,.58); font-size: .86rem; line-height: 1.75; }

/* Mission sequence */
.hd-mission { padding: 112px 0 120px; background: var(--bg); color: var(--text); }
.hd-mission__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .55fr); gap: 70px; align-items: end; }
.hd-mission__head > p { color: var(--text-muted); font-size: .78rem; line-height: 1.65; }
.hd-mission__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 58px; list-style: none; background: var(--border-md); border: 1px solid var(--border-md); }
.hd-mission__grid li { min-width: 0; background: #fff; }
.hd-mission__grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hd-mission__grid li > div { min-height: 210px; padding: 23px 25px 27px; }
.hd-mission__grid span { color: var(--accent-dark); font-family: var(--f-display); font-size: .56rem; font-weight: 700; letter-spacing: .12em; }
.hd-mission__grid h3 { margin-top: 18px; color: var(--text); font-family: var(--f-display); font-size: 1.24rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.hd-mission__grid p { margin-top: 12px; color: var(--text-dim); font-size: .82rem; line-height: 1.65; }
.hd-mission__label { margin-top: 14px; color: var(--text-muted); font-family: var(--f-display); font-size: .52rem; font-weight: 700; letter-spacing: .10em; text-align: right; text-transform: uppercase; }

/* Operational value */
.hd-value { position: relative; min-height: 780px; display: flex; align-items: center; isolation: isolate; overflow: hidden; background: #050913; color: #fff; }
.hd-value__media { position: absolute; z-index: -3; inset: 0; }
.hd-value__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hd-value__overlay { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(3,7,17,.95) 0%, rgba(4,9,22,.83) 48%, rgba(4,9,22,.44) 100%), linear-gradient(to top, rgba(2,5,14,.74), transparent 64%); }
.hd-value__content { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 124px; }
.hd-value .hd-eyebrow { color: rgba(255,255,255,.44); }
.hd-value .hd-section-title { max-width: 920px; color: #fff; }
.hd-value .hd-heading > p { color: rgba(255,255,255,.64); }
.hd-value__grid { max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.hd-value__grid article { min-height: 250px; padding: 25px 28px 31px; border-right: 1px solid rgba(255,255,255,.18); background: rgba(5,10,23,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hd-value__grid article:last-child { border-right: 0; }
.hd-value__grid span { color: rgba(255,255,255,.32); font-family: var(--f-display); font-size: .55rem; font-weight: 700; letter-spacing: .12em; }
.hd-value__grid h3 { margin-top: 49px; color: #fff; font-family: var(--f-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hd-value__grid p { margin-top: 14px; color: rgba(255,255,255,.57); font-size: .81rem; line-height: 1.68; }
.hd-users { max-width: 1040px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 35px; align-items: start; margin-top: 34px; }
.hd-users > span { padding-top: 4px; color: rgba(255,255,255,.42); font-family: var(--f-display); font-size: .57rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hd-users > div { display: flex; flex-wrap: wrap; gap: 9px; }
.hd-users strong { padding: 9px 12px; border: 1px solid rgba(255,255,255,.21); background: rgba(5,10,23,.28); color: rgba(255,255,255,.82); font-family: var(--f-display); font-size: .60rem; font-weight: 700; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hd-art-label--value { bottom: 18px; }

/* Development status and CTA */
.hd-development { padding: 112px 0 120px; background: var(--bg); color: var(--text); }
.hd-development__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: clamp(60px, 8vw, 115px); align-items: start; }
.hd-development__copy .hd-section-title { margin-bottom: 27px; }
.hd-development__copy > p { max-width: 700px; color: var(--text-dim); font-size: .97rem; line-height: 1.8; }
.hd-development__copy > p + p { margin-top: 15px; }
.hd-status { padding: 34px 35px 36px; border: 1px solid var(--border-md); background: #fff; }
.hd-status__label { display: block; margin-bottom: 44px; color: var(--accent-dark); font-family: var(--f-display); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hd-status h3 { color: var(--text); font-family: var(--f-display); font-size: clamp(1.45rem, 2.2vw, 2.15rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.hd-status p { margin-top: 20px; color: var(--text-dim); font-size: .82rem; line-height: 1.7; }
.hd-status__links { display: flex; flex-direction: column; gap: 11px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.hd-status__links a { display: flex; align-items: center; justify-content: space-between; color: var(--text); font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hd-status__links a span { transition: transform .2s ease; }
.hd-status__links a:hover span { transform: translateX(5px); }
.hd-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: center; margin-top: 78px; padding: 46px 48px; background: #0b1023; color: #fff; }
.hd-cta .hd-eyebrow { margin-bottom: 12px; color: rgba(255,255,255,.42); }
.hd-cta h2 { color: #fff; font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.hd-cta p { max-width: 650px; margin-top: 15px; color: rgba(255,255,255,.58); font-size: .84rem; line-height: 1.7; }
.hd-btn { min-width: 170px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; background: #fff; color: #0c1020; font-family: var(--f-display); font-size: .66rem; font-weight: 700; letter-spacing: .10em; text-align: center; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.hd-btn:hover { transform: translateY(-1px); background: #e8edf6; }

@media (max-width: 1050px) {
  .hd-system__grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr); gap: 65px; }
  .hd-stage-card { min-height: 420px; padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 850px) {
  .hd-hero { min-height: 720px; }
  .hd-system, .hd-architecture, .hd-mission, .hd-development { padding-top: 92px; padding-bottom: 98px; }
  .hd-system__grid, .hd-development__grid { grid-template-columns: 1fr; gap: 45px; }
  .hd-system__visual { max-width: 720px; }
  .hd-facts { grid-template-columns: 1fr 1fr; }
  .hd-facts article:nth-child(2) { border-right: 0; }
  .hd-facts article:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hd-stage-grid { grid-template-columns: 1fr; }
  .hd-stage-card { min-height: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .hd-stage-card:last-child { border-bottom: 0; }
  .hd-mission__head { grid-template-columns: 1fr; gap: 20px; }
  .hd-mission__head > p { max-width: 560px; }
  .hd-mission__grid { grid-template-columns: 1fr 1fr; }
  .hd-value { min-height: 900px; }
  .hd-value__content { padding-top: 96px; padding-bottom: 124px; }
  .hd-value__grid { grid-template-columns: 1fr; }
  .hd-value__grid article { min-height: 0; padding: 25px 26px 29px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hd-value__grid article:last-child { border-bottom: 0; }
  .hd-value__grid h3 { margin-top: 28px; }
  .hd-users { grid-template-columns: 1fr; gap: 15px; }
  .hd-cta { grid-template-columns: 1fr; gap: 28px; }
  .hd-btn { justify-self: start; }
}

@media (max-width: 620px) {
  .hd-shell { padding-left: 24px; padding-right: 24px; }
  .hd-section-title { font-size: clamp(2.05rem, 10vw, 2.8rem); }
  .hd-hero { min-height: 650px; }
  .hd-hero__video { object-position: 56% center; }
  .hd-hero__overlay { background: linear-gradient(to top, rgba(4,8,18,.94) 0%, rgba(4,8,18,.26) 67%, rgba(4,8,18,.24) 100%); }
  .hd-hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hd-hero__content { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 55px; }
  .hd-art-label { right: 24px; left: 24px; bottom: 16px; text-align: left; }
  .hd-system, .hd-architecture, .hd-mission, .hd-development { padding-top: 76px; padding-bottom: 82px; }
  .hd-system__visual figcaption { margin-left: 16px; margin-right: 16px; }
  .hd-facts { grid-template-columns: 1fr; margin-top: 52px; }
  .hd-facts article, .hd-facts article:nth-child(2) { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--border); }
  .hd-facts article:last-child { border-bottom: 0; }
  .hd-stage-grid { margin-top: 45px; }
  .hd-stage-card { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .hd-mission__grid { grid-template-columns: 1fr; margin-top: 42px; }
  .hd-mission__grid li > div { min-height: 0; }
  .hd-mission__label { text-align: left; }
  .hd-value { min-height: 1080px; }
  .hd-value__media img { object-position: 56% center; }
  .hd-value__overlay { background: linear-gradient(to top, rgba(3,7,17,.96) 0%, rgba(4,9,22,.82) 66%, rgba(4,9,22,.48) 100%); }
  .hd-value__content { padding-top: 80px; padding-bottom: 150px; }
  .hd-users strong { width: 100%; }
  .hd-art-label--value { bottom: 18px; }
  .hd-status { padding: 28px 24px 30px; }
  .hd-status__label { margin-bottom: 32px; }
  .hd-cta { margin-top: 58px; padding: 34px 25px; }
  .hd-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-hero__scroll i, .hd-btn, .hd-status__links a span { transition: none; }
  .hd-hero__video { display: none; }
  .hd-hero { background: #07101d url('../assets/images/HyperDart/hd/HyperDart Operations (1).jpg') center / cover no-repeat; }
}
