/* HX-2 page (drones.arkemis.space). Uses the tokens and components of shared.css.
   Layout language: a fixed left rail on desktop and one top bar with a single menu on phones; square controls with
   small uppercase mono labels; light, tight headings; hairline rules. Editorial layer: the sky hero, torn-paper
   windows that hold the aircraft, serif display lines, a dark starry closing band. */

.hx { --rail: 232px; --blue: #2f6fe0; --blue-ink: #1f55ba; --night: #0b1020; --line: var(--hair);
  background: var(--bg); color: var(--ink); }
.hx-main { margin-left: var(--rail); min-width: 0; border-left: 1px solid var(--line); background: var(--bg); }
.hx .site-foot { margin-left: var(--rail); }
.hx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ---- rail (desktop) / top bar (phones) */
.hx-rail { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; gap: 28px;
  padding: 26px 22px 22px; background: var(--bg); }
.hx-rail .brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; min-height: 44px; }
.hx-rail .mark { width: 16px; height: 18px; fill: currentColor; }
.hx-rail .wordmark { font: 600 20px/1 "Bricolage", var(--f); letter-spacing: -.02em; transform: translateY(-1px); }
.hx-rail-tag { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-top: -18px; }
.hx-nav { display: grid; gap: 2px; }
.hx-nav a { display: flex; align-items: center; min-height: 34px; font: 400 15px/1.4 var(--f); letter-spacing: -.006em; color: var(--ink-2); text-decoration: none; }
.hx-nav a:hover, .hx-nav a.on { color: var(--ink); }
.hx-nav a.on { font-weight: 500; }
.hx-rail-foot { margin-top: auto; display: grid; gap: 10px; }
.hx-sites { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.hx-sites a { font: 400 13px/2 var(--f); color: var(--ink-3); text-decoration: none; }
.hx-sites a:hover { color: var(--ink); }
.hx-rail .menu-btn { display: none; }
.hx-rail .menu[hidden] { display: none; }
.hx-rail .menu { display: none; }

/* ---- square controls with mono labels */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink);
  border-radius: 0; background: #fff; color: var(--ink); font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.hx-btn:hover { background: var(--ink); color: #fff; }
