/* ═══════════════════════════════════════════════════════════
   Inner pages
   ═══════════════════════════════════════════════════════════ */
.page { position: relative; z-index: 2; background: var(--paper); }
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(46px, 6vw, 86px);
  background: var(--paper); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -14vw; top: -12vw; width: 46vw; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(213,30,42,.12); pointer-events: none;
}
.page-hero__crumbs { display: flex; align-items: center; gap: 10px; font: 500 10px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: clamp(36px, 5vw, 64px); }
.page-hero__crumbs a { text-decoration: none; }
.page-hero__crumbs a:hover { color: var(--red); }
.page-hero__crumbs i { width: 3px; height: 3px; border-radius: 50%; background: var(--red); }
.page-hero__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-hero h1 { font-size: clamp(54px, 8vw, 128px); line-height: .92; letter-spacing: -.055em; max-width: 12ch; }
.page-hero h1 em { color: var(--red); font-weight: 500; }
.page-hero__aside { display: grid; gap: 20px; padding-bottom: 8px; }
.page-hero__aside p { font-size: clamp(15px, 1.25vw, 17px); color: var(--muted); max-width: 44ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.page-hero__meta div { display: grid; gap: 3px; }
.page-hero__meta b { font: 400 21px/1 var(--font); letter-spacing: -.02em; }
.page-hero__meta span { font: 500 8.5px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.page-hero--dark { background: var(--coal); color: var(--paper); }
.page-hero--dark::before { border-color: rgba(255,255,255,.08); }
.page-hero--dark .page-hero__crumbs, .page-hero--dark .page-hero__aside p, .page-hero--dark .page-hero__meta span { color: rgba(244,240,231,.55); }
.page-hero--dark .page-hero__meta { border-top-color: rgba(255,255,255,.16); }
.page-hero--dark h1 em { color: var(--red-bright); }
.page-hero--red { background: var(--red); color: #fff; }
.page-hero--red::before { border-color: rgba(255,255,255,.16); }
.page-hero--red .page-hero__crumbs, .page-hero--red .page-hero__aside p, .page-hero--red .page-hero__meta span { color: rgba(255,255,255,.65); }
.page-hero--red .page-hero__meta { border-top-color: rgba(255,255,255,.24); }
@media (max-width: 880px) { .page-hero__head { grid-template-columns: 1fr; } .page-hero__aside { max-width: 560px; } }

.hero-strip { position: relative; z-index: 2; height: clamp(280px, 44vw, 590px); overflow: hidden; background: var(--paper-2); }
.hero-strip img { width: 100%; height: 100%; object-fit: cover; }
.hero-strip__cap { position: absolute; left: var(--gutter); bottom: 20px; display: flex; align-items: center; gap: 10px; background: rgba(244,240,231,.92); padding: 8px 12px; font: 500 9px/1.4 var(--font); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.hero-strip__cap i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.hero-strip--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,19,.15), transparent 40%, rgba(17,17,19,.35)); pointer-events: none; }

.page-sec { padding: clamp(72px, 8.5vw, 126px) 0; background: var(--paper); }
.page-sec--white { background: var(--white); }
.page-sec--soft { background: var(--paper-2); }
.page-sec--dark { background: var(--coal); color: var(--paper); }
.page-sec--red { background: var(--red); color: #fff; }
.page-sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.page-sec__head { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 90px); align-items: start; margin-bottom: clamp(36px, 5vw, 64px); }
.page-sec__head h2 { font-size: clamp(36px, 4.6vw, 68px); }
.page-sec__head h2 em { color: var(--red); font-weight: 500; }
.page-sec__head p { color: var(--muted); font-size: 15.5px; max-width: 56ch; }
.page-sec--dark .page-sec__head p { color: rgba(244,240,231,.65); }
.page-sec--dark .eyebrow { color: rgba(244,240,231,.58); }
.page-sec--dark .eyebrow::before { background: var(--red-bright); }
.page-sec--red .page-sec__head p { color: rgba(255,255,255,.72); }
.page-sec__head--stack { grid-template-columns: 1fr; }
@media (max-width: 820px) { .page-sec__head { grid-template-columns: 1fr; } }

.lede { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.38; letter-spacing: -.025em; font-weight: 300; max-width: 30ch; }
.lede em { color: var(--red); font-weight: 500; }
.prose { display: grid; gap: 18px; }
.prose p { color: var(--muted); font-size: 15.5px; max-width: 64ch; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose--light p { color: rgba(244,240,231,.67); }
.prose--light strong { color: var(--paper); }
.prose blockquote { margin: 0; padding: 24px 0 24px 26px; border-left: 2px solid var(--red); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.prose blockquote footer { margin-top: 16px; font: 500 9.5px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
.split--media { align-items: start; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__media--frame::before { content: ""; position: absolute; left: -16px; top: 16px; right: 16px; bottom: -16px; border: 1px solid var(--line-2); z-index: 0; }
.split__media--frame img { position: relative; z-index: 1; }
.split__body { display: grid; gap: 22px; }
.split__body h2 { font-size: clamp(34px, 4.2vw, 60px); }
.split__body h2 em { color: var(--red); font-weight: 500; }
.split__body p { color: var(--muted); font-size: 15px; max-width: 52ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split__media--tall img { aspect-ratio: 4 / 3; } }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.mini-stats div { padding: 18px 14px 0 0; }
.mini-stats b { display: block; font: 300 clamp(24px, 2.8vw, 36px)/1 var(--font); letter-spacing: -.04em; }
.mini-stats span { display: block; margin-top: 6px; font: 500 8.5px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-sec--dark .mini-stats, .page-sec--red .mini-stats { border-top-color: rgba(255,255,255,.2); }
.page-sec--dark .mini-stats span, .page-sec--red .mini-stats span { color: rgba(255,255,255,.55); }

/* capability cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--paper); padding: clamp(24px, 3vw, 38px); display: grid; align-content: start; gap: 16px; min-height: 260px; }
.card--white { background: var(--white); }
.card--dark { background: var(--coal); color: var(--paper); }
.card__no { font: 400 11px/1 var(--font); letter-spacing: .14em; color: var(--red); }
.card h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: -.025em; line-height: 1.18; }
.card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.card--dark p { color: rgba(244,240,231,.62); }
.card__list { display: grid; gap: 1px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.card__list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12px; color: var(--muted); }
.card__list b { color: var(--ink); font-weight: 500; }
.card--dark .card__list { border-top-color: rgba(255,255,255,.16); }
.card--dark .card__list b { color: var(--paper); }
.card--dark .card__list li { color: rgba(244,240,231,.55); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* fleet tabs */
.fleet { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(26px, 4vw, 64px); align-items: start; }
.fleet__tabs { display: grid; border-top: 1px solid var(--line); }
.fleet__tab {
  display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 12px;
  padding: 15px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer;
  transition: padding .3s var(--ease), color .25s;
}
.fleet__tab span:first-child { font: 400 10px/1 var(--font); letter-spacing: .12em; color: var(--muted-2); }
.fleet__tab b { font: 400 14px/1.3 var(--font); letter-spacing: -.01em; }
.fleet__tab svg { width: 13px; height: 13px; opacity: .3; transition: opacity .25s, transform .25s; }
.fleet__tab:hover { padding-left: 10px; }
.fleet__tab:hover svg, .fleet__tab[aria-selected="true"] svg { opacity: 1; transform: translateX(2px); color: var(--red); }
.fleet__tab[aria-selected="true"] { padding-left: 10px; }
.fleet__tab[aria-selected="true"] b { color: var(--red); }
.fleet__tab[aria-selected="true"] span:first-child { color: var(--red); }
.fleet__stage { display: grid; gap: 22px; }
.fleet__media { position: relative; background: var(--paper-2); aspect-ratio: 16 / 9; overflow: hidden; }
.fleet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.fleet__media img.is-on { opacity: 1; transform: none; }
.fleet__badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; padding: 7px 10px; font: 500 8.5px/1 var(--font); letter-spacing: .15em; text-transform: uppercase; z-index: 2; }
.fleet__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.fleet__copy h3 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 300; letter-spacing: -.035em; }
.fleet__copy p { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.fleet__specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fleet__specs li { display: flex; justify-content: space-between; gap: 13px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.fleet__specs span { color: var(--muted); }
@media (max-width: 900px) {
  .fleet { grid-template-columns: 1fr; }
  .fleet__tabs { display: flex; overflow-x: auto; gap: 4px; border-bottom: 0; scrollbar-width: none; padding-bottom: 4px; }
  .fleet__tabs::-webkit-scrollbar { display: none; }
  .fleet__tab { flex: none; border: 1px solid var(--line); padding: 10px 12px; grid-template-columns: 1fr; width: auto; }
  .fleet__tab span:first-child, .fleet__tab svg { display: none; }
  .fleet__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
  .fleet__tab[aria-selected="true"] b { color: var(--paper); }
  .fleet__copy { grid-template-columns: 1fr; }
}

/* hotspot photo diagram */
.diagram { position: relative; background: var(--coal); }
.diagram__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; }
.diagram__btn {
  position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75); background: rgba(17,17,19,.5); color: #fff; cursor: pointer;
  display: grid; place-items: center; font: 500 11px/1 var(--font); transition: background .25s, border-color .25s, transform .25s;
}
.diagram__btn::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: pulse 2.6s infinite; }
.diagram__btn:hover, .diagram__btn.is-on, .diagram__btn[aria-expanded="true"] { background: var(--red); border-color: var(--red); transform: translate(-50%, -50%) scale(1.08); }
@keyframes pulse { 0%, 100% { opacity: .2; transform: scale(.9); } 50% { opacity: .8; transform: scale(1.08); } }
.diagram__panel {
  position: absolute; left: 16px; bottom: 16px; width: min(360px, calc(100% - 32px));
  background: rgba(244,240,231,.97); color: var(--ink); padding: 18px 20px; border-top: 2px solid var(--red);
  display: grid; gap: 6px;
}
.diagram__panel b { font: 500 14px/1.3 var(--font); }
.diagram__panel p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.diagram__panel small { font: 500 8.5px/1.3 var(--font); letter-spacing: .15em; text-transform: uppercase; color: var(--red); }
@media (max-width: 760px) { .diagram__btn { width: 30px; height: 30px; } .diagram__panel { position: relative; left: auto; bottom: auto; width: 100%; border-top-width: 2px; } }

/* table */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.data-table th { padding: 15px 18px; background: var(--ink); color: var(--paper); font: 500 9.5px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.data-table th:first-child { padding-left: 20px; }
.data-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.data-table td:first-child { padding-left: 20px; font-weight: 500; }
.data-table tr:hover td { background: rgba(213,30,42,.04); }
.data-table span.loc { color: var(--muted); }
.data-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.page-sec--dark .table-wrap { border-top-color: rgba(255,255,255,.2); }
.page-sec--dark .data-table td { border-bottom-color: rgba(255,255,255,.12); }
.page-sec--dark .data-table tr:hover td { background: rgba(255,255,255,.04); }
.page-sec--dark .data-table span.loc { color: rgba(244,240,231,.55); }

/* values CORE */
.core { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.core__row { display: grid; grid-template-columns: 150px minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 54px); background: var(--paper); padding: clamp(22px, 3vw, 34px); align-items: center; }
.core__letter { font: 300 clamp(70px, 8vw, 130px)/.8 var(--font); color: var(--red); letter-spacing: -.05em; }
.core__row h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; }
.core__row p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 760px) { .core__row { grid-template-columns: 74px 1fr; } .core__row p { grid-column: 2 / -1; } }

/* timeline */
.timeline { border-top: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 120px minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline__year { font: 300 clamp(26px, 3vw, 40px)/1 var(--font); color: var(--red); letter-spacing: -.04em; }
.timeline__item h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.timeline__item p { color: var(--muted); font-size: 13.5px; max-width: 56ch; }
@media (max-width: 700px) { .timeline__item { grid-template-columns: 84px 1fr; } .timeline__item p { grid-column: 2 / -1; } }

/* director note */
.note { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.note__title { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 20px; }
.note__title h2 { font-size: clamp(40px, 5vw, 70px); }
.note__body { display: grid; gap: 26px; }
.note__body blockquote { margin: 0; font: 300 clamp(24px, 3vw, 38px)/1.25 var(--font); letter-spacing: -.035em; }
.note__body blockquote em { color: var(--red); font-style: normal; }
.note__principle { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.note__principle > span { font: 500 10px/1.4 var(--font); letter-spacing: .1em; color: var(--red); }
.note__principle h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.note__principle p { color: var(--muted); font-size: 13.5px; }
@media (max-width: 820px) { .note { grid-template-columns: 1fr; } .note__title { position: static; } }

/* process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process__step { padding: 24px 18px 0 0; border-right: 1px solid var(--line); position: relative; }
.process__step:last-child { border-right: 0; }
.process__step .no { font: 500 10px/1 var(--font); letter-spacing: .14em; color: var(--red); }
.process__step h3 { margin-top: 16px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.process__step p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.process__step::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process__step { padding-bottom: 22px; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } .process__step { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; } }

/* quote / band */
.band { border-left: 3px solid var(--red); padding: 4px 0 4px 24px; display: grid; gap: 14px; }
.band p { font: 300 clamp(20px, 2.5vw, 30px)/1.38 var(--font); letter-spacing: -.025em; max-width: 44ch; }
.band small { font: 500 9.5px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.page-sec--dark .band small { color: rgba(244,240,231,.55); }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 9px 14px; font: 500 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter.is-on, .filter:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.3vw, 16px); }
.gallery__item { position: relative; overflow: hidden; background: var(--paper-2); border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery__item--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption, .gallery__item .gallery__cap { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; background: linear-gradient(180deg, transparent, rgba(17,17,19,.7)); color: #fff; font: 400 11px/1.4 var(--font); text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery__item:hover figcaption, .gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__item[hidden] { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item--tall { grid-row: span 1; aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,11,.95); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 94vw); display: grid; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.7); font-size: 12px; }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
@media (max-width: 620px) { .lightbox__nav { display: none; } }

/* logo wall */
.wall { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wall__item { display: grid; place-items: center; height: 122px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.wall__item img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.wall__item:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wall { grid-template-columns: repeat(2, 1fr); } .wall__item { height: 100px; padding: 16px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-block { display: grid; gap: 26px; }
.contact-block h2 { font-size: clamp(32px, 4vw, 54px); }
.offices { display: grid; gap: 0; border-top: 1px solid var(--line); }
.office { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.office h3 { font: 500 9.5px/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.office address { font-style: normal; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.office a { text-decoration: none; }
.office a:hover { color: var(--red); }
.contact-lines { display: grid; gap: 10px; margin-top: 4px; }
.contact-lines a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; }
.contact-lines a:hover { color: var(--red); }
.contact-lines svg { width: 15px; height: 15px; color: var(--red); flex: none; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 42px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font: 500 9.5px/1.3 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; border-radius: 0;
  padding: 10px 0; font: 400 14px/1.5 var(--font); color: var(--ink); outline: none;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { min-height: 104px; resize: vertical; }
.form__note { font-size: 11px; color: var(--muted-2); line-height: 1.6; }
.form .btn { justify-self: start; }
.form__success { display: none; padding: 12px 14px; background: rgba(213,30,42,.08); border-left: 2px solid var(--red); font-size: 12.5px; color: var(--ink); }
.form__success.is-on { display: block; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

.map { position: relative; margin-top: 8px; border: 1px solid var(--line); background: var(--paper-2); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(1) contrast(.95); }
.map__link { position: absolute; left: 14px; bottom: 14px; background: var(--paper); padding: 9px 12px; font: 500 9.5px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); }
.map__link:hover { background: var(--ink); color: var(--paper); }

/* next page pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { display: grid; gap: 6px; padding: 30px 0; text-decoration: none; }
.pager a + a { border-left: 1px solid var(--line); padding-left: 32px; }
.pager small { font: 500 9px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pager b { font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; letter-spacing: -.03em; }
.pager a:hover b { color: var(--red); }
.pager a:last-child { text-align: right; justify-items: end; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* page CTA */
.page-cta { background: var(--coal); color: var(--paper); padding: clamp(60px, 8vw, 100px) 0; }
.page-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.page-cta h2 { font-size: clamp(34px, 4.4vw, 62px); max-width: 16ch; }
.page-cta h2 em { color: var(--red-bright); font-weight: 500; }
.page-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* about portrait */
.founder { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.founder__years { font: 300 clamp(100px, 17vw, 250px)/.8 var(--font); letter-spacing: -.07em; color: var(--red); }
.founder__body { display: grid; gap: 18px; }
.founder__body h2 { font-size: clamp(32px, 4vw, 54px); }
.founder__body p { color: var(--muted); font-size: 15px; max-width: 56ch; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }

/* railway feature strip */
.platform-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.platform-strip div { background: var(--coal); padding: 20px; display: grid; gap: 6px; }
.platform-strip b { font: 500 14px/1.3 var(--font); }
.platform-strip span { font-size: 11px; color: rgba(244,240,231,.5); }
@media (max-width: 760px) { .platform-strip { grid-template-columns: 1fr 1fr; } }

/* ── fleet tab panels ─────────────────────────────────── */
.fleet__panel { display: grid; gap: 22px; }
.fleet__panel:not([hidden]) .fleet__media img { opacity: 1; transform: none; }
.fleet__panel[hidden] { display: none; }
.fleet__note { font: 500 9px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ── project cards ────────────────────────────────────── */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 42px); }
.project { display: grid; gap: 18px; text-decoration: none; }
.project--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.project__media { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 10; }
.project--wide .project__media { aspect-ratio: 16 / 9; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.035); }
.project__tag { position: absolute; left: 12px; top: 12px; background: rgba(244,240,231,.94); padding: 7px 10px; font: 500 8.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.project__body { display: grid; gap: 10px; }
.project__body h3 { font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.03em; line-height: 1.12; }
.project__body p { color: var(--muted); font-size: 13.5px; max-width: 54ch; }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 9.5px/1.5 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.project__link { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.project__link svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.project:hover .project__link { color: var(--red); }
.project:hover .project__link svg { transform: translateX(4px); }
@media (max-width: 780px) {
  .projects { grid-template-columns: 1fr; }
  .project--wide { grid-column: auto; grid-template-columns: 1fr; }
}

/* ── image mosaic ─────────────────────────────────────── */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(17,17,19,.72)); color: #fff; font: 500 8.5px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic figure:first-child img { aspect-ratio: 1; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 460px) { .mosaic { grid-template-columns: 1fr; } .mosaic figure:first-child { grid-column: auto; } }

/* ── contact / numbers strip ──────────────────────────── */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-strip div { padding: clamp(22px, 3vw, 34px) 22px; border-right: 1px solid var(--line); }
.fact-strip div:last-child { border-right: 0; }
.fact-strip b { display: block; font: 300 clamp(28px, 3.2vw, 46px)/1 var(--font); letter-spacing: -.04em; }
.fact-strip span { display: block; margin-top: 8px; font: 500 8.5px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .fact-strip { grid-template-columns: 1fr 1fr; } .fact-strip div:nth-child(2) { border-right: 0; } .fact-strip div:nth-child(3), .fact-strip div:nth-child(4) { border-top: 1px solid var(--line); } }

/* ── dark data table on light sections ────────────────── */
.table-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; font: 500 9.5px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ── diagram active state ─────────────────────────────── */
.diagram__panel[hidden] { display: none; }
.diagram__caption { position: absolute; right: 16px; top: 16px; background: rgba(17,17,19,.55); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.24); padding: 7px 10px; font: 500 8.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }

/* ── 404 ──────────────────────────────────────────────── */
.error-page {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 70px;
  background:
    radial-gradient(48% 58% at 50% 46%, rgba(213,30,42,.09), transparent 70%),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(16,16,18,.05) calc(50% - .5px), rgba(16,16,18,.05) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--paper);
}
.error-page__inner { display: grid; justify-items: center; gap: 24px; max-width: 760px; }
.error-page__code { font: 300 clamp(120px, 26vw, 330px)/.72 var(--font); letter-spacing: -.08em; color: var(--red); }
.error-page h1 { font-size: clamp(34px, 5vw, 62px); }
.error-page p { color: var(--muted); max-width: 48ch; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

/* ── misc ─────────────────────────────────────────────── */
.kicker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kicker-row i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.note-card { border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 3vw, 38px); display: grid; gap: 18px; }
.note-card h3 { font-size: 22px; font-weight: 400; }
.note-card p { color: var(--muted); font-size: 13.5px; }

.wall__item--cta {
  background: var(--red); color: #fff; text-decoration: none; gap: 8px;
  font: 500 11px/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase;
}
.wall__item--cta:hover { background: var(--red-deep); }
.wall__item--cta svg { width: 20px; height: 20px; }
