:root {
  --bg: #0b0c0e;
  --text: #ecedef;
  --muted: #8b9098;
  --faint: #ffffff14;
  --accent: #d70202;
  --rig: #e6b93c;
  --axis-x: #ff3352;
  --rail-w: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --font: "Inter Tight", "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter Tight", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Monogram */
.mark {
  position: fixed; top: 24px; left: var(--gutter); z-index: 30;
  font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 20px; letter-spacing: -.02em;
}

/* Inner pages: monogram scrolls away instead of floating over content */
.inner .mark { position: absolute; }

/* Icon rail */
.rail {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: 4px; padding: 8px;
  background: #0b0c0e8c; border: 1px solid var(--faint); border-radius: 999px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.rail a {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--muted); transition: color .2s, background .2s;
}
.rail a:hover, .rail a:focus-visible { color: var(--text); background: var(--faint); outline: none; }
.rail a.active { color: var(--accent); }
.rail a.active::after {
  content: ""; position: absolute; right: -6px; width: 3px; height: 3px; border-radius: 50%; background: var(--accent);
}
.rail .tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translate(6px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); background: #0b0c0ee6; border: 1px solid var(--faint);
  padding: 6px 10px; border-radius: 6px; transition: opacity .18s, transform .18s;
}
.rail a:hover .tip, .rail a:focus-visible .tip { opacity: 1; transform: translate(0, -50%); }

