/* A COMPANY'S OWN PAGE (public/c/<company>/). One stylesheet for every company page, so each page stays a few KB.
   The same station and glass as the list (site/list_template.html): the photograph far away, glass in the middle,
   one tilted slab up close - the company's ticket, stamped with the minute it was first seen.
   Nothing on a company page changes from day to day, so a page is written once and stays as it is. */
:root {
  --ink: #f7f3ec; --soft: rgba(247,243,236,.72); --dim: rgba(247,243,236,.46);
  --amber: #ffb65a; --ember: #ff8a3d; --coral: #ff6468; --aqua: #63e6d6; --deep: #071a1f;
  --c: #63e6d6; --h: #ffab4a; --l: #ffd98f; --f: #ff7480;
  --ui: "Outfit", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--deep); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 44px) 90px; overflow-x: clip; }

/* ---- the station, far away */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--deep); }
.plate, .plate-soft { position: absolute; inset: 0; background: url(/art/platform-wide.jpg) center / cover no-repeat; }
.plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.plate video.on { opacity: 1; }
.plate-soft { inset: -5%; will-change: opacity; filter: blur(30px) brightness(.5) saturate(1.2); opacity: var(--veil, 0); }
@media (max-aspect-ratio: 4/5) { .plate, .plate-soft { background-image: url(/art/platform-tall.jpg); } }
.shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,20,25,.92) 0%, rgba(5,20,25,.66) 36%, rgba(5,20,25,.16) 70%, rgba(5,20,25,.24) 100%),
  linear-gradient(180deg, rgba(5,20,25,.5) 0%, transparent 26%, transparent 60%, rgba(5,20,25,.82) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; mix-blend-mode: screen; }
.orb.ember { width: 58vmax; height: 58vmax; left: -24vmax; bottom: -32vmax; background: radial-gradient(circle, rgba(255,128,56,.55), rgba(255,98,100,.22) 46%, transparent 70%); animation: drift-a 26s ease-in-out infinite alternate; }
.orb.aqua { width: 44vmax; height: 44vmax; right: -18vmax; top: -24vmax; background: radial-gradient(circle, rgba(80,220,205,.3), rgba(40,150,170,.1) 52%, transparent 72%); animation: drift-b 34s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(7vmax, -5vmax, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-6vmax, 6vmax, 0) scale(1.08); } }
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }

/* ---- glass */
.glass { position: relative; background: linear-gradient(140deg, rgba(255,255,255,.15), rgba(255,255,255,.05) 62%); border: 1px solid rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 40px 80px -44px rgba(0,0,0,.75); }
.bullet { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lc, var(--dim)); color: #08191d;
  font-weight: 700; font-size: 13px; line-height: 1; flex: none; box-shadow: 0 0 18px -2px var(--lc, transparent); }
.lc-c { --lc: var(--c); } .lc-h { --lc: var(--h); } .lc-l { --lc: var(--l); } .lc-f { --lc: var(--f); } .lc-x { --lc: var(--dim); }

/* ---- the sign */
.top { position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px;
  padding: 9px 18px 9px 12px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 10px rgba(255,150,70,.55)); }
.back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--soft); white-space: nowrap; transition: color .2s; }
.back:hover { color: var(--amber); }
.back svg { width: 15px; height: 15px; transition: transform .25s ease; }
.back:hover svg { transform: translateX(-3px); }
.social { display: flex; gap: 6px; margin-right: -9px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--soft);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: color .2s, background .2s, border-color .2s; }
.social a:hover { color: var(--amber); background: rgba(255,182,90,.12); border-color: rgba(255,182,90,.4); }
.social svg, .follow svg { width: 16px; height: 16px; }

/* ---- the company */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; min-height: min(780px, calc(100vh - 70px)); padding: 30px 0 34px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; }
.eyebrow .bullet { letter-spacing: 0; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(46px, 7.4vw, 112px); line-height: .94; letter-spacing: -.045em; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere;
  text-shadow: 0 10px 50px rgba(0,0,0,.45); }
.hero h1.long { font-size: clamp(38px, 5.2vw, 76px); line-height: 1; letter-spacing: -.035em; }
.lede { font-size: clamp(19px, 1.9vw, 25px); font-weight: 300; line-height: 1.35; color: var(--soft); max-width: 30ch; margin: 24px 0 0; text-wrap: pretty; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; border-radius: 999px; padding: 15px 26px; white-space: nowrap; max-width: 100%;
  transition: transform .2s ease, filter .2s ease, color .2s ease, border-color .2s ease; }
