/* corporate.css: /corporate/ (P4, 02/11/2026).
 * Stage: the CBD arrival photo, the booking card, and the company bookings list as a compact product shot (one line a
 * trip from 1280px, so the stage fits a 1440 x 900 window; in the flow under the card below 1280px).
 * Then: how an account works (night, four numbered steps), the roadshow day (day, the route map bleeding off the right
 * edge and drifting), finance (night, the sample statement as a product shot on a stack of earlier months), questions. */

/* ---------- the company bookings card (stage aside) ---------- */
.aj-site .mh-card.corp-shot { margin: 0; padding: 0; overflow: hidden; width: 100%; }
.corp-shot-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 14px 18px 12px; border-bottom: 1px solid var(--hair); }
.corp-shot-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.corp-shot-sub { font-size: var(--fs-meta); color: var(--ink-2); }
.corp-shot-list { list-style: none; margin: 0; padding: 0; }
.corp-shot-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 60px; padding: 8px 18px; border-bottom: 1px solid var(--hair); }
.corp-shot-row:last-child { border-bottom: 0; }
.corp-shot-time { font-size: 0.9375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.corp-shot-body { display: grid; gap: 2px; min-width: 0; }
.corp-shot-name { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.corp-shot-meta { font-size: var(--fs-meta); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.corp-shot figcaption { padding: 9px 18px 10px; font-size: var(--fs-meta); color: var(--ink-2); background: var(--sunken); }
@media (max-width: 479px) {
  .corp-shot-row { grid-template-columns: 44px minmax(0, 1fr); }
  .corp-shot-row .tag { grid-column: 2; justify-self: start; }
}
/* from 1280 the list sits under the lede: one line a trip, wider than tall, so the stage holds a 1440 x 900 window */
@media (min-width: 1280px) {
  .page-corporate .mh-aside { max-width: 620px; margin-top: clamp(20px, 2.4vh, 32px); }
  .page-corporate .mh-lede { max-width: 48ch; }
  .corp-shot-head { padding: 11px 16px 10px; }
  .corp-shot-row { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 0; padding: 7px 16px; }
  .corp-shot-body { display: flex; align-items: baseline; gap: 12px; }
  .corp-shot-name { flex: none; min-width: 84px; font-size: 0.9375rem; }
  .corp-shot-row .tag { padding: 3px 8px; }
  .corp-shot figcaption { padding: 7px 16px 8px; }
}
@media (min-width: 1280px) and (max-height: 820px) {
  .corp-shot-row { padding-block: 5px; }
  .corp-shot-head { padding-block: 9px 8px; }
}

/* ---------- how a corporate account works (night): a tall photo drifting left, the words and four steps right ---------- */
.corp-how-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 2rem + 3vw, 96px); }
.corp-how-frame { aspect-ratio: 4 / 5; background: var(--green-raised); }
.corp-how-head { display: grid; gap: clamp(20px, 1rem + 1vw, 32px); padding-top: clamp(24px, 1rem + 1vw, 40px); border-top: 1px solid var(--line); }
.corp-how-head .t-lede { color: var(--text-2); }
.corp-steps { counter-reset: corp-step; margin-top: clamp(48px, 2rem + 3vw, 96px); }
.corp-steps > .fg-item { counter-increment: corp-step; position: relative; padding-top: 24px; }
.corp-steps > .fg-item::after {
  content: counter(corp-step, decimal-leading-zero) / ""; position: absolute; top: 24px; right: 0;
  font-size: var(--fs-small); font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.corp-steps .fg-ic { margin-bottom: clamp(20px, 1rem + 1.5vw, 48px); }
.corp-how .sec-cta { margin-top: clamp(48px, 2rem + 2vw, 72px); }
@media (min-width: 720px) and (max-width: 1023px) { .corp-how-frame { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .corp-how-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .corp-how-photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--frame-top, 96px) + 32px); margin-left: calc(var(--gutter) * -1); }
  .corp-how-body { grid-column: 7 / -1; }
  .corp-how-frame { aspect-ratio: auto; height: min(78vh, 760px); min-height: 520px; }
}
@media (min-width: 1100px) {
  .corp-steps > .fg-item.fg-w3:nth-child(n) { grid-column: span 6; }
}

