/* ==========================================================================
   WORKPRESS AVIATION — v2 "ATLAS / LINE" grammar
   Loaded after main.css. Calm, corporate, cartographic: hairlines, chips,
   big numerals, one moving thing per screen. Kills the fx layers.
   ========================================================================== */

/* ---- sheet folio: small mono label at the top of every page ---- */
.folio {
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.section--dark .folio, .section--dark-deep .folio, .hero-line .folio { color: var(--cloud-2); border-color: var(--navy-line); }
.folio b { color: var(--blue-text); font-weight: 600; }
.hero-line .folio b { color: var(--blue-bright); }

/* ---- chips (technologies, standards) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 11px;
  background: var(--surface);
}
.chip b { color: var(--blue-text); font-weight: 600; }
.section--dark .chip, .section--dark-deep .chip { color: var(--cloud); border-color: var(--navy-line-strong); background: rgba(255,255,255,.03); }
.section--dark .chip b, .section--dark-deep .chip b { color: var(--blue-bright); }

/* ---- row tables (no cards) ---- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row__k { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-text); padding-top: 4px; }
.row__v { color: var(--ink-2); max-width: 66ch; }
.row__v strong { color: var(--ink); font-weight: 600; }
.row__v .chips { margin-top: 12px; }
.section--dark .rows, .section--dark .row { border-color: var(--navy-line); }
.section--dark .row__k { color: var(--blue-bright); }
.section--dark .row__v { color: var(--cloud); }
.section--dark .row__v strong { color: #fff; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 8px; } }

/* ---- big numerals with hairlines ---- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure { padding: 28px 24px 26px 0; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure + .figure { padding-left: 24px; }
.figure__v { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure__v small { font-size: .42em; font-weight: 600; color: var(--blue-text); margin-left: 4px; letter-spacing: 0; }
.figure__l { margin-top: 10px; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
.section--dark .figures, .section--dark .figure, .section--dark-deep .figures, .section--dark-deep .figure { border-color: var(--navy-line); }
.section--dark .figure__v, .section--dark-deep .figure__v { color: #fff; }
.section--dark .figure__v small, .section--dark-deep .figure__v small { color: var(--blue-bright); }
.section--dark .figure__l, .section--dark-deep .figure__l { color: var(--cloud-2); }
@media (max-width: 720px) { .figure { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } .figure:last-child { border-bottom: 0; } }

/* ---- three readers ---- */
.readers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reader { padding: 32px 32px 32px 0; border-right: 1px solid var(--line); }
.reader + .reader { padding-left: 32px; }
.reader:last-child { border-right: 0; }
.reader h3 { font-family: var(--font-display); font-size: var(--h3); font-weight: 700; margin: 12px 0 14px; }
.reader p { color: var(--ink-2); }
.reader p strong { color: var(--ink); font-weight: 600; }
.reader .link-arrow { margin-top: 18px; }
@media (max-width: 980px) { .readers { grid-template-columns: 1fr; } .reader { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } .reader:last-child { border-bottom: 0; } }

/* ---- promise table ---- */
.promise { border-top: 1px solid var(--navy-line); }
.promise__r { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--navy-line); }
.promise__k { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.promise__v { color: var(--cloud); }
.promise__note { margin-top: 18px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cloud-2); }
@media (max-width: 720px) { .promise__r { grid-template-columns: 1fr; gap: 6px; } }

/* ==========================================================================
   THE LINE — hero
   ========================================================================== */