.btn span { overflow: hidden; text-overflow: ellipsis; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.go { color: #1d0e07; background: linear-gradient(135deg, #ffd08a, #ff8a3d 60%, #ff6a4d); box-shadow: 0 16px 34px -14px rgba(255,120,60,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.go:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn.glass { font-weight: 500; }
.btn.glass:hover { color: var(--amber); border-color: rgba(255,182,90,.45); transform: translateY(-2px); }

/* ---- the ticket: one slab of glass, tipped toward you, stamped with the minute the company was first seen */
.stage { perspective: 1400px; display: grid; place-items: center end; padding: 40px 6% 40px 0; min-width: 0; }
.float { transform-style: preserve-3d; animation: bob 9s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translate3d(0, -9px, 0) rotateX(1.4deg) rotateY(-2deg); } to { transform: translate3d(0, 10px, 0) rotateX(-1.4deg) rotateY(2.4deg); } }
.rig { position: relative; width: 400px; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-22deg) rotateZ(1.5deg); }
.rig > .glow, .rig > .far, .rig > .slab-edge, .rig > .slab, .rig > .stamp { position: absolute; }
.glow { left: -46%; bottom: -30%; width: 120%; height: 86%; border-radius: 50%; transform: translateZ(-120px);
  background: radial-gradient(circle, rgba(255,138,61,.75), rgba(255,100,104,.3) 44%, transparent 70%); filter: blur(40px); }
.far { left: -50%; top: 8%; width: 230px; height: 156px; border-radius: 26px; transform: translateZ(-300px); filter: blur(5px); opacity: .7;
  background: url(/art/lines.jpg) center / cover; border: 1px solid rgba(255,255,255,.14); }
