/* The site is black and white so the content leads. Colour belongs to the four
   solutions only: each [data-product] carries its own colour, in one shade for dark
   panels and one for light panels. */
:root, .dark {
  --bg: #000000; --bg-rgb: 0, 0, 0;
  --raised: #1d1d1f; --raised-rgb: 29, 29, 31;
  --surface: #2c2c2e;
  --glow-rgb: 161, 161, 166;
  --text: #f5f5f7; --soft: #a1a1a6;
  --accent: #ffffff; --accent-rgb: 255, 255, 255; --on-accent: #000000;
  --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .32);
}
.light {
  --bg: #f5f5f7; --bg-rgb: 245, 245, 247;
  --raised: #ffffff; --raised-rgb: 255, 255, 255;
  --surface: #e8e8ed;
  --glow-rgb: 110, 110, 115;
  --text: #1d1d1f; --soft: #6e6e73;
  --accent: #1d1d1f; --accent-rgb: 29, 29, 31; --on-accent: #ffffff;
  --line: rgba(0, 0, 0, .1); --line-strong: rgba(0, 0, 0, .26);
}
.dark, .light { background: var(--bg); color: var(--text); }

[data-product="manti"] {
  --c-dark: #8f9cff; --c-dark-rgb: 143, 156, 255; --c-light: #4655d6; --c-light-rgb: 70, 85, 214;
  --solid: linear-gradient(160deg, #6b7bf5, #3f4dd0); --on-solid: #ffffff;
}
[data-product="age-of-mythos"] {
  --c-dark: #ff9f2e; --c-dark-rgb: 255, 159, 46; --c-light: #b85c00; --c-light-rgb: 184, 92, 0;
  --solid: linear-gradient(160deg, #ffc069, #ff9226); --on-solid: #000000;
}
[data-product="apply-to-hire"] {
  --c-dark: #34c77b; --c-dark-rgb: 52, 199, 123; --c-light: #0a7d5a; --c-light-rgb: 10, 125, 90;
  --solid: linear-gradient(160deg, #6fe0a6, #2fbd74); --on-solid: #000000;
}
[data-product="sankalpa"] {
  --c-dark: #ff6aa2; --c-dark-rgb: 255, 106, 162; --c-light: #c9246f; --c-light-rgb: 201, 36, 111;
  --solid: linear-gradient(160deg, #ff9dc2, #ff5f9b); --on-solid: #000000;
}
.dark[data-product] { --accent: var(--c-dark); --accent-rgb: var(--c-dark-rgb); --on-accent: #000000; }
.light[data-product] { --accent: var(--c-light); --accent-rgb: var(--c-light-rgb); --on-accent: #ffffff; }

:root {
  --radius: 18px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --header: 3.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(100%, .84vw, 200%); scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; display: flex; flex-direction: column; gap: 12px; }
main > .page { flex: 1; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.07; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(112rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr, .trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 50; padding: .6rem 1rem; border-radius: 10px; background: #fff; color: #000; font-weight: 600; }
.skip:focus { top: .5rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #161617; }
.header__row { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linejoin: round; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand__text small { color: var(--soft); font-size: .72rem; white-space: nowrap; }
.header .brand__text small { display: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .86rem; }
.nav a { padding-block: .4rem; color: #d2d2d7; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: #fff; }
.site-search { display: grid; place-items: center; }
.site-search .glyph { width: 1.15rem; height: 1.15rem; }

/* Hero: one statement, then the four solutions in their colours */
.hero { min-height: calc(100svh - var(--header)); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-top: clamp(2rem, 6svh, 4.5rem); overflow: hidden; }
.hero__head { display: grid; justify-items: center; text-align: center; }
h1 { font-size: clamp(2.5rem, min(1.3rem + 4.4vw, 10.5svh), 6.2rem); }
.rotator { display: grid; justify-items: center; margin-top: .05em; }
.rotator span { grid-area: 1 / 1; color: var(--c-dark); opacity: 0; transform: translateY(.3em); transition: opacity .25s ease, transform .25s ease; }
.rotator .is-on { opacity: 1; transform: none; transition: opacity .55s var(--ease) .22s, transform .55s var(--ease) .22s; }
.rotator .is-off { opacity: 0; transform: translateY(-.3em); }
.hero__summary { margin-top: 1rem; max-width: 40rem; color: var(--soft); font-size: clamp(1.05rem, 1rem + .36vw, 1.3rem); line-height: 1.4; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.5rem; }

/* The solutions rise to fill the rest of the screen, each showing its own world. */
.lineup { flex: 1 1 auto; display: flex; align-items: stretch; gap: .75rem; margin-top: clamp(.25rem, 2.5svh, 2rem); }
.lineup__item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(9.5rem, 22svh, 15rem);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--solid);
  color: var(--on-solid);
  transition: transform .35s var(--ease);
}
.lineup__item--flagship { flex-grow: 1.45; min-height: clamp(11.5rem, 29svh, 21rem); }
.lineup__item:hover { transform: translateY(-.5rem); }
.lineup__item .glyph { width: 1.8rem; height: 1.8rem; margin-bottom: .6rem; }
.lineup__line { margin-top: .45rem; max-width: 24em; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); font-weight: 500; line-height: 1.3; }
.lineup__art { position: absolute; z-index: -1; pointer-events: none; }
.lineup__art--net { inset: 1.5rem 1.25rem auto; width: calc(100% - 2.5rem); height: 56%; }
.net__lines path { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.net__nodes circle { fill: #ffffff; opacity: .85; }
.net__hub { fill: rgba(255, 255, 255, .14); stroke: #ffffff; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.net__core { fill: #ffffff; }
/* The artwork takes the card's orange (luminosity blend) and fades out behind the words. */
.lineup__art--mythos {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(to bottom, #000 36%, transparent 68%);
  mask-image: linear-gradient(to bottom, #000 36%, transparent 68%);
}
.lineup__item strong { font-size: clamp(1.15rem, 1rem + .7vw, 1.75rem); line-height: 1.15; letter-spacing: -.015em; }
.lineup__item--flagship strong { font-size: clamp(1.4rem, 1rem + 1.3vw, 2.5rem); }
.lineup__item small { margin-top: .15rem; font-size: .92rem; line-height: 1.25; opacity: .85; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.9rem;
  padding: .6rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 980px;
  font: 500 1.02rem/1.2 var(--font);
  cursor: pointer;
  transition: opacity .2s, background .2s, color .2s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { opacity: .86; }
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--text); color: var(--bg); }
.btn--dark:hover { opacity: .86; }
.btn--full { width: 100%; }
.arrow { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
a:hover > .arrow { transform: translateX(4px); }
.glyph { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Solutions: full-width panels for the flagships, two to a row for the others */
.tile { overflow: hidden; text-align: center; }
.tile--wide { padding: clamp(2.8rem, 6vw, 4.5rem) var(--gutter) 0; }
.tile__text { display: grid; justify-items: center; max-width: 46rem; margin-inline: auto; }
.tile__cat { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-weight: 600; }
.tile__cat .glyph { width: 1.25rem; height: 1.25rem; }
.tile h2 { margin-top: .35rem; font-size: clamp(2.7rem, 1.8rem + 3.4vw, 5.4rem); }
.tile__tag { margin-top: .4rem; font-size: clamp(1.25rem, 1.1rem + .9vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.tile[data-product="manti"] .tile__text { max-width: 62rem; }
.tile[data-product="manti"] .tile__summary { max-width: 44rem; text-wrap: balance; }
.tile__lead { margin-top: .5rem; font-size: clamp(1.7rem, 1.25rem + 1.9vw, 3.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.tile__lead span { background: linear-gradient(90deg, #8a96ff, #67d4b5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile__label { margin-top: 1.1rem; color: var(--soft); font-size: .92rem; font-weight: 600; }
.tile__label + .chips { margin-top: .5rem; }
.tile__summary { margin-top: .8rem; max-width: 40rem; color: var(--soft); font-size: clamp(1.02rem, 1rem + .25vw, 1.2rem); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1rem; }
.chips li { padding: .2rem .75rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; }
.tile[data-product="manti"] { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hub { width: calc(100% + 2 * var(--gutter)); height: clamp(24rem, 40vw, 36rem); margin: .5rem calc(-1 * var(--gutter)) 0; }
/* The Manti section: a black panel with the promise and the picture, a light panel with what each reader needs. */
.manti .wrap { width: min(100rem, 100% - 2 * var(--gutter)); }
.manti__top { padding-block: clamp(2.8rem, 5vw, 4.5rem); }
.manti__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.manti__brand { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; color: var(--accent); }
.manti__brand .glyph { width: 1.4rem; height: 1.4rem; }
.manti__brand strong { color: var(--text); font-size: 1.15rem; }
.manti__brand .tile__lead { margin: 0 0 0 .25rem; color: var(--soft); font-size: 1.02rem; font-weight: 400; letter-spacing: 0; }
.manti__brand .tile__lead span { font-weight: 600; }
.manti h2 { margin-top: 1rem; font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.9rem); }
.manti .tile__summary { margin-top: 1rem; }
.manti .actions { justify-content: flex-start; }

.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr) auto minmax(0, 1fr); }
.flow__box { display: grid; align-content: center; gap: .55rem; padding: clamp(1.1rem, 1.7vw, 1.6rem); border-radius: var(--radius); background: var(--raised); }
.flow__box h3 { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); letter-spacing: -.012em; }
.flow__box ul { display: grid; gap: .2rem; color: var(--soft); }
.flow__via { color: var(--accent); }
.flow__box--manti { background: linear-gradient(160deg, #5060e4, #3f4dd0); color: #ffffff; }
.flow__box--manti h3 { font-size: clamp(1.5rem, 1.3rem + .7vw, 2rem); }
.flow__record { padding-top: .6rem; border-top: 1px solid rgba(255, 255, 255, .4); font-weight: 600; }
.flow__link { display: grid; place-items: center; width: 2.6rem; color: var(--accent); }
.flow__link svg { width: 1.9rem; }
.flow__link path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.manti__body { padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3.5rem); }
.audience__for { color: var(--accent); font-weight: 600; }
.audience h3 { margin-top: .2rem; font-size: clamp(1.5rem, 1.25rem + .9vw, 2.1rem); }
.audience ul { display: grid; gap: .75rem; margin-top: .85rem; color: var(--soft); line-height: 1.42; }

/* Every solution ends on the same bar, flush with the bottom of its panel. */
.bar { padding-block: .9rem; background: var(--raised); text-align: left; }
.bar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 2rem; }
.bar strong { color: var(--accent); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; letter-spacing: -.012em; }
.bar[data-product="manti"] strong { color: #67d4b5; }
.bar__row > div { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.bar .tile__label, .bar .chips { margin: 0; }
.bar .chips { justify-content: flex-start; }
/* Age of Mythos: the artwork fills the panel and melts into the black around it,
   with the words sitting in the dark sky at its top. */
.tile[data-product="age-of-mythos"] { position: relative; isolation: isolate; display: flex; flex-direction: column; padding-bottom: 0; }
.tile[data-product="age-of-mythos"] > .bar { margin: auto calc(-1 * var(--gutter)) 0; }
.tile[data-product="age-of-mythos"]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(36% 40% at 50% 25%, rgba(0, 0, 0, .78) 50%, transparent); pointer-events: none; }
.tile[data-product="age-of-mythos"] .tile__summary { color: #d2d2d7; }
.tile__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.tiles-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tiles-2:has(> .tile:only-child) { grid-template-columns: minmax(0, 1fr); }
.tile--small { --tile-x: clamp(1.1rem, 3vw, 2.5rem); display: flex; flex-direction: column; padding: clamp(2.2rem, 4vw, 3.2rem) var(--tile-x) clamp(1.5rem, 3vw, 2.5rem); }
.tile[data-product="apply-to-hire"] { padding-bottom: 0; }
.tile[data-product="apply-to-hire"] > .tile__text { margin-top: auto; }
.tile[data-product="apply-to-hire"] > .app { margin-bottom: 1.2rem; }
.tile[data-product="apply-to-hire"] > .bar { margin: auto calc(-1 * var(--tile-x)) 0; }
.tile--small h2 { font-size: clamp(2.1rem, 1.6rem + 1.9vw, 3.3rem); }
.tile--small .tile__summary { max-width: 30rem; }

/* Apply to Hire: its Picks screen, in the app's own measurements. The app's page
   grey is the panel's grey, so the screen sits in the panel with no frame around it. */
.app { container-type: inline-size; width: min(66rem, 100%); margin: clamp(1.8rem, 3.4vw, 2.6rem) auto 0; text-align: left; }
.app__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; margin-bottom: 1rem; }
.app__head h3 { font-size: clamp(1.6rem, 1.4rem + .8vw, 2.2rem); }
.app__tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.app__tabs button { padding: .36rem .95rem; border: 1px solid var(--line-strong); border-radius: 980px; background: var(--raised); color: var(--text); font: 400 .875rem/1.3 var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.app__tabs button:hover { border-color: var(--soft); }
.app__tabs button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--raised); }
.app__card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); box-shadow: 0 2px 10px rgba(0, 0, 0, .05), 0 12px 36px rgba(0, 0, 0, .05); }
.app__note { margin-top: .7rem; color: var(--soft); font-size: .82rem; text-align: center; }

.picks { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .906rem; line-height: 1.3; }
.picks th { padding: .62rem .8rem; background: #fbfbfd; color: var(--soft); font-size: .72rem; font-weight: 600; text-align: left; }
.picks td { padding: .8rem; border-top: 1px solid var(--line); }
.picks tr > :first-child { padding-left: 1.1rem; }
.picks tr > :last-child { padding-right: 1.1rem; }
.picks tbody { transition: opacity .3s ease; }
.picks tbody.is-fading { opacity: 0; }
.picks tbody tr { transition: opacity .25s ease, background .15s ease; }
.picks tbody tr:hover { background: #fbfbfd; }
.picks tbody tr.is-dim { opacity: .28; }
.picks .col-num { width: 2.6rem; color: var(--soft); }
.picks .col-role { font-weight: 500; }
.picks .col-loc { width: 8rem; color: var(--soft); }
.picks .col-status { width: 7rem; }
.picks .col-docs { width: 12.6rem; white-space: nowrap; }
.picks .col-act { width: 8.4rem; }
.star { color: var(--accent); }

.job-status { display: inline-block; padding: .2rem .7rem; border-radius: 980px; font-size: .75rem; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s; }
.job-status--new { background: var(--surface); color: var(--text); }
.job-status--applied { background: rgba(var(--accent-rgb), .13); color: #075e44; }
.job-status--interviewing { background: rgba(191, 122, 12, .14); color: #7a4804; }
.job-status--offer { background: var(--accent); color: var(--on-accent); }

.job-btn { position: relative; overflow: hidden; min-width: 5.2rem; padding: .32rem .75rem; border: 1px solid var(--accent); border-radius: 980px; background: var(--accent); color: var(--on-accent); font: 500 .81rem/1.3 var(--font); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, opacity .25s, transform .1s; }
.job-btn:enabled:hover { filter: brightness(1.12); }
.job-btn:enabled:active { transform: scale(.97); }
.job-btn:disabled { border-color: var(--line-strong); background: var(--raised); color: var(--text); cursor: default; }
.job-btn--apply { min-width: 6.6rem; }
.job-btn--apply:disabled { border-color: var(--accent); background: var(--accent); color: var(--on-accent); opacity: .42; }
.job-btn.is-busy { border-color: transparent; background: rgba(var(--accent-rgb), .13); color: #075e44; }
.job-btn.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(var(--accent-rgb), .26); transform: scaleX(0); transform-origin: left; animation: job-write 1.2s linear forwards; }
@keyframes job-write { to { transform: scaleX(1); } }

@container (max-width: 900px) {
  .picks .col-num, .picks .col-loc { display: none; }
  .picks tr > .col-role { padding-left: 1.1rem; }
}
@container (max-width: 760px) {
  .app__head { align-items: flex-start; flex-direction: column; }
  .picks, .picks tbody { display: block; }
  .picks thead { display: none; }
  .picks tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .6rem; padding: .85rem 1rem; }
  .picks tbody tr + tr { border-top: 1px solid var(--line); }
  .picks tbody tr:nth-child(2), .picks tbody tr:nth-child(3) { display: none; }
  .picks td { display: block; padding: 0; border: 0; }
  .picks tr > :first-child, .picks tr > :last-child, .picks tr > .col-role { padding: 0; }
  .picks .col-company { grid-column: 1; color: var(--soft); }
  .picks .col-status { grid-column: 2; grid-row: 1 / span 2; width: auto; }
  .picks .col-docs { display: flex; gap: .35rem; grid-column: 1; width: auto; margin-top: .55rem; }
  .picks .col-act { grid-column: 2; align-self: end; width: auto; }
  .job-btn { min-width: 4.5rem; padding-inline: .55rem; }
  .job-btn--apply { min-width: 6.2rem; }
}
@container (max-width: 330px) {
  .picks .col-act { grid-column: 1 / -1; margin-top: .35rem; }
  .job-btn--apply { width: 100%; }
}

/* Sankalpa: a delivery on its way, as tracked in a delivery app */
.track { position: relative; flex: 1 0 18.5rem; width: 100%; max-width: 42rem; margin: 1.6rem auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.track svg { width: 100%; height: 100%; }
.track__land { fill: var(--raised); }
.track__park { fill: rgba(var(--glow-rgb), .1); }
.track__water { fill: none; stroke: rgba(var(--accent-rgb), .12); stroke-width: 30; }
.track__road { fill: none; stroke: rgba(var(--glow-rgb), .2); stroke-width: 15; }
.track__lane { fill: none; stroke: rgba(var(--glow-rgb), .13); stroke-width: 7; }
.track__route { fill: none; stroke: rgba(var(--accent-rgb), .28); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.track__done { stroke: var(--accent); stroke-dasharray: 1; animation: track-route 9s linear infinite; }
@keyframes track-route { 0%, 12% { stroke-dashoffset: 1; } 85%, 100% { stroke-dashoffset: 0; } }
.track__start { fill: var(--raised); stroke: var(--accent); stroke-width: 4; }
.track__pin { fill: var(--accent); }
.track__pin-dot { fill: var(--raised); }
.track__halo { fill: rgba(var(--accent-rgb), .22); }
.track__rider { fill: var(--accent); }
.track__parcel { fill: none; stroke: var(--on-accent); stroke-width: 1.6; stroke-linejoin: round; }
.track__order { position: absolute; top: .75rem; right: .75rem; display: grid; min-width: 9.5rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(var(--raised-rgb), .94); }
.track__order small { color: var(--soft); font-size: .8rem; }
.track__order strong { display: grid; color: var(--accent); font-size: .98rem; }
.track__order span { grid-area: 1 / 1; opacity: 0; }
.track__order span:first-child { opacity: 1; animation: track-placed 9s linear infinite; }
.track__order span:nth-child(2) { animation: track-moving 9s linear infinite; }
.track__order span:nth-child(3) { animation: track-arrived 9s linear infinite; }
@keyframes track-placed { 0%, 12% { opacity: 1; } 15%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes track-moving { 0%, 12% { opacity: 0; } 15%, 83% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes track-arrived { 0%, 83% { opacity: 0; } 86%, 97% { opacity: 1; } 100% { opacity: 0; } }

/* Motive */
.motive { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; }
.motive__label { color: var(--soft); font-weight: 600; }
.motive h2 { max-width: 20em; margin: .5rem auto 0; font-size: clamp(2.1rem, 1.4rem + 3vw, 4.6rem); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 76rem; margin: clamp(2.2rem, 4vw, 3.5rem) auto 0; }
.pillars h3 { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.5rem); }
.pillars p { margin-top: .4rem; color: var(--soft); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 76rem; margin: clamp(2.2rem, 4vw, 3.5rem) auto 0; }
.stats li { display: grid; gap: .25rem; padding: clamp(1.3rem, 2.4vw, 2.2rem); border-radius: var(--radius); background: var(--raised); }
.stats strong { color: var(--c-dark); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.stats li > span { color: var(--soft); }

/* Call to action */
.band { padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; }
.band h2 { max-width: 64rem; margin-inline: auto; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.4rem); line-height: 1.14; }
.band p { margin-top: .9rem; color: var(--soft); }
.band .btn { margin-top: 1.3rem; }

/* Footer */
.footer { margin-top: 12px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem clamp(1.5rem, 3vw, 3rem); padding-block: 1.3rem; }
.footer .brand__mark { stroke: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; color: var(--soft); font-size: .92rem; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__legal { color: var(--soft); font-size: .85rem; }

/* Contact, search, team and not found */
.page { display: flex; align-items: center; }
.page h1 { margin-top: 0; }
.support__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); }
.support h1 { font-size: clamp(2.6rem, 1.6rem + 3.8vw, 5rem); }
.support__copy h2 { margin-top: 1.8rem; font-size: 1.25rem; letter-spacing: -.01em; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .75rem; }
.quick a { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); color: var(--c-light); transition: border-color .25s; }
.quick a:hover { border-color: var(--c-light); }
.quick a > span { flex: 1; display: grid; min-width: 0; color: var(--text); line-height: 1.25; }
.quick small { color: var(--soft); font-size: .84rem; }
.quick li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.panel { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--raised); }
.support .panel { padding: clamp(1.2rem, 2.6vw, 2.2rem); }
form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
label { font-weight: 500; font-size: .96rem; }
input, select, textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: .7rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.45 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 9.375rem; }
select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 50%, calc(100% - .95rem) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
select option { background: var(--raised); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
[aria-invalid="true"] { border-color: #d70015; }
.field__error { color: #d70015; font-size: .9rem; }
.form__error { padding: .75rem .9rem; border: 1px solid #d70015; border-radius: 12px; color: #d70015; }
/* Cloudflare's check: its room is kept so the button does not jump when it appears. */
.captcha { min-height: 65px; }
.sent { display: grid; justify-items: start; gap: .8rem; padding-block: 1.5rem; }
.sent__mark svg { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent h2 { font-size: clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem); }
.sent p { color: var(--soft); }
.sent .btn { margin-top: .5rem; }

.team__inner { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.team h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin-top: 2rem; }
.people li { padding: 1.5rem; }
.avatar { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: .9rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.6rem; font-weight: 600; }
.people h2 { font-size: 1.4rem; }
.people__role { margin-block: .2rem .5rem; color: var(--soft); font-weight: 500; }

.search-page__inner { padding-block: clamp(2.5rem, 5vw, 4rem); }
.search-page h1 { font-size: clamp(2.6rem, 1.6rem + 3.8vw, 5rem); }
.search-form { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; max-width: 46rem; margin-top: 1.4rem; }
.search-page__note { margin-top: 1.2rem; color: var(--soft); overflow-wrap: anywhere; }
.results { display: grid; gap: .6rem; max-width: 46rem; margin-top: 1rem; }
.results a { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); transition: border-color .25s; }
.results a:hover { border-color: var(--accent); }
.results a > span { flex: 1; display: grid; min-width: 0; }
.results strong { font-size: 1.15rem; line-height: 1.3; }
.results small { color: var(--soft); font-size: .94rem; line-height: 1.4; }
.lost__inner { padding-block: 3rem; }
.lost h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); }
.lost .hero__summary { margin-top: .8rem; }
.lost .actions { justify-content: flex-start; }

/* Scroll reveal, only when scripts are running */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 900px) {
  .manti__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1080px) {
  .support__grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.2rem; }
  .support__copy { display: contents; }
  .support .panel { order: 1; }
  .support__copy h2, .quick { order: 2; margin-top: 0; }
  .support__copy h2 { margin-top: .6rem; }
}
@media (max-width: 820px) {
  .tiles-2, .pillars { grid-template-columns: minmax(0, 1fr); }
  .tile[data-product="age-of-mythos"] .tile__text { margin-bottom: 74vw; }
  .tile[data-product="age-of-mythos"]::after { display: none; }
  .tile__art { inset: auto 0 5.5rem; height: 84vw; object-position: 50% 100%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 86%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .lineup { flex-wrap: wrap; }
  .lineup__item { flex: 1 1 calc(50% - .75rem); border-radius: var(--radius); }
  .lineup__item--flagship { min-height: 11rem; }
  .lineup__item:not(.lineup__item--flagship) { min-height: 8.5rem; }
  .hero { padding-bottom: .75rem; }
}

/* Phone */
@media (max-width: 680px) {
  .audiences, .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__link { width: auto; height: 2.2rem; }
  .flow__link svg { transform: rotate(90deg); }
  .hub { height: 33rem; }
  .stats, .form__row, .quick { grid-template-columns: minmax(0, 1fr); }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .lineup__item, .lineup__item--flagship { flex-basis: 100%; min-height: 16rem; }
  .lineup__art--net { inset: 1rem 1rem auto; width: calc(100% - 2rem); height: 42%; }
  .lineup__art--mythos { -webkit-mask-image: linear-gradient(to bottom, #000 22%, transparent 56%); mask-image: linear-gradient(to bottom, #000 22%, transparent 56%); }
  .actions .btn { flex: 1 1 100%; }
  .band .btn { width: 100%; }
}
@media (max-width: 420px) {
  .nav__motive { display: none; }
}
@media (max-width: 350px) {
  .header .brand__text { display: none; }
}

/* One screen per section. Every panel is exactly one screen tall, and on laptops
   and desktops the whole design scales with the smaller of width and height, so
   each panel looks the same on every screen. Phones scroll: the words need the room. */
@media (min-width: 681px) {
  :root { --foot: calc(7.2rem + 12px); }
  .hero, .manti, .tiles-2, .motive, .tile[data-product="age-of-mythos"] { min-height: calc(100svh - var(--header)); }
  .band { display: grid; align-content: center; min-height: calc(100svh - var(--header) - var(--foot)); }
  .manti { display: flex; flex-direction: column; }
  .manti__top, .manti__body { display: flex; flex-direction: column; justify-content: center; }
  .manti__top { flex: 1 1 auto; }
  .manti__body { flex: 1.2 1 auto; }
  .tile--small { justify-content: center; }
  .motive { display: grid; align-content: center; }
}
/* Slides: on laptops and desktops each section lands exactly under the header, one per
   swipe, like a slide show. Native scroll snapping, no scroll hijacking, and off for
   visitors who ask for reduced motion. Phones scroll freely: their sections are longer. */
@media (min-width: 681px) and (prefers-reduced-motion: no-preference) {
  html:has(main.slides) { scroll-snap-type: y mandatory; scroll-padding-top: var(--header); }
  main.slides > section { scroll-snap-align: start; scroll-snap-stop: always; }
  html:has(main.slides) .footer { scroll-snap-align: end; }
}
@media (min-width: 681px) and (max-width: 900px) {
  html { font-size: 90%; }
}
@media (min-width: 901px) {
  html { font-size: clamp(81.25%, min(1.11vw, 2.05svh), 200%); }
  body { font-size: 1.125rem; }
  :root { --foot: calc(5rem + 12px); }
  .manti__top { padding-block: 1.6rem; }
  .manti__body { padding-block: 1.5rem; }
  .manti h2 { margin-top: .7rem; font-size: 3.4rem; }
  .manti .tile__summary { margin-top: .7rem; font-size: 1.1rem; }
  .manti .actions { margin-top: 1.1rem; }
  .flow__box { padding: 1.2rem; }
  .audience h3 { font-size: 1.8rem; }
  .audience ul { gap: .5rem; margin-top: .6rem; font-size: 1.02rem; line-height: 1.38; }
  .bar { padding-block: .7rem; }
  .tile--small { padding-block: 1.4rem; }
  .tile--small h2 { font-size: 2.7rem; }
  .tile--small .tile__summary { margin-top: .4rem; max-width: 46rem; }
  .app { margin-top: 1rem; }
  .app__head { margin-bottom: .6rem; }
  .picks th { padding-block: .45rem; }
  .picks td { padding-block: .48rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .track__done { stroke-dashoffset: 0; }
  .sent__mark svg { stroke-dashoffset: 0; }
}
