/* HOW THE WEST END GOT FOUND. Archetype: Experience, as a short story with its proof. Metaphor: the mall's visitor log.
   Tokens: brick night (the alley after dark), neon arch pink and the game's aqua, the site's yellow for every call to
   action. Type: Archivo wide for headings like the other landing pages, Inter for reading, Pixelify only in the brand
   mark. The one bold thing is the visitor chart; everything else stays quiet. */
:root {
  color-scheme: dark;
  --night: #170d14; --brick: #2a1520; --deep: #0e070c;
  --text: #fbf3f6; --muted: rgba(240, 222, 230, 0.78); --dim: #b9a3ad;
  --neon: #ff5aa8; --neon-soft: rgba(255, 90, 168, 0.18); --aqua: #5ff3ff;
  --yellow: #ffee00; --ink: #160c12; --line: rgba(255, 210, 228, 0.16); --plate: rgba(42, 21, 32, 0.72);
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6;
  background: linear-gradient(180deg, var(--deep) 0%, var(--night) 35%, var(--brick) 75%, var(--deep) 100%);
  isolation: isolate; overflow-x: clip;
}
/* brick courses, faint, so the dark reads as the alley rather than a void (rule 1) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 210, 228, .035) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 210, 228, .025) 0 1px, transparent 1px 48px); }
a { color: var(--aqua); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; font-stretch: 118%; line-height: 1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 750; letter-spacing: -.01em; }
section { max-width: 1120px; margin: 0 auto; padding: clamp(2.5rem, 7vh, 4.5rem) 16px; }
.intro { color: var(--muted); max-width: 60ch; margin: .8rem 0 0; }

/* ---------- the site menu (site-nav.css supplies the links) ---------- */
.top { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 16px; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: "Pixelify Sans", monospace; font-size: 1.05rem; white-space: nowrap; }
.home img { width: 34px; height: auto; transition: transform 0.25s ease; }
.home:hover img { transform: rotate(-12deg) scale(1.08); }
.home:hover { color: var(--yellow); }
.start { color: var(--ink); background: var(--yellow); text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 0.6em 1.1em; border-radius: 999px; transition: box-shadow 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.start:hover { box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.25), 0 0 24px rgba(255, 238, 0, 0.35); transform: translateY(-1px); }
.sitenav a:hover { background: var(--neon-soft); }
.sitenav a[aria-current="page"] { color: var(--yellow); }

/* ---------- buttons, the same keys as the other landing pages ---------- */
.go-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; text-decoration: none;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn--lit { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #8a7f00, 0 8px 24px rgba(255, 238, 0, .2); }
.btn--lit:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #8a7f00, 0 0 0 6px rgba(255, 238, 0, .14), 0 12px 30px rgba(255, 238, 0, .3); }
.btn--lit:active { transform: translateY(4px); box-shadow: 0 1px 0 #8a7f00, 0 4px 14px rgba(255, 238, 0, .25); }
.btn--plain { color: var(--text); border: 2px solid rgba(251, 243, 246, .6); }
.btn--plain:hover { background: var(--text); color: var(--ink); border-color: var(--text); }

/* ---------- hero: the alley behind the words, the dated proof on a phone ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; max-width: 1240px; margin: 0 auto; padding: clamp(1.5rem, 5vh, 3rem) 16px clamp(2.5rem, 7vh, 4rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
/* Dallas Alley from the game, faded into the night on every side; behind everything, takes no clicks */
.hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background: url(/work/play-westend@2x.webp) center 40% / cover no-repeat; opacity: .32;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 30%, transparent 75%); }
.hero__kicker { margin: 0 0 .9rem; color: var(--neon); font-weight: 700; text-shadow: 0 0 18px rgba(255, 90, 168, .55); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 900; line-height: .98; max-width: 14ch; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 48ch; margin: 1.2rem 0 0; color: var(--muted); }

.proof { margin: 0; }
.phone { position: relative; border-radius: 34px; padding: 10px; background: #050305; border: 1px solid rgba(255, 210, 228, .22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 60px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 90, 168, .18);
  transform: rotate(1.5deg); transition: transform .35s ease, box-shadow .35s ease; }
.phone:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 36px 70px rgba(0, 0, 0, .6), 0 0 80px rgba(255, 90, 168, .3); }
.phone img { display: block; width: 100%; height: auto; border-radius: 24px; }
.proof figcaption, .clip figcaption { margin-top: .9rem; color: var(--dim); font-size: .88rem; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .phone, .phone:hover { transform: none; transition: none; } }

/* ---------- THE ONE BOLD THING: the visitor log. Bars grow from the floor like neon tubes; the two jumps glow ---------- */
.bars { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px);
  align-items: end; height: clamp(300px, 46vh, 420px); border-bottom: 2px solid var(--line); position: relative; }
.bars li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar { width: 100%; max-width: 54px; height: calc(var(--v) / 241 * 78%); min-height: 4px; border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, rgba(95, 243, 255, .85), rgba(95, 243, 255, .25));
  box-shadow: 0 0 14px rgba(95, 243, 255, .25); transform-origin: bottom; transition: filter .2s, box-shadow .2s; }