.slab-edge { inset: 0; border-radius: 46px; background: linear-gradient(140deg, #123a40, #0a2327 60%, #40231c); transform: translate3d(7px, 7px, -22px); box-shadow: 0 70px 100px -50px rgba(0,0,0,.9); }
.slab { inset: 0; border-radius: 46px; }
.slab::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.6px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(160,240,235,.25) 22%, rgba(255,255,255,.02) 48%, rgba(255,160,90,.2) 72%, rgba(255,150,80,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ticket { position: relative; padding: 34px 34px 30px; transform: translateZ(20px); transform-style: preserve-3d; }
.thead { display: flex; align-items: center; gap: 12px; }
.thead svg { width: 34px; height: 34px; flex: none; }
.thead b { display: block; font-weight: 600; font-size: 19px; line-height: 1.15; }
.thead span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.big { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 0 6px; transform: translateZ(26px); }
.big b { font-weight: 700; font-size: 106px; line-height: .86; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffe0a8 0%, #ffb65a 34%, #ff8a3d 64%, #ff6468 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 34px rgba(255,128,56,.5)); }
.big.date b { font-size: 84px; letter-spacing: -.045em; }
.big i { font-style: normal; font-family: var(--mono); font-size: 14px; letter-spacing: .2em; color: var(--amber); }
.tday { margin: 14px 0 0; font-weight: 500; font-size: 20px; letter-spacing: -.01em; transform: translateZ(12px); }
.facts { margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.facts dd { margin: 0; display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 16px; text-align: right; }
.facts .bullet { width: 20px; height: 20px; font-size: 11px; }
.stamp { right: -16px; top: -16px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; transform: translateZ(86px);
  font-weight: 700; font-size: 24px; color: #fff; background: radial-gradient(circle at 34% 28%, #ffb27a, #ff6a3d 46%, #e2383f);
  box-shadow: 0 16px 34px -8px rgba(255,90,60,.85), inset 0 2px 3px rgba(255,255,255,.5), inset 0 -4px 8px rgba(120,10,20,.45); }

/* ---- the proof */
.proof { border-radius: 34px; overflow: hidden; margin-top: 6px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); scroll-margin-top: 96px; }
.proof .pic { position: relative; min-height: 380px; background: url(/art/trails.jpg) center / cover no-repeat; }
.proof .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(10,32,37,.6) 100%), linear-gradient(180deg, transparent 50%, rgba(7,26,31,.55) 100%); }
.proof .pic p { position: absolute; z-index: 1; left: 30px; bottom: 24px; right: 30px; margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.proof .in { padding: 36px 36px 34px; display: grid; gap: 16px; align-content: center; }
.proof h2, .track h2 { font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.proof .why { margin: 0; color: var(--soft); font-weight: 300; font-size: 17px; max-width: 54ch; }
.rec { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; border-radius: 22px; padding: 16px 18px;
  background: linear-gradient(140deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.rec:hover { transform: translateX(6px); border-color: rgba(255,214,170,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.26), -18px 18px 40px -26px var(--lc); }
.rec b { display: block; font-weight: 600; font-size: 17px; line-height: 1.25; }
.rec span.u { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec .open { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--amber); white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.steps div { border-radius: 20px; padding: 14px 16px 15px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.steps b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.steps p { margin: 5px 0 0; font-size: 14.5px; font-weight: 300; line-height: 1.4; color: var(--soft); }

/* ---- on the line: the arrivals just before and after, as stops */
.track { border-radius: 34px; margin-top: 22px; padding: 34px 36px 30px; overflow: hidden; }
.track .sub { margin: 8px 0 0; color: var(--soft); font-weight: 300; }
.stops { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; margin-top: 34px; }
.stops::before { content: ""; position: absolute; left: -36px; right: -36px; top: 10px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(99,230,214,0), #63e6d6 12%, #ffd08a 38%, #ff8a3d 62%, #ff6468 88%, rgba(255,100,104,0)); box-shadow: 0 0 22px rgba(255,150,70,.45); }
.tstop { position: relative; display: block; padding: 40px 6px 4px 0; min-width: 0; }
.tstop::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #0c262b; border: 4px solid var(--ink); box-sizing: border-box;
  box-shadow: 0 0 16px -2px var(--lc); transition: transform .25s cubic-bezier(.2,1.6,.4,1), background .2s ease; }
.tstop b { display: block; font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; transition: color .2s ease; }
.tstop span { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--dim); margin-top: 4px; }
.tstop em { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-top: 8px; }
a.tstop:hover b { color: var(--amber); }
a.tstop:hover::before { transform: scale(1.25); background: var(--lc); }
.tstop.here::before { width: 30px; height: 30px; left: -5px; top: -3px; border-width: 6px; background: var(--ember); box-shadow: 0 0 0 7px rgba(255,138,61,.2), 0 0 30px var(--ember); }
.tstop.here b { color: var(--amber); }

/* ---- the way out */
.endcap { position: relative; margin-top: 22px; border-radius: 34px; overflow: hidden; min-height: clamp(280px, 32vw, 420px); display: grid; align-content: end; padding: 34px;
  background: url(/art/hall.jpg) center 42% / cover no-repeat; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -44px rgba(0,0,0,.8); }
.endcap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,31,0) 22%, rgba(7,26,31,.5) 58%, rgba(7,26,31,.94) 100%); }
.endcap > * { position: relative; }
.endcap .free { margin: 0; font-weight: 600; font-size: clamp(32px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; max-width: 16ch; text-shadow: 0 6px 40px rgba(0,0,0,.55); }
.more { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.more a { color: var(--soft); border-bottom: 1px solid rgba(255,255,255,.18); }
.more a:hover { color: var(--amber); }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.follow span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }
.follow a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: color .2s, border-color .2s; }
.follow a svg { width: 18px; height: 18px; }
.follow a:hover { color: var(--amber); border-color: rgba(255,182,90,.45); }
.by { margin: 22px 0 0; font-size: 14px; font-weight: 300; color: var(--dim); }
.by a { color: var(--soft); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.18); }
.by a:hover { color: var(--amber); }

/* ---- things rise into place as they come into view (company.js adds .pre; with no script nothing is ever hidden) */
.rise { transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1), filter .9s ease; }
.rise.pre { opacity: 0; transform: translate3d(0, 44px, 0) scale(.985); filter: blur(6px); }
.hero .in > * { transition: opacity .8s ease calc(var(--i, 0) * 90ms), transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 90ms); }
.hero.pre .in > * { opacity: 0; transform: translate3d(0, 26px, 0); }
.stage { transition: opacity 1.1s ease .25s, transform 1.3s cubic-bezier(.2,.8,.2,1) .25s; }
.hero.pre .stage { opacity: 0; transform: translate3d(40px, 30px, 0) scale(.94); }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 34px; }
  .lede { max-width: 36ch; }
  .stage { place-items: center; padding: 56px 0 50px; }
  .proof { grid-template-columns: 1fr; }
  .proof .pic { min-height: 220px; }
}
@media (max-width: 760px) {
  .stops { grid-auto-flow: row; gap: 0; margin-top: 26px; }
  .stops::before { left: 8px; right: auto; top: -26px; bottom: -30px; width: 4px; height: auto;
    background: linear-gradient(180deg, rgba(99,230,214,0), #63e6d6 12%, #ffd08a 38%, #ff8a3d 62%, #ff6468 88%, rgba(255,100,104,0)); }
  .tstop { padding: 0 0 22px 40px; }
  .tstop::before { top: 3px; }
  .tstop.here::before { left: -5px; top: -1px; }
}
@media (max-width: 640px) {
  .top .social { display: none; }
  .top { padding: 9px 16px 9px 12px; }
  .back b { display: none; }
  .acts { gap: 10px; margin-top: 28px; }
  .btn { padding: 14px 22px; font-size: 16px; }
  .stage { padding: 44px 0 30px; }
  .float { scale: .8; margin: -44px 0; translate: -26px 0; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
  .eyebrow .bullet { width: 20px; height: 20px; font-size: 11px; }
  .rig { transform: rotateX(8deg) rotateY(-15deg) rotateZ(1.5deg); }
  .far { left: -20%; }
  .proof .in { padding: 26px 18px 24px; }
  .rec { grid-template-columns: auto minmax(0, 1fr); }
  .rec .open { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .track { padding: 26px 20px 12px; }
  .endcap { padding: 22px 20px; }
  .follow { gap: 8px; }
  .follow span { flex-basis: 100%; margin: 0 0 2px; }
  .follow a { gap: 7px; padding: 9px 13px 9px 11px; font-size: 14px; }
  .follow a svg { width: 16px; height: 16px; }
}
@media (max-width: 400px) { .float { scale: .74; margin: -60px 0; translate: -22px 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .float { animation: none; }
  .rise, .hero .in > *, .stage { transition: none; }
}
