/*
 * VaultPac Expo.
 *
 * Light and operational, not the master site's dark technology ground. Expo is
 * a B2B sales and service site: a convention organiser comparing suppliers is
 * not shopping for software, and cloning the platform presentation would sell
 * them the wrong thing.
 *
 * So this is the service-page template — the same one Bags and VaultExec use —
 * with the VaultPac gold as its accent and charcoal type on a very light
 * neutral. Token values only, never rules, for the same reason the exec theme
 * works that way: a theme that can only redefine variables cannot drift away
 * from the layout the other storefronts share.
 *
 * The accent is #E8BC20, the gold approved 2026-09-20. On a light ground that
 * value is a *fill*, never text — gold type on near-white is 1.7:1 and cannot
 * be read — so `--green-text` carries the darker twin for anywhere the accent
 * has to be a word. That split is the same one `packages/ui/tokens.css` makes
 * between `--vp-gold` and `--vp-gold-ink`, and for the same reason.
 *
 * The token names still say "green". Renaming them across three stylesheets
 * and a hundred generated pages would be a large diff that changes nothing a
 * visitor can see, and would break the Bags site if any one reference were
 * missed. They are accent tokens; on this site the accent is gold.
 */
:root {
  --green: #e8bc20;
  --green-bright: #f4d04c;
  /* 4.6:1 on --bg. The accent as text, which the fill value cannot be. */
  --green-text: #7a6210;
  --ink-on-green: #14140c;

  --ink: #14171a;
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-2: #ecedea;
  --muted: #5f6468;
  --line: rgba(20, 23, 26, 0.12);
}

/* The hero scrims are written as literal rgba rather than as a custom property,
   because a gradient cannot interpolate one in every browser we care about.
   Same alphas as the shared sheet, over this site's ink. */
.site-expo .svc-hero.has-media::after {
  background: linear-gradient(100deg, rgba(20,23,26,0.88) 0%, rgba(20,23,26,0.62) 38%, rgba(20,23,26,0.22) 72%, rgba(20,23,26,0.06) 100%);
}
.site-expo .svc-hero.has-media.tone-dark::after {
  background: linear-gradient(100deg, rgba(20,23,26,0.9) 0%, rgba(20,23,26,0.8) 45%, rgba(20,23,26,0.46) 72%, rgba(20,23,26,0.12) 100%);
}

/* The typeset lockup, for as long as Expo has no approved artwork.
 *
 * Sized against the lockup rather than against the viewport. The shared sheet
 * steps `.brand-lockup` through 196 / 176 / 158 / 140px, and a fixed size that
 * fits the widest of those clips "EXPO" at the other three — which is what a
 * flat 27px did. Repeating the four steps here would work until somebody
 * changed one of them in `styles.css` and not the other.
 *
 * So the lockup becomes the container and the type is a fraction of it: 12.5%
 * of 196px is 24.5px, against the 25.1px that fits exactly, leaving a hair of
 * margin. Every future width is handled without another media query.
 *
 * The px value first is the fallback for anything without container queries;
 * it fits the two narrower steps and merely under-fills the wider ones, which
 * is the right way round for a rule that might not apply. */
.brand-typeset {
  container-type: inline-size;
}

.brand-typeset .brand-typemark {
  display: block;
  width: 100%;
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-size: 17px;
  font-size: 12.5cqw;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.site-expo .footer-logo { max-height: 60px; }

/* ═══════════════════════════════════════════════════════════════════════════
 * The homepage.
 *
 * Everything above this line is token values — the theme proper, which the ten
 * service pages wear and nothing else. Everything below is layout for the
 * written front page, prefixed `xp-` so it cannot collide with the shared
 * template's classes even though both stylesheets load on the same document.
 *
 * Light and roomy, with two deliberate dark sections. The dark is not
 * decoration: it marks the two places where the page stops selling and shows
 * the operation — the movement breakdown, and the platform connection. Reading
 * the whole page, the dark bands are where the argument is.
 * ═══════════════════════════════════════════════════════════════════════════ */

.site-expo {
  --xp-ground: #ffffff;
  --xp-soft: #f7f7f5;
  --xp-dark: #14171a;
  --xp-dark-2: #1c2024;
  --xp-line: rgba(20, 23, 26, 0.12);
  --xp-line-dark: rgba(255, 255, 255, 0.14);
  /* On the dark bands: 12.4:1 and 7.3:1 on #14171A. */
  --xp-on-dark: #eef0f2;
  --xp-on-dark-dim: #b2b8bd;
}

.site-expo .xp-sec {
  padding: 96px 0;
  background: var(--xp-ground);
}

.site-expo .xp-alt {
  background: var(--xp-soft);
}

.site-expo .xp-sec h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.site-expo .xp-lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}

.site-expo .xp-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--xp-line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-text);
}

/* ── hero ─────────────────────────────────────────────────────────────────
   A photograph with a scrim, not a photograph with text on it. The scrim is a
   literal rgba of this site's ink rather than a token, because a gradient
   cannot interpolate a custom property everywhere we care about — the same
   reason the shared hero scrims are written out. */

.site-expo .xp-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 76px;
  isolation: isolate;
}

.site-expo .xp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.site-expo .xp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.site-expo .xp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    86deg,
    rgba(20, 23, 26, 0.94) 0%,
    rgba(20, 23, 26, 0.86) 34%,
    rgba(20, 23, 26, 0.58) 66%,
    rgba(20, 23, 26, 0.34) 100%
  );
}