.bars li.hot .bar { background: linear-gradient(180deg, var(--neon), rgba(255, 90, 168, .35)); box-shadow: 0 0 22px rgba(255, 90, 168, .55), 0 0 4px #fff inset; }
.bars li:hover .bar { filter: brightness(1.25); box-shadow: 0 0 26px rgba(95, 243, 255, .6); }
.bars li.hot:hover .bar { box-shadow: 0 0 34px rgba(255, 90, 168, .8), 0 0 4px #fff inset; }
/* the number sits on top of its bar */
.bars b { order: -1; font-family: "Archivo", sans-serif; font-stretch: 112%; font-weight: 800; font-size: clamp(.72rem, 1.3vw, 1rem); margin-bottom: .35rem; color: var(--text); }
.bars i { position: absolute; top: calc(100% + .5rem); font-style: normal; font-size: clamp(.64rem, 1.1vw, .82rem); color: var(--dim); white-space: nowrap; }
/* what caused it: a neon callout above the bar */
.bars em { position: absolute; bottom: calc(var(--v) / 241 * 78% + 2.5rem); left: 50%; transform: translateX(-50%); width: max-content; max-width: 15ch;
  font-style: normal; font-weight: 700; font-size: clamp(.7rem, 1.1vw, .86rem); line-height: 1.25; text-align: center; color: var(--neon);
  text-shadow: 0 0 12px rgba(255, 90, 168, .5); }
.bars li:first-child em { left: 0; transform: none; text-align: left; }
.bars li:last-child em { left: auto; right: 0; transform: none; text-align: right; max-width: 7ch; }
.log__sum { margin: 3rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 52ch; }
@media (prefers-reduced-motion: no-preference) {
  .bar { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- the four beats. A real sequence, so numbered ---------- */
.beats__list { list-style: none; counter-reset: beat; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
.beats__list li { counter-increment: beat; position: relative; padding: 1.5rem 1.4rem 1.4rem 4.2rem; border-radius: 18px; background: var(--plate); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s; }
.beats__list li:hover { border-color: rgba(255, 90, 168, .5); transform: translateY(-2px); }
.beats__list li::before { content: counter(beat); position: absolute; left: 1.2rem; top: 1.25rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--neon); color: var(--neon); font-family: "Archivo", sans-serif; font-weight: 800; box-shadow: 0 0 14px rgba(255, 90, 168, .35); }
.beats__list p { margin: .6rem 0 0; color: var(--muted); }

/* ---------- the clippings ---------- */
.clips__row { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.clip { margin: 0; }
.clip a { display: block; text-decoration: none; color: inherit; border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.clip a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.clip:not(.clip--pic) a { padding: clamp(1.6rem, 4vw, 2.6rem); background: #fbf6f1; color: #1d1418; }
.clip__mast { display: block; font-weight: 700; font-size: .9rem; color: #c8102e; }
.clip__head { display: block; margin-top: .8rem; font-family: "Archivo", sans-serif; font-stretch: 100%; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; }
.clip__quote { display: block; margin-top: 1.4rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; color: #4a3a40; }
.clip--pic img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }

/* ---------- why creative work moves search. Not a sequence, so no numbers: a lit rule marks each reason ---------- */
.why__list { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 4vw, 3rem); }
.why__list div { padding-left: 1.1rem; border-left: 3px solid var(--aqua); transition: border-color .2s; }
.why__list div:hover { border-left-color: var(--neon); }
.why__list dt { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.why__list dd { margin: .5rem 0 0; color: var(--muted); }
@media (max-width: 720px) { .why__list { grid-template-columns: 1fr; } }

/* ---------- what it shows ---------- */
.take p { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); margin: 1rem 0 0; }
.take .fine { font-size: .86rem; color: var(--dim); margin-top: 2.4rem; }

.foot { max-width: 1120px; margin: 0 auto; padding: 2rem 16px 3rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.foot a { color: var(--dim); margin-left: .8em; }
.foot a:hover { color: var(--yellow); }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .proof { max-width: 340px; }
  .beats__list, .clips__row { grid-template-columns: 1fr; }
  .clip--pic { max-width: 420px; }
}
@media (max-width: 560px) {
  /* eleven bars won't hold their callouts at this width, so the log turns on its side: one row per day */
  .bars { grid-template-columns: 1fr; height: auto; gap: 6px; border-bottom: 0; }
  .bars li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 2.6rem; align-items: center; gap: .6rem; height: auto; }
  .bars i { position: static; order: 0; font-size: .8rem; }
  .bar { order: 1; height: 14px; width: calc(var(--v) / 241 * 100%); max-width: none; border-radius: 2px 8px 8px 2px; transform-origin: left; }
  .bars b { order: 2; margin: 0; text-align: right; }
  .bars em, .bars li:first-child em, .bars li:last-child em { position: static; grid-column: 2 / 4; order: 3; transform: none; max-width: none; text-align: left; margin: -.1rem 0 .4rem; }
  @keyframes rise { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
