/* ViCargo: About page. Loads after home.css (section, tag, reveal and nav rules) and before
   headings.css. Every class here is prefixed au- so nothing collides with home.css. */

/* The first section opens under the fixed bar, so the tag (anchored to the content column's top)
   still lands clear of it. */
.au-first { padding-top: calc(var(--bar-h) + var(--sec-pt)); }

.au-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.au-two > * { min-width: 0; }
.au-copy p { margin: 0 0 18px; max-width: 34em; font-size: 18px; line-height: 1.65; color: var(--soft); text-wrap: pretty; }
.au-copy p:last-child { margin-bottom: 0; }
.au-copy .section-head + p { margin-top: 24px; }
.is-dark .au-copy p { color: #9CB0C4; }
.au-lede { margin: 20px 0 0; max-width: 34em; font-size: 18px; line-height: 1.65; color: var(--soft); text-wrap: pretty; }
.is-dark .au-lede { color: #9CB0C4; }

/* Photo slots. Fixed ratios, so a real photo dropped in later changes nothing around it. */
.au-ph {
  display: grid; place-items: center; text-align: center; padding: 16px;
  background: var(--steel-100); border: 1px dashed var(--border-strong); border-radius: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #4f5964;
}
.is-dark .au-ph { background: rgba(255,255,255,.05); border-color: var(--border-inverse); color: #9CB0C4; }
.au-ph--43 { aspect-ratio: 4 / 3; }
.au-ph--169 { aspect-ratio: 16 / 9; }
.au-ph--21 { aspect-ratio: 21 / 9; }
.au-cap { margin: 18px 0 0; max-width: 40em; font-size: 16px; line-height: 1.6; color: #9CB0C4; text-wrap: pretty; }

.au-head { margin-bottom: clamp(32px, 4vw, 56px); }

/* Card shell taken from the Prive Motors collection card: plain white, shadow under the edges.
   Nothing inside it comes from there. */
.au-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.au-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.au-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.au-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.au-grid > .bz-item { border-top: 0; padding-top: 0; display: flex; }
.au-card {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.4vw, 32px); border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 22px 48px -26px rgba(0, 0, 0, .55); text-decoration: none;
}
.au-card h3 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--ink-900); }
.au-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--steel-600); text-wrap: pretty; }
.au-card .au-k { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-600); }
.au-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.au-card li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.au-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--blue-500); }
.au-card .btn { align-self: flex-start; margin-top: auto; }
.au-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.au-cols > div { display: grid; gap: 10px; align-content: start; }

/* Clickable cards: the Prive lift, on hover-capable pointers only. The reveal sits on the wrapper
   (.bz-item), so this transform never fights it. */
a.au-card { transition: transform 350ms cubic-bezier(.16, 1, .3, 1), box-shadow 350ms ease; }
@media (hover: hover) and (pointer: fine) {
  a.au-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65); }
}
a.au-card:active { transform: scale(.985); transition-duration: 120ms; }
a.au-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
a.au-card .au-go { margin-top: auto; align-self: flex-start; font-size: 16px; font-weight: 500; color: var(--blue-700); }
a.au-card .au-go::after { content: ""; display: inline-block; width: .9em; height: 1.5px; margin-left: 10px; vertical-align: .28em; background: currentColor; transform-origin: left; transition: transform 240ms var(--ease-sweep); }
@media (hover: hover) and (pointer: fine) { a.au-card:hover .au-go::after { transform: scaleX(1.5); } }

/* Own fleet and partner diagram: geometry only, no picture. Two capacity lanes merge into one
   plan and carry on to the delivery. Mono for the fixed facts, the brand blue for the lane we own. */
.au-flow { width: 100%; height: auto; display: block; overflow: visible; }
/* The diagram carries its own labels, so it needs more of the row than the prose does.
   Scoped to the wide layout: an id selector here would otherwise out-specify the one-column
   rule in the 860px media query and squeeze the diagram to half a phone screen. */
@media (min-width: 861px) { #fleet .au-two { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
/* Below that the diagram has the full column, so its labels scale back up to readable sizes. */
@media (max-width: 860px) { .au-flow .lbl { font-size: 22px; } .au-flow .sub { font-size: 15px; } }
.au-flow .rule { fill: none; stroke: var(--ink-700); stroke-width: 1.25; }
.au-flow .acc { fill: none; stroke: var(--blue-500); stroke-width: 1.75; }
.au-flow .accd { fill: none; stroke: var(--blue-500); stroke-width: 1.5; stroke-dasharray: 4 5; }
.au-flow .solid { fill: var(--ink-700); }
.au-flow .blue { fill: var(--blue-500); }
.au-flow .lbl { font-family: var(--font); font-size: 15px; fill: var(--ink-900); }
.au-flow .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--steel-600); }
.au-flow .onblue { fill: #fff; }

/* Careers: heading column on the left, the roles stacked down the right. Each role is a slim
   row: title and one line on the left, the link on the right. */
.au-roles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.au-roles > * { min-width: 0; }
.au-stack { display: grid; gap: 16px; }
.au-stack > .bz-item { border-top: 0; padding-top: 0; display: flex; }
.au-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(18px, 1.8vw, 24px) clamp(22px, 2.2vw, 30px); }
.au-row > div { display: grid; gap: 6px; min-width: 0; }
.au-row .au-go { margin-top: 0; align-self: center; white-space: nowrap; }
@media (max-width: 600px) { .au-row { flex-direction: column; align-items: flex-start; } .au-row .au-go { align-self: flex-start; } }

/* Calculator strip: one wide clickable card. */
.au-strip { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.au-strip > div { flex: 1 1 340px; display: grid; gap: 10px; }
.au-strip .btn { margin-top: 0; }

@media (max-width: 860px) {
  .au-two { grid-template-columns: 1fr; gap: 32px; }
  .au-grid--4, .au-grid--3, .au-grid--2 { grid-template-columns: 1fr; }
  .au-cols { grid-template-columns: 1fr; }
  .au-roles { grid-template-columns: 1fr; gap: 32px; }
}
@media (min-width: 861px) and (max-width: 1100px) { .au-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { a.au-card, a.au-card .au-go::after { transition: none; } a.au-card:hover { transform: none; } }

.au-h1 { margin: 0; font-size: var(--head-lg); max-width: 14em; }

.section-head h2, .au-h1 { text-wrap: balance; }

/* ---------- card style: line (chosen over the soft-shadow default), About only -------------
   Matches Home's restrained house system: hairline + shadow-xs instead of a heavy black shadow,
   with the brand's own blue-to-cyan line (already used for the nav underline, eyebrows, the
   services grid) across the top edge instead. User decision 2026-11-06; scoped to .line-style so
   Careers' single .au-card (the "apply" preview) is untouched. */
.au-card.line-style {
  background: #fff; box-shadow: var(--shadow-hairline), var(--shadow-xs);
  border-radius: 10px; overflow: hidden;
}
.au-card.line-style::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-swoosh); border-radius: 10px 10px 0 0;
}
a.au-card.line-style { transition: transform 350ms cubic-bezier(.16, 1, .3, 1), box-shadow 350ms ease; }
@media (hover: hover) and (pointer: fine) {
  a.au-card.line-style:hover { box-shadow: var(--shadow-hairline), var(--shadow-lift); }
}
/* Careers and Calculator keep the hairline + shadow-xs card but drop the gradient top edge --
   user decision 2026-11-06, scoped to just these two sections. */
#careers .au-card.line-style::before, #calculator .au-card.line-style::before { content: none; }