/* ---------- roadshows: the day beside the route map (day) ---------- */
.corp-roadshow { overflow-x: clip; }
.corp-road { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 2rem + 2vw, 64px); }
.corp-road-words .t-h2 { max-width: 13ch; }
.corp-roadshow .day-list { margin-top: clamp(36px, 2rem + 1.5vw, 56px); }
.corp-roadshow .day-list::before { top: 40px; bottom: 40px; }
.corp-roadshow .day-list li { grid-template-columns: 28px 72px minmax(0, 1fr); min-height: 80px; }
.corp-roadshow .day-t { font-size: 1.125rem; font-weight: 500; color: var(--text-2); }
.corp-roadshow .day-p { font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.3125rem); font-weight: 500; letter-spacing: -0.01em; }
.corp-roadshow .source-line { margin-top: 28px; }
.corp-map-frame { position: relative; overflow: clip; background: var(--map-sea); }
.corp-map-frame .routemap { width: 100%; }
@media (min-width: 1024px) {
  .corp-road { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
  .corp-road-words { grid-column: 1 / span 5; }
  .corp-map-wrap { grid-column: 6 / -1; margin-right: calc(var(--gutter) * -1); }
}
@media (min-width: 1440px) {
  .corp-map-wrap { margin-right: calc((100vw - 1440px) / -2 - var(--gutter)); }
}
@media (max-width: 1023px) {
  .corp-map-wrap { margin-inline: calc(var(--gutter) * -1); }
}

/* ---------- for finance: the statement as a product shot on night ---------- */
.corp-fin { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 3rem + 3vw, 96px); }
.aj-site .corp-finance .t-h2 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 1; }
.corp-finance .spec-rows { margin-top: clamp(36px, 2rem + 2vw, 72px); }
/* phones: every row stacks the same way (label over value), instead of some wrapping and some not */
@media (max-width: 599px) {
  .corp-finance .spec-rows > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .corp-finance .spec-rows dd { text-align: left; }
}
@media (min-width: 1024px) {
  .corp-fin { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; }
  .corp-fin-words { grid-column: 1 / span 5; }
  .stmt-wrap { grid-column: 7 / -1; }
}
.stmt-stack { position: relative; --py: 0px; }
/* two earlier months behind the sheet: depth, not data */
.stmt-stack::before, .stmt-stack::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: var(--r-3);
  background: var(--green-raised); border: 1px solid var(--hair-d); pointer-events: none;
}
.stmt-stack::before { translate: 0 36px; scale: 0.9 1; z-index: 0; opacity: 0.6; }
.stmt-stack::after { translate: 0 18px; scale: 0.95 1; z-index: 0; background: var(--hair-d); }
.aj-site .stmt {
  position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: var(--r-3); box-shadow: var(--shadow-object);
  background: var(--paper); color: var(--ink);
  --text: var(--ink); --text-2: var(--ink-2); --line: var(--hair); --heading: var(--ink);
}
.stmt-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: clamp(20px, 1rem + 1vw, 32px) clamp(20px, 1rem + 1vw, 32px) 18px; border-bottom: 1px solid var(--hair); }
.stmt-title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; }
.stmt-sub { font-size: var(--fs-small); color: var(--ink-2); }
.stmt-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.stmt-table :is(th, td) { padding: 15px 10px; border-bottom: 1px solid var(--hair); text-align: left; font-weight: 500; }
.stmt-table :is(th, td):first-child { padding-left: clamp(20px, 1rem + 1vw, 32px); }
.stmt-table :is(th, td):last-child { padding-right: clamp(20px, 1rem + 1vw, 32px); text-align: right; }
.stmt-table thead th { padding-block: 12px; font-size: var(--fs-meta); color: var(--ink-2); }
.stmt-table td.num { font-variant-numeric: tabular-nums; }
.stmt-table tfoot :is(th, td) { border-bottom: 0; padding-block: 20px; font-size: 1rem; font-weight: 600; }
.stmt-table tfoot td { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.stmt figcaption { padding: 11px clamp(20px, 1rem + 1vw, 32px) 12px; font-size: var(--fs-meta); color: var(--ink-2); background: var(--sunken); }
/* phones: each line folds to two rows (date, passenger and amount; then cost centre and PO), every column kept */
@media (max-width: 599px) {
  .stmt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .stmt-table tbody tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "d p a" ". c o"; column-gap: 10px; row-gap: 2px; padding: 12px 20px; border-bottom: 1px solid var(--hair); }
  .stmt-table tbody td { padding: 0; border: 0; }
  .stmt-table tbody td:first-child, .stmt-table tbody td:last-child { padding: 0; }
  .stmt-table tbody td:nth-child(1) { grid-area: d; color: var(--ink-2); }
  .stmt-table tbody td:nth-child(2) { grid-area: p; }
  .stmt-table tbody td:nth-child(3) { grid-area: c; font-size: var(--fs-meta); color: var(--ink-2); }
  .stmt-table tbody td:nth-child(4) { grid-area: o; font-size: var(--fs-meta); color: var(--ink-2); text-align: right; }
  .stmt-table tbody td:nth-child(5) { grid-area: a; text-align: right; }
  .stmt-table tfoot tr { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px; }
  .stmt-table tfoot :is(th, td), .stmt-table tfoot :is(th, td):first-child, .stmt-table tfoot :is(th, td):last-child { padding: 0; }
  .stmt-stack::before { translate: 0 20px; }
  .stmt-stack::after { translate: 0 10px; }
}


/* ---------- parallax: more headroom for the drifting photo; on phones and tablets nothing drifts over the words ---------- */
.corp-how-frame > img[data-speed] { top: -15%; height: 130%; }
@media (max-width: 1023px) {
  html.mo .page-corporate :is(.corp-map-wrap, .stmt-wrap, .corp-how-frame > img)[data-speed] { translate: none; }
}

/* ---------- questions ---------- */
.page-corporate .land-intro .btn-link { justify-self: start; }