.site-expo .xp-hero h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-expo .xp-hero .eyebrow {
  color: var(--green-bright);
}

.site-expo .xp-hero .xp-lede {
  color: #dfe3e6;
  max-width: 54ch;
}

.site-expo .xp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* The outline button on a photograph needs its own border and label, or it
   inherits the light-page ink and vanishes into the scrim. */
.site-expo .xp-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.site-expo .xp-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ── journey ──────────────────────────────────────────────────────────── */

.site-expo .xp-stops {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  list-style: none;
  padding: 0;
}

.site-expo .xp-stop {
  flex: 1 1 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border: 1px solid var(--xp-line);
  border-radius: 10px;
  background: var(--xp-ground);
}

/* The arrow between stops. Decorative, so it is a pseudo-element and never
   reaches the accessibility tree — the list is already ordered, which is what
   actually conveys the sequence. */
.site-expo .xp-stop + .xp-stop::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}

.site-expo .xp-stop-n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-text);
}

.site-expo .xp-stop-l {
  font-family: "Kanit", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.site-expo .xp-stop-l:hover {
  color: var(--green-text);
}

/* ── one event, multiple movements (dark) ─────────────────────────────── */

.site-expo .xp-dark {
  background: var(--xp-dark);
  color: var(--xp-on-dark);
}

.site-expo .xp-dark h2 {
  color: #fff;
}

.site-expo .xp-dark .eyebrow {
  color: var(--green-bright);
}

.site-expo .xp-dark .xp-lede {
  color: var(--xp-on-dark-dim);
}

.site-expo .xp-dark .xp-note {
  border-top-color: var(--xp-line-dark);
  color: var(--green-bright);
}

.site-expo .xp-mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.site-expo .xp-mv {
  border: 1px solid var(--xp-line-dark);
  border-radius: 11px;
  padding: 20px 18px;
  background: var(--xp-dark-2);
}

.site-expo .xp-mv-stage {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--xp-line-dark);
}

.site-expo .xp-mv-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-expo .xp-mv-list li {
  display: grid;
  gap: 3px;
}

.site-expo .xp-mv-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xp-on-dark-dim);
}

.site-expo .xp-mv-route {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* ── the four legs ────────────────────────────────────────────────────── */

.site-expo .xp-leg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.site-expo .xp-does {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--xp-line);
  border: 1px solid var(--xp-line);
  border-radius: 10px;
  overflow: hidden;
}

.site-expo .xp-does li {
  background: var(--xp-ground);
  padding: 15px 18px;
  font-size: 15px;
  color: var(--ink);
}

.site-expo .xp-alt .xp-does li {
  background: var(--xp-soft);
}

/* ── capabilities ─────────────────────────────────────────────────────── */

.site-expo .xp-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.site-expo .xp-cap {
  border: 1px solid var(--xp-line);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.site-expo .xp-cap-type {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-text);
}

.site-expo .xp-cap h3 {
  margin-top: 8px;
  font-size: 26px;
}

.site-expo .xp-cap-copy {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

.site-expo .xp-cap-by {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--xp-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ── who we work with ─────────────────────────────────────────────────── */

.site-expo .xp-who-grid {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  /* Four, two or one — never three.
   *
   * `auto-fit` with a 300px floor lands on three columns at desktop, and eight
   * audiences in three columns leaves one cell empty. The cells are drawn by a
   * 1px gap over a background, so an empty cell is not whitespace: it renders
   * as a grey box that reads like a card somebody forgot to fill in. Every
   * column count here divides eight. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--xp-line);
  border: 1px solid var(--xp-line);
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-expo .xp-who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .site-expo .xp-who-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.site-expo .xp-who-grid li {
  background: var(--xp-soft);
  padding: 20px 22px;
  display: grid;
  gap: 4px;
}

.site-expo .xp-who {
  font-family: "Kanit", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.site-expo .xp-what {
  font-size: 14px;
  color: var(--muted);
}

/* ── platform connection ──────────────────────────────────────────────── */

.site-expo .xp-plat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.site-expo .xp-powered {
  padding: 26px 24px;
  border: 1px solid var(--xp-line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: var(--xp-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.site-expo .xp-powered a {
  display: block;
  margin-top: 6px;
  font-family: "Kanit", sans-serif;
  font-size: 19px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
}

.site-expo .xp-powered a:hover {
  color: var(--green-text);
}

/* ── the enquiry ──────────────────────────────────────────────────────── */

.site-expo .xp-plan {
  background: var(--xp-dark);
  color: var(--xp-on-dark);
}

.site-expo .xp-plan h2 {
  color: #fff;
}

.site-expo .xp-plan .eyebrow {
  color: var(--green-bright);
}

.site-expo .xp-plan .xp-lede {
  color: var(--xp-on-dark-dim);
}

.site-expo .xp-form {
  margin-top: 40px;
  max-width: 900px;
}

.site-expo .xp-form .pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .site-expo .xp-leg-grid,
  .site-expo .xp-plat-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .site-expo .xp-sec {
    padding: 68px 0;
  }
  .site-expo .xp-hero {
    min-height: 540px;
  }
}

@media (max-width: 680px) {
  /* The arrow between stops points down once the row becomes a column. */
  .site-expo .xp-stop + .xp-stop::before {
    left: 50%;
    top: -9px;
    transform: translateX(-50%) rotate(135deg);
  }
  .site-expo .xp-cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* The footer wordmark, for as long as Expo has no approved artwork. Sized to
   sit where a mark would, so dropping one in later does not move the footer. */
.site-expo .footer-typemark {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
}