/* Landing */
.home { overflow: hidden; }
.stage { position: fixed; inset: 0; }
.stage-media { position: absolute; inset: 0; overflow: hidden; }
.stage-media img, .stage-media video, .stage-media canvas {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); will-change: transform;
}
.stage-media canvas { display: block; transform: none; }
/* Rig landing: he stands left in the viewport, the name takes the empty grid on the right */
.home.rig .mark { display: none; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, #0b0c0ef0 0%, #0b0c0e80 22%, transparent 48%),
    linear-gradient(180deg, #0b0c0e80 0%, transparent 18%);
}
.stage-caption {
  position: absolute; left: var(--gutter); right: calc(var(--rail-w) + 24px); bottom: clamp(28px, 6vh, 60px);
  animation: rise .9s .2s both;
}
.stage-caption h1 {
  font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(40px, 7.4vw, 132px); line-height: .86; letter-spacing: -.015em;
  text-transform: uppercase;
}
.stage-caption h1 span { display: block; }
.stage-caption p {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin-top: clamp(14px, 2vh, 22px);
  font-family: var(--display); font-weight: 600; font-stretch: 112%;
  font-size: clamp(12px, 1.25vw, 19px); letter-spacing: .14em; text-transform: uppercase;
}
.stage-caption p .x { color: var(--accent); font-weight: 400; }

/* Rig landing: the name is a selected Blender text object in the viewport —
   solid-shaded grey letters, orange active-object outline, origin dot, and
   a small viewport name label carrying the roles. */
.home.rig { --active: #ffa033; }
.home.rig .stage-shade { background: none; }
.home.rig .stage-caption {
  /* origin sits on the scene's red X axis line (16.5% up from the frame bottom) */
  left: auto; right: 132px; bottom: 16.5vh;
  width: max-content; max-width: calc(100vw - 180px); text-align: left;
}
.home.rig .stage-caption h1 {
  position: relative; width: max-content;
  font-size: clamp(36px, 5.4vw, 104px); line-height: .9; letter-spacing: 0;
  color: #c8c9cc;
  -webkit-text-stroke: 5px var(--active); paint-order: stroke fill;
}
@supports not (paint-order: stroke) {
  .home.rig .stage-caption h1 {
    -webkit-text-stroke: 0;
    text-shadow: 2px 0 var(--active), -2px 0 var(--active), 0 2px var(--active), 0 -2px var(--active),
      1.5px 1.5px var(--active), -1.5px 1.5px var(--active), 1.5px -1.5px var(--active), -1.5px -1.5px var(--active);
  }
}
/* object origin */
.home.rig .stage-caption h1::after {
  content: ""; position: absolute; left: -6px; bottom: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--active); box-shadow: 0 0 0 1.5px #1b1b1d;
}
.home.rig .stage-caption p {
  position: absolute; left: 0; top: 100%; width: max-content;
  justify-content: flex-start; gap: 4px 8px; margin-top: 14px;
  font: 500 13px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: #e8e8e8;
  text-shadow: 0 1px 2px #000a;
}
.home.rig .stage-caption p::before { content: "Text.001"; color: var(--active); margin-right: 6px; }
.home.rig .stage-caption p .x { color: #ffffff66; }
@media (max-width: 700px) {
  .home.rig .stage-caption { left: var(--gutter); right: var(--gutter); bottom: 132px; max-width: none; }
  .home.rig .stage-caption h1 { -webkit-text-stroke-width: 4px; }
}

/* Inner pages */
.page {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  padding: 130px calc(var(--gutter) + var(--rail-w)) 80px var(--gutter);
  min-height: calc(100svh - 70px);
  animation: rise .6s both;
}
.page-head { max-width: 680px; margin-bottom: 72px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.page-head h1 { font-weight: 300; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -.025em; }
.page-head .intro { margin-top: 24px; color: var(--muted); font-size: 18px; max-width: 560px; }
.link-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 14px; letter-spacing: .04em; color: var(--text);
  border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: gap .2s;
}
.link-cta:hover { gap: 16px; }
.link-cta::after { content: "→"; color: var(--accent); }

/* List layout */
.rows { border-top: 1px solid var(--faint); }
.row {
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--faint);
  transition: padding .25s;
}
a.row:hover { padding-left: 10px; }
.row h3 { font-weight: 400; font-size: 22px; letter-spacing: -.01em; }
.row .sub { color: var(--muted); }
.row .meta { color: var(--muted); font-size: 13px; letter-spacing: .06em; text-align: right; }
.row .desc { grid-column: 1 / -1; color: var(--muted); font-size: 15px; max-width: 640px; margin-top: -10px; }

/* Grid layout */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 56px 32px; perspective: 1200px; }
.tile.hidden { display: none; }
.tile-media {
  position: relative; aspect-ratio: 16 / 10; background: #15171b; overflow: hidden; border-radius: 8px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
a.tile:hover .tile-media { box-shadow: 0 30px 60px -20px #000c, 0 0 0 1px #ffffff1a; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.tile:hover .tile-media img { transform: scale(1.06); }
.tile-media.empty { display: grid; place-items: center; color: #ffffff24;
  background: linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 24px 24px, #121418; }
.tile-media.empty svg { width: 44px; height: 44px; stroke-width: 1; }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), #ffffff2e, transparent 55%); }
a.tile:hover .glare { opacity: 1; }
.play {
  position: absolute; left: 16px; bottom: 16px; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: #0b0c0ebf; backdrop-filter: blur(8px);
  color: var(--text); border: 1px solid #ffffff2a; transition: background .3s, color .3s, transform .3s;
}
.play svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
a.tile:hover .play { background: var(--accent); color: #fff; transform: scale(1.1); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -32px 0 40px; }
.filter, .topic {
  font: inherit; font-size: 13px; letter-spacing: .04em; color: var(--muted); cursor: pointer;
  background: none; border: 1px solid var(--faint); border-radius: 999px; padding: 8px 16px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.filter:hover, .topic:hover { color: var(--text); border-color: #ffffff40; }
.filter[aria-pressed="true"] { color: #0b0c0e; background: var(--text); border-color: var(--text); }
.tile h3 { font-weight: 400; font-size: 18px; margin-top: 16px; }
.tile .sub { color: var(--muted); font-size: 14px; }
.tile .desc { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Showcase layout (big-name roster) */
.page.wide { max-width: 1320px; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 88px); margin-top: 56px; }
.stat b {
  display: block; font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(44px, 6vw, 84px); line-height: .9; letter-spacing: -.02em;
}
.stat b sup { font-size: .4em; color: var(--accent); vertical-align: top; margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.marquee {
  position: relative; overflow: hidden; margin: 80px calc(-1 * var(--gutter)) 24px;
  padding: 26px 0; border-block: 1px solid var(--faint);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(28px, 4vw, 54px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px #ffffff55;
}
.marquee-track span::after { content: "✦"; font-size: .45em; color: var(--accent); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.roster { counter-reset: r; }
.roster-row {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 28px; align-items: center;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--faint);
}
.roster-row::before {
  counter-increment: r; content: counter(r, decimal-leading-zero);
  font-size: 13px; letter-spacing: .1em; color: var(--muted); align-self: start; padding-top: .6em;
}
.roster-row::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--accent);
  transition: right .6s cubic-bezier(.2,.7,.2,1);
}
.roster-row:hover::after { right: 0; }
.roster-name {
  display: flex; align-items: center; gap: 20px; min-width: 0;
  font-family: var(--display); font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(24px, 3.9vw, 54px); line-height: .95; letter-spacing: -.015em;
  transition: color .3s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.roster-row:hover .roster-name { color: var(--accent); transform: translateX(8px); }
.roster-name img { height: clamp(34px, 4vw, 56px); width: auto; flex: none; border-radius: 6px; background: #fff; padding: 4px; }
.roster-side { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.roster-side .role { font-size: 15px; }
.roster-side .years { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.now {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  border: 1px solid #d7020255; border-radius: 999px; padding: 4px 10px;
}
.now::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 #d70202aa; animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #d7020200; } 100% { box-shadow: 0 0 0 0 #d7020200; } }
.roster-desc { grid-column: 2 / -1; color: var(--muted); max-width: 640px; }

.big-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 64px;
  padding: clamp(28px, 4vw, 48px) 0; border-block: 1px solid var(--faint);
  font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(28px, 5vw, 72px); line-height: 1; letter-spacing: -.015em;
  transition: color .3s;
}
.big-cta::after { content: "→"; color: var(--accent); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.big-cta:hover { color: var(--accent); }
.big-cta:hover::after { transform: translateX(12px); }

.status { margin-bottom: 24px; }
.chip {
  display: inline-block; width: fit-content; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid #d7020255; border-radius: 999px; padding: 4px 10px;
}

/* Campus photo that unrolls on hover (showcase) */
.campus-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.campus-hint svg { width: 14px; height: 14px; }
.roster-row.has-campus:hover .campus-hint { color: var(--accent); }
.campus-float {
  position: fixed; left: 0; top: 0; z-index: 40; margin: 0; pointer-events: none;
  width: clamp(260px, 26vw, 380px);
  clip-path: inset(0 0 100% 0 round 10px);
  transition: clip-path .55s cubic-bezier(.7,0,.2,1);
}
.campus-float.show { clip-path: inset(0 0 0 0 round 10px); }
.campus-float img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transform: scale(1.15); transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.campus-float.show img { transform: scale(1); }
.campus-float figcaption {
  background: #0b0c0ef2; padding: 10px 12px; font-size: 11px; letter-spacing: .04em; color: var(--muted);
  border-top: 2px solid var(--accent);
}
.campus-inline { display: none; margin: 16px 0 0; grid-column: 1 / -1; }
.campus-inline img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.campus-inline figcaption { font-size: 11px; color: var(--muted); margin-top: 8px; }
@media (hover: none) {
  .campus-hint { display: none; }
  .campus-inline { display: block; clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.7,0,.2,1) .15s; }
  .roster-row.in .campus-inline { clip-path: inset(0 0 0 0); }
}
.credits { margin-top: 48px; font-size: 12px; color: var(--muted); max-width: 820px; }
.credits a { text-decoration: underline; text-decoration-color: #ffffff30; text-underline-offset: 3px; }
.credits a:hover { color: var(--text); }

/* Timeline (industry) */
.timeline { position: relative; margin-top: 24px; --node-x: 190px; }
.tl-line, .tl-progress { position: absolute; left: var(--node-x); top: 0; width: 2px; margin-left: -1px; }
.tl-line { bottom: 0; background: var(--faint); }
.tl-progress { height: 0; background: linear-gradient(var(--accent), #ff4a3d); box-shadow: 0 0 18px #d7020288; }
.tl-item {
  position: relative; display: grid; grid-template-columns: calc(var(--node-x) - 40px) 80px 1fr;
  padding: 48px 0; align-items: start;
}
.tl-when {
  font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.1; color: var(--muted); text-align: right; padding-top: 6px; transition: color .4s;
}
.tl-node {
  justify-self: center; width: 16px; height: 16px; margin-top: 10px; border-radius: 50%;
  background: var(--bg); border: 2px solid #ffffff40; transition: background .4s, border-color .4s, box-shadow .4s, transform .4s;
}
.tl-item.passed .tl-node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px #d7020222; transform: scale(1.1); }
.tl-item.passed .tl-when { color: var(--text); }
.tl-body { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.tl-body h3 {
  font-family: var(--display); font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(28px, 4.2vw, 58px); line-height: .95; letter-spacing: -.015em; transition: color .3s;
}
.tl-item:hover .tl-body h3 { color: var(--accent); }
.tl-role { font-size: 17px; }
.tl-desc { color: var(--muted); max-width: 560px; }
.tl-index {
  position: absolute; right: 0; top: -10px; font-family: var(--display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(60px, 9vw, 130px); line-height: 1; color: transparent; -webkit-text-stroke: 1px #ffffff12;
  pointer-events: none; z-index: -1;
}

/* Tickets (workshops) */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 28px; perspective: 1200px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 110px 1fr; min-height: 220px;
  background: linear-gradient(135deg, #181b20, #111317); border-radius: 14px; overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  -webkit-mask: radial-gradient(circle 12px at 110px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 12px at 110px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 12px at 110px 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 12px at 110px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket:hover { box-shadow: 0 30px 60px -24px #000; }
.ticket-stub {
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px 16px;
  background: var(--accent); color: #fff;
}
.ticket-no { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ticket-date {
  font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: 20px; line-height: 1;
  writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase;
}
.ticket-body { position: relative; padding: 26px 26px 54px; border-left: 2px dashed #ffffff1f; display: flex; flex-direction: column; gap: 8px; }
.ticket-body .eyebrow { margin-bottom: 4px; }
.ticket-body h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 26px; line-height: 1; text-transform: uppercase; }
.ticket-desc { color: var(--muted); font-size: 15px; }
.barcode {
  position: absolute; right: 22px; bottom: 20px; width: 110px; height: 22px; opacity: .35;
  background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 5px, transparent 5px 8px, var(--text) 8px 11px, transparent 11px 13px);
}

/* Builder (1:1 classes) */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -24px 0 72px; }
.tools-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.tool {
  font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: 15px; text-transform: uppercase;
  padding: 10px 16px; border-radius: 10px; background: #15181d; border: 1px solid var(--faint);
  transition: transform .3s cubic-bezier(.3,1.6,.5,1), border-color .2s, color .2s;
}
.tool:hover { transform: translateY(-6px) rotate(calc((var(--i) - 2) * 2deg)); border-color: var(--accent); color: var(--accent); }
.step { display: flex; align-items: baseline; gap: 16px; margin: 0 0 24px; }
.step-no { font-family: var(--display); font-weight: 800; font-stretch: 125%; color: var(--accent); font-size: 18px; }
.step h2 { font-weight: 300; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.015em; }
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 72px; perspective: 1000px; }
.format {
  position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; padding: 26px; min-height: 200px;
  background: #121418; border: 1px solid var(--faint); border-radius: 14px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, background .25s;
}
.format:hover { border-color: #ffffff38; }
.format h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1; text-transform: uppercase; }
.format p { color: var(--muted); font-size: 14px; }
.format-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.format::after {
  content: ""; position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #ffffff40; transition: all .25s;
}
.format[aria-pressed="true"] { border-color: var(--accent); background: linear-gradient(160deg, #d702021f, #121418 60%); }
.format[aria-pressed="true"]::after { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 4px #121418; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 120px; }
.topic { font-size: 15px; padding: 12px 20px; color: var(--text); }
.topic::before { content: "+ "; color: var(--accent); }
.topic[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.04); }
.topic[aria-pressed="true"]::before { content: "✓ "; color: inherit; }
.summary {
  position: sticky; bottom: 20px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 24px; border-radius: 999px; background: #15181de6; border: 1px solid var(--faint);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.summary.ready { border-color: #d7020266; }
.summary-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.muted { color: var(--muted); }
.btn-send {
  flex: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14px; letter-spacing: .04em; color: #fff;
  background: var(--accent); border: 0; border-radius: 999px; padding: 14px 22px; transition: gap .2s, background .2s;
}
.btn-send::after { content: "→"; }
.btn-send:hover { gap: 16px; background: #ff9150; }

/* Contact composer */
.composer {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px;
  font-weight: 300; font-size: clamp(24px, 3.6vw, 46px); line-height: 1.35; letter-spacing: -.015em;
}
.blank {
  font: inherit; font-weight: 500; color: var(--accent); background: none; border: 0; border-bottom: 2px dashed #d7020280;
  padding: 0 4px; margin: 0 2px; border-radius: 0; max-width: 100%; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.blank:hover, .blank:focus { outline: none; border-bottom-style: solid; border-color: var(--accent); background: #d7020212; }
input.blank { cursor: text; }
input.blank::placeholder { color: #d7020266; }
select.blank { -webkit-appearance: none; appearance: none; padding-right: 1.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d70202' stroke-width='1.5'/%3E%3C/svg%3E") right .15em center / .45em no-repeat; }
select.blank option { background: var(--bg); color: var(--text); font-size: 16px; }
.composer .btn-send { align-self: flex-start; margin-top: 28px; font-size: 16px; padding: 18px 30px; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--faint); }
.contact-lines .or { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.contact-lines a { font-weight: 300; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: -.01em; width: fit-content; border-bottom: 1px solid var(--faint); transition: border-color .2s; }
.contact-lines a:hover { border-color: var(--accent); }
.contact-lines span { color: var(--muted); }

/* Video lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px;
  background: #050506e6; backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s;
}
.lightbox.open { opacity: 1; }
.lightbox-frame { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000;
  transform: scale(.94); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.lightbox.open .lightbox-frame { transform: none; }
.lightbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); background: none; border: 1px solid #ffffff30; border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

/* Wireframe 3D object (inner pages, drawn by objects.js) */
.obj-wrap {
  position: absolute; top: 40px; right: calc(var(--rail-w) + 12px); z-index: 1; pointer-events: none;
  width: clamp(240px, 26vw, 380px); aspect-ratio: 1;
  animation: rise 1s .3s both;
}
.obj-wrap canvas { width: 100% !important; height: 100% !important; display: block; }

/* Cursor ring */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 0; height: 0;
}
.cursor::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #ffffff66; transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, border-color .25s, opacity .2s;
}
.cursor.hover::before { transform: scale(1.5); border-color: var(--accent); background: #d7020214; }
.cursor.labelled::before { transform: scale(2.4); background: var(--accent); border-color: var(--accent); }
.cursor span {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.cursor.labelled span { opacity: 1; }
.cursor.gone::before { opacity: 0; }

/* Rig landing: free red dot cursor + locked X axis with a dragged handle */
.home.rig, .home.rig * { cursor: none; }
.rig-dot::before { width: 8px; height: 8px; left: -4px; top: -4px; border: 0; background: var(--axis-x); }
.rig-dot.hover::before { width: 36px; height: 36px; left: -18px; top: -18px; transform: scale(1.5); background: #d7020214; border: 1px solid var(--accent); }
.x-axis {
  position: fixed; left: 0; top: 50%; z-index: 5; height: 1px; pointer-events: none;
  background: var(--axis-x); opacity: .7; box-shadow: 0 0 6px #ff335266;
  /* break the line where the hollow arrow sits, so it reads as running behind it */
  --gap: 78px;
  -webkit-mask: linear-gradient(90deg, #000 calc(var(--hx, -999px) - var(--gap)), #0000 0 calc(var(--hx, -999px) + var(--gap)), #000 0);
          mask: linear-gradient(90deg, #000 calc(var(--hx, -999px) - var(--gap)), #0000 0 calc(var(--hx, -999px) + var(--gap)), #000 0);
}
.x-handle {
  position: fixed; left: 0; top: 50%; z-index: 6; width: 0; height: 0; pointer-events: none;
}
.x-handle svg {
  position: absolute; left: -80px; top: -33px; width: 160px; height: 66px; overflow: visible;
  fill: none; stroke: var(--axis-x); stroke-width: 2.6; stroke-linejoin: miter;
}
.x-handle b, .x-handle i {
  position: absolute; left: -60px; width: 120px; text-align: center; white-space: nowrap;
  font: 500 10px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em;
}
.x-handle b { top: 42px; color: var(--axis-x); }
.x-handle i { top: 55px; color: #ffffff80; font-style: normal; }

/* Scroll reveal + page fade */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.ticket.reveal.in {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, opacity .8s var(--d, 0ms);
}
body { transition: opacity .22s; }
body.leaving { opacity: 0; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  max-width: 1120px; margin: 0 auto;
  padding: 24px calc(var(--gutter) + var(--rail-w)) 28px var(--gutter);
  font-size: 12px; color: var(--muted); border-top: 1px solid var(--faint);
}
.socials { display: flex; gap: 20px; flex-wrap: wrap; }
.socials a:hover { color: var(--text); }

.missing { color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .obj-wrap { width: 200px; top: 50px; right: 8px; opacity: .8; }
}

/* Phones: rail becomes a bottom bar */
@media (max-width: 700px) {
  .rail {
    top: auto; bottom: 14px; right: 50%; transform: translateX(50%);
    flex-direction: row; gap: 0; padding: 6px; max-width: calc(100vw - 24px);
  }
  .rail a { width: 42px; height: 42px; }
  .rail a svg { width: 22px; height: 22px; }
  .rail a.active::after { right: auto; bottom: -3px; }
  .rail .tip { display: none; }
  .obj-wrap { width: 112px; top: 10px; right: 10px; opacity: 1; }
  .stage-caption { bottom: 86px; right: var(--gutter); }
  .roster-row { grid-template-columns: 1fr; }
  .roster-row::before { padding-top: 0; }
  .roster-side { text-align: left; align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .roster-desc { grid-column: 1; }
  .marquee { margin-top: 56px; }
  .timeline { --node-x: 8px; }
  .tl-item { grid-template-columns: 16px 1fr; gap: 8px 16px; padding: 32px 0; }
  .tl-node { grid-row: 1; grid-column: 1; margin-top: 4px; }
  .tl-when { grid-column: 2; text-align: left; padding: 0; font-size: 16px; }
  .tl-body { grid-column: 2; }
  .ticket { grid-template-columns: 84px 1fr;
    -webkit-mask: radial-gradient(circle 10px at 84px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at 84px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle 10px at 84px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 10px at 84px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
  .summary { bottom: 76px; border-radius: 18px; flex-direction: column; align-items: stretch; padding: 14px; }
  .summary-text { white-space: normal; }
  .btn-send { justify-content: center; }
  .filters { margin-top: -16px; }
  .page { padding: 100px var(--gutter) 60px; }
  .page-head { margin-bottom: 48px; }
  .footer { padding: 24px var(--gutter) 96px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .row .meta { text-align: left; }
  .row .desc { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
}

/* Bigger icon rail (desktop, all pages) */
@media (min-width: 701px) {
  :root { --rail-w: 100px; }
  .rail { right: 24px; gap: 6px; padding: 10px; }
  .rail a { width: 54px; height: 54px; }
  .rail a svg { width: 26px; height: 26px; }
  .rail .tip { font-size: 13px; }
  .home .stage-caption { right: 132px; }
}

/* Landing loader: a Cycles-style tile render that reveals the viewport */
.boot { position: fixed; inset: 0; z-index: 90; pointer-events: auto; transition: opacity .5s ease; }
.boot.done { opacity: 0; pointer-events: none; transition-delay: .25s; }
.boot-tiles { position: absolute; inset: 0 0 26px; display: grid; }
.boot-tiles:empty { background: #1d1e21; }
.boot-tiles b {
  position: relative; background: #1d1e21; transition: opacity .35s ease;
  box-shadow: inset 0 0 0 .5px #ffffff08;
}
.boot-tiles b.on { opacity: 0; }
.boot-tiles b.active { background: #1d1e21e6; }
.boot-tiles b.active::before, .boot-tiles b.active::after {
  content: ""; position: absolute; inset: 3px; pointer-events: none;
  border: 1.5px solid #ffa033;
  -webkit-mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat,
                linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat,
                linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat;
}
.boot-tiles b.active::after { border: 0; background: linear-gradient(90deg, #ffffff06, #ffffff14, #ffffff06); background-size: 200% 100%; animation: bootscan 1s linear infinite; }
@keyframes bootscan { to { background-position: -200% 0; } }
.boot-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #232427; border-top: 1px solid #ffffff12;
  font: 500 11px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #c9c9cc; white-space: nowrap; overflow: hidden;
}
.boot-l { overflow: hidden; text-overflow: ellipsis; }
.boot-r { color: #ffa033; }
.boot-progress { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: #ffa033; transition: width .2s linear; }
@media (prefers-reduced-motion: reduce) { .boot-tiles b.active::after { animation: none; } }

/* Icon rail (desktop, all pages): bare white icons beside a thin vertical rule */
@media (min-width: 701px) {
  .rail {
    right: 28px; gap: 12px; padding: 18px 0 18px 26px;
    background: none; border: 0; border-left: 1px solid #ffffffb3; border-radius: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .rail a { color: #fff; opacity: .92; }
  .rail a:hover, .rail a:focus-visible { background: none; opacity: 1; transform: scale(1.08); }
  .rail a { transition: opacity .2s, transform .2s; }
  .rail a.active { color: #fff; opacity: 1; }
  .rail a.active::after { background: #fff; right: -8px; width: 4px; height: 4px; }
  .rail a svg { stroke-width: 1.4; filter: drop-shadow(0 1px 3px #0006); }
}

/* Media: no drag-out, no long-press save sheet (iOS/Android), no selection highlight */
img, video, canvas, .tile, .campus-float, .stage {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