.hero-line {
  background: var(--navy-950); color: #fff; position: relative;
  padding-top: calc(var(--header-h) + 24px);
  min-height: 100vh; display: flex; flex-direction: column;
}
.hero-line > .container { width: 100%; display: flex; flex-direction: column; flex: 1; }
.hero-line__top { padding-top: clamp(20px, 3vh, 40px); padding-bottom: clamp(20px, 3vh, 32px); flex: 1; display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 32px; align-items: end; }
.hero-line .kicker { color: var(--blue-bright); }
.hero-line .headline { color: #fff; max-width: 20ch; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.7rem); }
.hero-line .lead { color: var(--cloud); margin-top: 18px; max-width: 56ch; font-size: var(--text-lg); }
.hero-line .hero__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-line__proof {
  justify-self: end; align-self: end;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cloud-2); display: grid; gap: 10px; text-align: right;
}
.hero-line__proof b { color: #fff; font-weight: 600; }
@media (max-width: 980px) { .hero-line__top { grid-template-columns: 1fr; } .hero-line__proof { justify-self: start; text-align: left; } }

/* the line itself */
.line { position: relative; padding: 26px 0 34px; border-top: 1px solid var(--navy-line); }
.line__track { position: relative; height: 118px; }
.line__rail { position: absolute; left: 0; right: 0; top: 46px; height: 1px; background: var(--navy-line-strong); transform-origin: left; transform: scaleX(0); }
.line--ready .line__rail { transition: transform 1.6s cubic-bezier(.6,.05,.3,1) .2s; transform: scaleX(1); }
.line__st { position: absolute; top: 46px; left: var(--p); width: 0; }
.line__dot { position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; background: var(--navy-700); border: 1px solid var(--cloud-2); border-radius: 50%; transition: background .3s, border-color .3s, box-shadow .3s; opacity: 0; transform: scale(.4); }
.line--ready .line__dot { transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.3,1), background .3s, border-color .3s, box-shadow .3s; opacity: 1; transform: scale(1); }
.line__st.is-lit .line__dot { background: var(--blue); border-color: var(--blue-bright); box-shadow: 0 0 14px rgba(53,181,238,.75); }
.line__ring { position: absolute; left: -14px; top: -14px; width: 29px; height: 29px; border: 1.5px solid var(--blue); border-radius: 50%; opacity: 0; transform: scale(.3); pointer-events: none; }
.line__st.is-pulse .line__ring { animation: line-pulse .7s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes line-pulse { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.line__lbl {
  position: absolute; top: 22px; left: 0; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cloud-2); white-space: normal; width: 124px; text-align: center; line-height: 1.5; opacity: 0;
}
.line--ready .line__lbl { transition: opacity .6s ease; opacity: 1; }
.line__lbl b { display: block; color: var(--blue-bright); font-weight: 600; letter-spacing: .28em; }
.line__st.is-lit .line__lbl { color: var(--cloud); }
.line__st--first .line__lbl { transform: none; text-align: left; width: 130px; }
.line__st--last .line__lbl { transform: translateX(-100%); text-align: right; width: 130px; }
.line__light { position: absolute; top: 46px; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(53,181,238,.9), 0 0 30px 8px rgba(53,181,238,.35); opacity: 0; }
.line__trail { position: absolute; top: 46px; height: 1px; left: 0; width: 0; background: linear-gradient(90deg, transparent, var(--blue-bright)); opacity: .8; }
.line__prod { position: absolute; top: 14px; height: 12px; border: 1px solid var(--navy-line-strong); border-bottom: 0; }
.line__prod span { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cloud-2); white-space: nowrap; background: var(--navy-950); padding: 0 10px; }
.line__out { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cloud-2); }
.line__out b { color: #fff; font-weight: 600; }
.line__out .tele b { color: var(--blue-bright); }

/* vertical line on small screens */
@media (max-width: 860px) {
  .line__track { height: 470px; }
  .line__rail { left: 10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; transform: scaleY(0); }
  .line--ready .line__rail { transform: scaleY(1); }
  .line__st { left: 10px; top: var(--p); }
  .line__lbl { top: -6px; left: 22px; width: auto !important; white-space: nowrap; transform: none !important; text-align: left !important; }
  .line__st--last .line__lbl { top: -14px; }
  .line__lbl b { display: inline; margin-right: 8px; }
  .line__light { left: 10px !important; }
  .line__trail { display: none; }
  .line__prod { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .line__rail, .line__dot, .line__lbl { transition: none !important; transform: none !important; opacity: 1 !important; }
  .line__light, .line__trail { display: none; }
  .line__st .line__dot { background: var(--blue); border-color: var(--blue-bright); }
}

/* ---- chain page block (8 stations detailed) ---- */
.chain { border-top: 1px solid var(--navy-line); counter-reset: st; }
.chain__st { display: grid; grid-template-columns: 64px 240px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--navy-line); align-items: baseline; }
.chain__n { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--blue-bright); letter-spacing: .12em; }
.chain__t { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.chain__d { color: var(--cloud); max-width: 62ch; }
@media (max-width: 860px) { .chain__st { grid-template-columns: 48px 1fr; } .chain__d { grid-column: 2; } }

/* ---- sheet pages: light top under the fixed header ---- */
.sheet-top { padding-top: calc(var(--header-h) + 28px); }
.sheet-top .section-head { margin-top: clamp(40px, 6vw, 72px); }
body:has(.sheet-top) .header { background: rgba(11,18,27,.92); }
.sheet-index { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; }

/* misc */
.mt-8 { margin-top: 8px; }
.max-62 { max-width: 62ch; }
.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---- sheets 03/04: promise on light, figure prefix, checklist chips ---- */
/* promise table on light */
.promise--light { border-color: var(--line); }
.promise--light .promise__r { border-color: var(--line); }
.promise--light .promise__k { color: var(--ink); }
.promise--light .promise__v { color: var(--ink-2); max-width: 66ch; }
.promise--light .promise__note { color: var(--ink-3); }

/* figure prefix, e.g. "< 1 000" */
.figure__v .pre { font-size: .5em; font-weight: 600; color: var(--blue-text); margin-right: 6px; vertical-align: .22em; letter-spacing: 0; }
.section--dark .figure__v .pre, .section--dark-deep .figure__v .pre { color: var(--blue-bright); }

/* checklist chips (RFQ) */
.chips--list { max-width: 760px; }
.chips--list .chip { padding: 10px 14px; }

/* folio stacks on narrow screens */
@media (max-width: 600px) { .folio { flex-direction: column; gap: 4px; } }

/* ---- line station detail (hover / focus / tap) ---- */
.line__st { outline: none; cursor: default; }
.line__st::after { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; }  /* hit area */
.line__tip {
  position: absolute; left: 0; bottom: 22px; transform: translate(-50%, 6px);
  width: 250px; padding: 12px 14px; text-align: left;
  background: rgba(11,18,27,.96); border: 1px solid rgba(53,181,238,.55); border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(53,181,238,.16), 0 16px 40px -16px rgba(0,0,0,.7);
  font-family: var(--font-body); font-size: .8rem; line-height: 1.5; color: var(--cloud);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 5;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s .22s;
}
.line__tip::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 1px; height: 7px; background: rgba(53,181,238,.7); transform: translateX(-50%); }
.line__tip b { display: block; font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 6px; }
.line__st:hover .line__tip, .line__st:focus-visible .line__tip, .line__st.is-open .line__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.line__st:hover .line__dot, .line__st:focus-visible .line__dot, .line__st.is-open .line__dot { background: var(--blue); border-color: #fff; box-shadow: 0 0 16px rgba(53,181,238,.9); }
.line__st--first .line__tip { transform: translate(0, 6px); }
.line__st--first:hover .line__tip, .line__st--first:focus-visible .line__tip, .line__st--first.is-open .line__tip { transform: translate(0, 0); }
.line__st--first .line__tip::after { left: 4px; }
.line__st--last .line__tip { transform: translate(-100%, 6px); }
.line__st--last:hover .line__tip, .line__st--last:focus-visible .line__tip, .line__st--last.is-open .line__tip { transform: translate(-100%, 0); }
.line__st--last .line__tip::after { left: auto; right: 4px; transform: none; }
@media (max-width: 860px) {
  .line__st::after { left: -16px; top: -16px; width: 300px; height: 40px; }
  .line__tip { left: 22px; bottom: auto; top: 22px; width: min(280px, calc(100vw - 80px)); transform: translate(0, -6px); }
  .line__st:hover .line__tip, .line__st:focus-visible .line__tip, .line__st.is-open .line__tip { transform: translate(0, 0); }
  .line__st--first .line__tip, .line__st--last .line__tip { transform: translate(0, -6px); }
  .line__st--first.is-open .line__tip, .line__st--last.is-open .line__tip, .line__st--first:focus-visible .line__tip, .line__st--last:focus-visible .line__tip { transform: translate(0, 0); }
  .line__tip::after { display: none; }
  .line__track { height: 500px; }
}

/* ---- hero photo: the plant, toned into the navy (the one photograph on the site) ---- */
.hero-line { overflow: hidden; }
.hero-line__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-line__bg picture, .hero-line__bg img { display: block; width: 100%; height: 100%; }
.hero-line__bg img { object-fit: cover; object-position: 74% 34%; filter: grayscale(1) brightness(.76) contrast(1.1); opacity: .58; }
.hero-line__bg::before { content: ""; position: absolute; inset: 0; background: var(--navy-900); mix-blend-mode: color; }
.hero-line__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,18,27,.97) 0%, rgba(11,18,27,.86) 34%, rgba(11,18,27,.42) 64%, rgba(11,18,27,.58) 100%),
    linear-gradient(180deg, rgba(11,18,27,.62) 0%, rgba(11,18,27,.18) 26%, rgba(11,18,27,.72) 58%, var(--navy-950) 76%);
}
.hero-line > .container { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .hero-line__bg img { object-position: 62% 22%; opacity: .42; }
  .hero-line__bg::after { background: linear-gradient(180deg, rgba(11,18,27,.55) 0%, rgba(11,18,27,.5) 22%, rgba(11,18,27,.9) 48%, var(--navy-950) 64%); }
}
@media (prefers-reduced-transparency: reduce) { .hero-line__bg { display: none; } }