.hx-btn:active { transform: translateY(1px); }
.hx-btn.pri { background: var(--blue); border-color: var(--blue); color: #fff; }
.hx-btn.pri:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.hx-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.hx-btn.ghost:hover { background: #fff; color: var(--night); }
.hx-kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hx-kicker i { width: 6px; height: 6px; background: var(--blue); }

/* ---- hero: sky, torn window, aircraft */
.hx-hero { position: relative; margin: 10px; height: clamp(360px, 56vw, 660px); overflow: hidden; background: #7fb2ea url(/assets/hero-sky.webp) center / cover no-repeat; }
.hx-hero .hx-kicker { position: absolute; left: 18px; top: 16px; padding: 7px 10px; background: #fff; color: var(--ink); }
.torn { position: absolute; inset: 0; margin: auto; width: min(64%, 760px); aspect-ratio: 16 / 9.6; filter: drop-shadow(0 18px 26px rgba(10, 25, 60, .35)); }
.torn::before { content: ""; position: absolute; inset: -3.2%; background: #fbf9f4;
  clip-path: polygon(0.1% 0.1%, 3.2% -0.4%, 7.2% -0.1%, 10.7% -0.3%, 15.5% 1.4%, 18.0% -0.2%, 21.8% -0.1%, 26.2% 1.5%, 28.6% -1.1%, 32.6% -0.4%, 36.5% 0.6%, 40.2% 1.1%, 43.8% 1.6%, 47.3% 1.0%, 50.9% 1.0%, 54.7% -1.3%, 58.1% 0.6%, 61.7% 0.3%, 65.1% 1.2%, 68.6% 1.3%, 72.0% 1.5%, 76.6% -0.4%, 79.9% 0.1%, 83.3% 0.4%, 88.0% -1.0%, 90.8% 0.1%, 93.1% 1.6%, 97.2% 1.1%, 98.9% 2.9%, 99.6% 5.8%, 99.3% 9.7%, 99.6% 13.1%, 99.0% 17.0%, 98.6% 20.8%, 99.0% 24.2%, 98.4% 28.0%, 99.6% 31.1%, 100.7% 34.3%, 101.4% 37.9%, 99.4% 41.9%, 98.2% 45.6%, 99.0% 49.1%, 99.2% 52.7%, 100.9% 56.5%, 99.8% 60.0%, 100.8% 63.8%, 99.1% 67.0%, 99.1% 70.5%, 98.6% 73.9%, 98.6% 77.4%, 100.0% 81.8%, 98.8% 84.6%, 99.7% 88.8%, 97.6% 90.7%, 98.9% 95.4%, 99.6% 99.6%, 95.2% 98.7%, 92.2% 99.3%, 88.2% 98.9%, 85.7% 100.3%, 80.7% 98.2%, 78.2% 100.0%, 73.6% 98.0%, 70.7% 99.5%, 67.6% 100.9%, 63.9% 100.9%, 59.9% 99.6%, 56.1% 97.6%, 52.7% 100.3%, 49.1% 98.1%, 45.5% 99.9%, 41.6% 101.2%, 38.1% 100.4%, 34.6% 99.8%, 31.7% 97.8%, 27.1% 100.5%, 24.4% 98.5%, 19.5% 100.8%, 16.5% 99.8%, 12.5% 100.3%, 9.5% 99.5%, 7.6% 97.5%, 2.4% 99.4%, 2.4% 95.8%, -0.2% 94.7%, -1.3% 92.0%, 0.3% 87.0%, -1.5% 84.6%, 0.6% 79.6%, 0.4% 76.2%, 1.5% 72.0%, -0.6% 69.3%, -1.4% 65.9%, 0.9% 61.6%, -0.8% 58.3%, 2.4% 54.3%, 1.5% 50.9%, 1.0% 47.3%, 0.1% 43.6%, -0.2% 40.0%, 0.4% 36.5%, -0.1% 32.7%, 1.5% 29.7%, 0.8% 25.9%, 2.3% 23.1%, 0.1% 18.3%, -0.4% 14.2%, 0.5% 11.3%, -0.9% 6.5%, 0.9% 4.5%);
 }
.torn-in { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #5b6474 0, #2a303c 55%, #161a22 100%);
  clip-path: polygon(4.3% 4.3%, 7.0% 3.6%, 12.7% 6.4%, 14.9% 5.1%, 18.3% 5.2%, 21.6% 5.4%, 23.3% 2.6%, 27.7% 4.5%, 30.7% 3.8%, 34.8% 6.1%, 37.5% 4.1%, 40.9% 4.7%, 44.1% 4.0%, 47.5% 4.3%, 50.8% 5.0%, 54.3% 2.2%, 57.1% 6.6%, 60.3% 6.4%, 63.7% 5.7%, 67.0% 5.4%, 71.6% 2.6%, 74.7% 3.1%, 77.9% 3.6%, 80.8% 4.2%, 84.1% 4.3%, 87.1% 4.6%, 91.2% 3.8%, 94.9% 3.4%, 95.7% 5.9%, 95.6% 9.4%, 94.6% 13.5%, 94.6% 16.8%, 94.7% 19.9%, 94.6% 23.3%, 96.6% 25.4%, 96.2% 29.0%, 95.2% 32.8%, 93.3% 36.6%, 94.0% 39.6%, 94.1% 42.8%, 95.6% 45.9%, 97.2% 49.1%, 96.1% 52.5%, 97.7% 56.1%, 93.8% 58.8%, 95.2% 62.3%, 93.7% 65.1%, 95.4% 69.0%, 95.2% 72.2%, 94.7% 75.2%, 97.9% 80.5%, 95.3% 82.1%, 93.9% 84.3%, 94.7% 88.2%, 93.8% 90.7%, 96.7% 96.7%, 93.4% 96.8%, 89.4% 96.1%, 84.2% 93.7%, 82.4% 95.6%, 79.1% 95.7%, 75.7% 95.6%, 72.2% 95.2%, 68.8% 94.9%, 66.4% 97.5%, 62.3% 95.2%, 59.2% 96.1%, 55.8% 95.7%, 52.4% 94.4%, 49.1% 97.3%, 45.9% 95.5%, 42.4% 96.6%, 39.3% 95.3%, 36.3% 94.4%, 32.6% 95.5%, 29.6% 94.9%, 25.0% 97.4%, 22.5% 95.9%, 18.2% 97.2%, 16.4% 95.0%, 14.1% 93.8%, 11.1% 93.7%, 5.8% 95.9%, 4.7% 93.7%, 3.6% 91.4%, 3.3% 88.2%, 6.6% 82.4%, 5.3% 80.1%, 4.4% 77.3%, 5.9% 73.2%, 2.9% 71.4%, 3.7% 67.7%, 4.3% 64.1%, 5.2% 60.6%, 4.3% 57.5%, 4.4% 54.1%, 3.5% 50.8%, 3.9% 47.5%, 3.6% 44.1%, 3.9% 40.8%, 5.3% 37.8%, 4.7% 34.4%, 6.8% 31.9%, 4.5% 27.7%, 3.9% 24.0%, 5.3% 21.5%, 2.8% 16.5%, 4.7% 14.6%, 5.9% 12.3%, 6.4% 9.6%); }
.torn-in img { position: absolute; inset: 0; margin: auto; width: 86%; max-height: 80%; object-fit: contain; }
.torn.sm { width: min(86%, 520px); }

/* ---- intro under the hero */
.hx-intro { text-align: center; padding: clamp(36px, 5vw, 64px) 0 clamp(30px, 4vw, 48px); }
.hx-note { display: inline-flex; align-items: center; gap: 12px; font: 400 14px/1.5 var(--f); color: var(--ink-2); }
.hx-note::before, .hx-note::after { content: ""; width: clamp(24px, 6vw, 72px); height: 1px; background: var(--line); }
.hx-title { margin: 18px auto 0; max-width: 16ch; font: 400 clamp(40px, 5.6vw, 80px)/1.02 var(--f); letter-spacing: -.045em; color: var(--ink); }
.hx .serif { font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: inherit; }
.hx-lede { margin: 20px auto 0; max-width: 56ch; font: 400 17px/1.6 var(--f); letter-spacing: -.006em; color: var(--ink-2); }
.hx-cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---- figure strip */
.hx-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hx-strip div { padding: 18px 16px; border-left: 1px solid var(--line); }
.hx-strip div:first-child { border-left: 0; }
.hx-strip b { display: block; font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--f); letter-spacing: -.03em; color: var(--ink); }
.hx-strip span { display: block; margin-top: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hx-strip-note { padding: 10px 16px 0; font: 400 13px/1.5 var(--f); color: var(--ink-3); }

/* ---- sections */
.hx-sec { padding: clamp(56px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); }
.hx-h2 { font: 400 clamp(30px, 3.8vw, 52px)/1.06 var(--f); letter-spacing: -.04em; color: var(--ink); }
.hx-h3 { font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--f); letter-spacing: -.025em; color: var(--ink); }
.hx-p { margin-top: 16px; max-width: 52ch; font: 400 17px/1.6 var(--f); letter-spacing: -.006em; color: var(--ink-2); }

/* tabs */
.hx-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--blue); }
.hx-tabs button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 0; background: transparent; color: #fff; font: 500 12px/1 var(--mono);
  letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.hx-tabs button:hover { background: rgba(255, 255, 255, .16); }
.hx-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.hx-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 34px; }
.hx-panel[hidden] { display: none; }
.hx-points { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.hx-points li { padding-left: 16px; border-left: 2px solid var(--blue); }
.hx-points b { display: block; font: 500 16px/1.35 var(--f); letter-spacing: -.01em; color: var(--ink); }
.hx-points span { display: block; margin-top: 3px; font: 400 14px/1.5 var(--f); color: var(--ink-3); }
.hx-art { position: relative; aspect-ratio: 1 / .88; overflow: hidden; background: #7fb2ea url(/assets/hero-sky.webp) center / cover no-repeat; }
.hx-art .torn { inset: auto 0 6% 0; margin: 0 auto; }
.hx-card { position: absolute; right: 4%; top: 4%; width: min(52%, 300px); padding: 14px 14px 12px; background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 16px 30px -14px rgba(10, 25, 60, .5); }
.hx-card p { font: 500 10px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hx-bars { margin-top: 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; align-items: end; height: 92px; }
.hx-bars i { display: block; background: #e3e6ec; }
.hx-bars i.on { background: var(--blue); }
.hx-bars-k { margin-top: 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; font: 400 11px/1.3 var(--f); color: var(--ink-2); text-align: center; }

/* build rows */
.hx-rows { margin-top: 34px; border-top: 1px solid var(--line); }
.hx-rows li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hx-rows span { font: 500 11px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hx-rows p { font: 400 17px/1.55 var(--f); letter-spacing: -.006em; color: var(--ink); max-width: 62ch; }

/* HX-1 heritage */
.hx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hx-old { position: relative; aspect-ratio: 1 / .7; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.hx-old img { width: 84%; }
.hx-old em { position: absolute; left: 12px; top: 12px; padding: 5px 8px; background: #fff; border: 1px solid var(--line); font: 500 10px/1.4 var(--mono);
  letter-spacing: .07em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.hx-compare { margin-top: 26px; width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--f); }
.hx-compare th, .hx-compare td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.hx-compare th { font: 500 11px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hx-compare td:first-child { color: var(--ink-3); }

/* status */
.hx-status { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.hx-status > div { padding: 26px; }
.hx-status > div + div { border-left: 1px solid var(--line); background: var(--bg-2); }
.hx-status ul { margin-top: 14px; display: grid; gap: 10px; }
.hx-status li { position: relative; padding-left: 20px; font: 400 16px/1.5 var(--f); color: var(--ink-2); }
.hx-status li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--blue); }
.hx-status > div + div li::before { background: transparent; border: 1.5px solid var(--ink-3); }

/* closing band: night sky */
.hx-night { position: relative; margin: 10px; padding: clamp(48px, 7vw, 96px) clamp(22px, 5vw, 64px); color: #fff; overflow: hidden; background-color: var(--night);
  background-image: radial-gradient(1px 1px at 12% 22%, #fff 99%, transparent), radial-gradient(1px 1px at 31% 68%, #cfd8ff 99%, transparent),
    radial-gradient(1.5px 1.5px at 48% 14%, #fff 99%, transparent), radial-gradient(1px 1px at 63% 44%, #fff 99%, transparent),
    radial-gradient(1px 1px at 77% 78%, #dfe6ff 99%, transparent), radial-gradient(1.5px 1.5px at 88% 28%, #fff 99%, transparent),
    radial-gradient(1px 1px at 22% 86%, #fff 99%, transparent), radial-gradient(1px 1px at 55% 82%, #fff 99%, transparent),
    radial-gradient(1px 1px at 94% 62%, #fff 99%, transparent), radial-gradient(1px 1px at 6% 54%, #cfd8ff 99%, transparent),
    linear-gradient(180deg, #17254d 0, #0b1020 62%); }
.hx-night::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; background: url(/assets/hero-sky.webp) left center / cover no-repeat;
  clip-path: polygon(0 0, 78% 0, 84% 9%, 76% 20%, 86% 33%, 78% 46%, 88% 58%, 79% 71%, 87% 84%, 80% 100%, 0 100%); opacity: .92; }
.hx-night > * { position: relative; margin-left: 46%; }
.hx-night .hx-h2 { color: #fff; max-width: 14ch; }
.hx-night p { margin-top: 16px; max-width: 46ch; font: 400 17px/1.6 var(--f); color: rgba(255, 255, 255, .78); }
.hx-night .hx-cta { justify-content: flex-start; }

/* briefing cards reuse .brief / .win from shared.css */
.hx .brief { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.hx .brief-card { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px; border: 0; border-radius: 0; background: var(--card); box-shadow: none; }
.hx .brief-card + .brief-card { border-left: 1px solid var(--line); }
.hx .brief-card .h-2 { font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--f); letter-spacing: -.025em; font-stretch: normal; }
.hx .brief-card p { font: 400 16px/1.55 var(--f); color: var(--ink-2); max-width: 44ch; }
.hx .brief-card .hx-btn { margin-top: 6px; }
@media (max-width: 860px) { .hx .brief { grid-template-columns: minmax(0, 1fr); } .hx .brief-card + .brief-card { border-left: 0; border-top: 1px solid var(--line); } }

/* ---- phones and small tablets: one top bar, one menu */
@media (max-width: 1040px) {
  .hx-main, .hx .site-foot { margin-left: 0; border-left: 0; }
  .hx-main { padding-top: 60px; }
  .hx-rail { inset: 0 0 auto 0; width: auto; height: 60px; flex-direction: row; align-items: center; gap: 10px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
  .hx-rail-tag, .hx-rail > .hx-nav, .hx-rail-foot { display: none; }
  .hx-rail .hx-top-cta { display: inline-flex; margin-left: auto; min-height: 40px; padding: 0 14px; }
  .hx-rail .menu-btn { display: inline-block; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); cursor: pointer; }
  .hx-rail .menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; }
  .hx-rail .menu-btn i:first-child { top: 17px; } .hx-rail .menu-btn i:last-child { top: 25px; }
  .hx-rail.open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
  .hx-rail.open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hx-rail .menu { display: block; position: absolute; left: 0; right: 0; top: 60px; padding: 4px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20, 20, 28, .35); }
  .hx-rail .menu[hidden] { display: none; }
  .hx-rail .menu a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line);
    font: 400 18px/1.3 var(--f); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
  .hx-rail .menu a::after { content: "\2192"; color: var(--ink-3); }
  .hx-rail .menu .hx-btn { margin-top: 16px; width: 100%; border-bottom: 1px solid var(--blue); justify-content: center; color: #fff; font: 500 12px/1 var(--mono); }
  .hx-rail .menu .hx-btn::after { content: none; }
}
@media (min-width: 1041px) { .hx-rail .hx-top-cta { display: none; } }
@media (max-width: 860px) {
  .hx-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-strip div:nth-child(4) { border-left: 0; }
  .hx-strip div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .hx-panel, .hx-two { grid-template-columns: minmax(0, 1fr); }
  .hx-status { grid-template-columns: minmax(0, 1fr); }
  .hx-status > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .hx-rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hx-night::before { width: 100%; height: 150px; inset: 0 0 auto 0; clip-path: polygon(0 0, 100% 0, 100% 74%, 88% 88%, 76% 76%, 62% 92%, 48% 78%, 34% 94%, 20% 80%, 8% 92%, 0 82%); }
  .hx-night { padding-top: 190px; }
  .hx-night > * { margin-left: 0; }
  .torn { width: 84%; }
}
@media (max-width: 520px) {
  .hx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-strip div:nth-child(4) { border-left: 1px solid var(--line); }
  .hx-strip div:nth-child(odd) { border-left: 0; }
  .hx-strip div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hx-points { grid-template-columns: minmax(0, 1fr); }
  .hx-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hx-hero { height: 300px; }
  .hx-compare { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hx-btn { transition: none; } }

/* ---- v2: floating capsule nav (shared), no torn paper, the aircraft as a blueprint drawing straight on the page */
.hx-main { margin-left: 0; border-left: 0; padding-top: 0; }
.hx .site-foot { margin-left: 0; }
.hx-hero2 { position: relative; isolation: isolate; text-align: center; padding: calc(var(--head-h) + clamp(36px, 6vw, 80px)) var(--gutter) clamp(28px, 4vw, 48px); }
.hx-hero2::before { content: ""; position: absolute; z-index: -2; inset: 0 0 auto 0; height: min(78%, 720px); background: url(/assets/hero-sky.webp) 50% 30% / cover no-repeat, #cfe0f7; }
.hx-hero2::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 760px 420px at 50% 250px, rgba(253, 251, 249, .9), rgba(253, 251, 249, .6) 55%, rgba(253, 251, 249, 0) 100%),
    linear-gradient(180deg, rgba(253, 251, 249, 0) 46%, var(--bg) 78%); }
.hx-hero2 > .hl { background: #fff; }
.hx-hero2 .hx-title { margin-top: 18px; }
.hx-hero-bp { margin: clamp(26px, 4vw, 52px) auto 0; width: min(980px, 100%); }
.hx-hero-bp img { width: 100%; height: auto; }
.hx-hero2 .hx-note { margin-top: 18px; }
.hx-bp { margin: 0; }
.hx-bp img { width: 100%; height: auto; }
.hx-art { background: none; aspect-ratio: auto; overflow: visible; display: grid; gap: 18px; justify-items: start; }
.hx-card { position: static; width: min(100%, 320px); background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.hx-night::before { display: none; }
.hx-night > * { margin-left: 0; }
.hx-shot { margin: 0; }
.hx-shot img { width: 100%; height: auto; border: 1px solid var(--line); }
.hx-shot figcaption { margin-top: 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 1040px) { .hx-main { padding-top: 0; } }
@media (max-width: 860px) { .hx-night { padding-top: clamp(48px, 7vw, 96px); } }

/* v3: footer centred on the same 1120px measure as the page content, no column rules */
.hx .site-foot { max-width: none; margin: 0; border: 0; background: none; padding: 24px 0 clamp(24px, 4vw, 48px); }
.hx .site-foot .foot { width: min(1120px, 100% - 2 * var(--gutter)); margin: 0 auto; }

/* v4: HX-1 picture straight on the page, no card */
.hx-old { background: none; border: 0; aspect-ratio: auto; display: block; overflow: visible; }
.hx-old img { width: 100%; height: auto; display: block; }
.hx-old em { position: static; display: inline-block; margin-bottom: 10px; padding: 0; background: none; border: 0; color: var(--ink-3); }

/* v5: scroll steps instead of tabs */
.hx-step { margin-top: 0; padding: clamp(40px, 6vw, 84px) 0; border-top: 1px solid var(--line); }
#modes .hx-wrap > .hx-step:first-child { border-top: 0; padding-top: 0; }
#modes .hx-wrap > .hx-step:last-child { padding-bottom: 0; }
.hx-step .hx-kicker + .hx-h2 { margin-top: 14px; }
