*{margin:0;padding:0;box-sizing:border-box}
  :root{
    --ink:#0a0a15; --ink-2:#12121f; --gold:#DAAF37; --gold-2:#f0c95f;
    --teal:#0F7476; --cream:#FFF3E3; --muted:#9a95a8; --rule:rgba(244,239,228,.22);
  }
  body{background:var(--ink);color:var(--cream);font-family:'Manrope',sans-serif;
    line-height:1.66;-webkit-font-smoothing:antialiased}
  .shell{max-width:1080px;margin:0 auto;padding:0 clamp(20px,4.4vw,56px)}
  a{color:inherit;text-decoration:none}

  header{position:sticky;top:0;z-index:20;background:rgba(10,10,21,.9);
    backdrop-filter:blur(12px);border-bottom:1px solid var(--rule)}
  header .shell{display:flex;align-items:center;justify-content:space-between;
    height:68px;gap:18px}
  .brand{font-family:'Playfair Display',serif;font-size:19px;letter-spacing:.04em;color:var(--cream)}
  nav{display:flex;gap:clamp(12px,2vw,28px);font-size:13px;color:var(--muted)}
  nav a:hover{color:var(--gold)}

  .hero{padding:clamp(56px,9vw,120px) 0 clamp(40px,6vw,72px);
    border-bottom:1px solid var(--rule);
    background:radial-gradient(120% 90%% at 88%% -10%%,rgba(15,116,118,.34),transparent 62%%)}
  .eyebrow{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;
    color:var(--gold);margin-bottom:20px}
  h1{font-family:'Playfair Display',serif;font-size:clamp(30px,5.6vw,58px);line-height:1.08;
    letter-spacing:-.02em;max-width:19ch}
  h1 em{font-style:italic;color:var(--gold)}
  .lede{margin-top:26px;max-width:62ch;font-size:clamp(17px,1.7vw,20px);color:rgba(255,243,227,.86)}
  .lede strong{color:var(--cream)}

  section{padding:clamp(46px,6.4vw,92px) 0;border-bottom:1px solid var(--rule)}
  h2{font-family:'Playfair Display',serif;font-size:clamp(22px,3.2vw,36px);line-height:1.14;
    letter-spacing:-.018em;margin-bottom:14px}
  h2 .thin{color:var(--muted);font-weight:400}
  .sub{max-width:64ch;color:rgba(255,243,227,.78);font-size:16.5px}

  .parts{margin-top:clamp(28px,3.6vw,48px);display:grid;gap:1px;
    background:var(--rule);border:1px solid var(--rule)}
  @media(min-width:820px){.parts{grid-template-columns:1fr 1fr}}
  .part{background:var(--ink-2);padding:clamp(22px,3vw,34px)}
  .pmeta{margin-bottom:10px}
  .pregion{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);
    border:1px solid rgba(15,116,118,.5);padding:3px 9px;border-radius:999px}
  .part h3{font-family:'Playfair Display',serif;font-size:20px;margin-bottom:10px;color:var(--cream)}
  .part p{font-size:15px;color:rgba(255,243,227,.74)}
  .pwork{margin-top:12px;font-size:12.5px;letter-spacing:.03em;color:var(--gold)}

  .pull{margin-top:clamp(30px,4vw,52px);border-left:2px solid var(--rgba(244,239,228,.14));
    padding-left:clamp(18px,2.4vw,30px);font-family:'Playfair Display',serif;
    font-style:italic;font-size:clamp(18px,2.3vw,25px);line-height:1.44;max-width:34ch;
    color:var(--cream)}

  .faq{margin-top:clamp(26px,3.4vw,44px);border-top:1px solid var(--rule)}
  .faq details{border-bottom:1px solid var(--rule);padding:20px 0}
  .faq summary{cursor:pointer;list-style:none;font-weight:600;font-size:17px;
    display:flex;justify-content:space-between;gap:16px;align-items:baseline}
  .faq summary::-webkit-details-marker{display:none}
  .faq summary::after{content:"+";color:var(--gold);font-weight:400}
  .faq details[open] summary::after{content:"\2212"}
  .faq .ans{padding-top:12px;max-width:70ch;color:rgba(255,243,227,.76);font-size:15.5px}

  .places{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px}
  .places a{font-size:13.5px;border:1px solid var(--rule);padding:7px 14px;
    border-radius:999px;color:rgba(255,243,227,.8);transition:.2s}
  .places a:hover{border-color:var(--rgba(244,239,228,.14));color:var(--gold)}

  .cta{background:linear-gradient(135deg,rgba(15,116,118,.24),rgba(244,239,228,.16));
    border:1px solid var(--rule);padding:clamp(26px,3.6vw,48px);margin-top:clamp(28px,4vw,52px)}
  .btn{display:inline-flex;align-items:center;gap:9px;background:var(--rgba(244,239,228,.04));color:var(--ink);
    font-weight:600;font-size:14.5px;padding:13px 22px;border-radius:2px;margin-top:20px;
    transition:.2s}
  .btn:hover{background:var(--rgba(244,239,228,.04)-2)}

  .walkwrap{margin-top:clamp(24px,3.2vw,40px);background:#07070f;border:1px solid var(--rule);
    padding:clamp(10px,1.6vw,20px);display:flex;justify-content:center;overflow:hidden}
  #gtawalk{display:block;image-rendering:pixelated;image-rendering:crisp-edges;
    touch-action:none;cursor:ew-resize;max-width:100%}
  /* THE TOUCH CONTROLS. The zones always worked, but nothing on the page said they
     existed, so on a phone the only instruction visible was "W drive A D steer S
     reverse" which is a keyboard a phone does not have. These are the three zones
     drawn where they are, and the keyboard line is hidden on touch. */
  .touchpad{display:none;position:absolute;inset:auto 0 0 0;height:34%;min-height:110px;
    z-index:3;pointer-events:none}
  .touchpad{background:linear-gradient(to top,rgba(6,6,14,.82),rgba(6,6,14,0))}
  .touchpad .tz{position:absolute;bottom:0;top:0;display:flex;align-items:center;
    justify-content:center;padding-bottom:8px;font-family:ui-monospace,monospace;
    font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
    color:rgba(255,243,227,.62);border-top:1px dashed rgba(255,243,227,.16)}
  .touchpad .tz.l{left:0;width:34%;border-right:1px dashed rgba(255,243,227,.16)}
  .touchpad .tz.f{left:34%;width:32%;color:var(--gold);border-right:1px dashed rgba(255,243,227,.16)}
  .touchpad .tz.r{left:66%;width:34%}
  .touchpad .tz b{display:block;font-size:18px;line-height:1;margin-bottom:5px;
    color:inherit;font-weight:400}
  .touchpad .tz.f b{animation:none}
  @media (hover:none) and (pointer:coarse){
    .touchpad{display:block}
    .walknote,.playhint{display:none}
    #gtawalk{cursor:default}
  }
  .walknote{margin-top:16px;font-size:13.5px;color:var(--muted)}
  .walknote .k{font-family:ui-monospace,monospace;font-size:12px;color:var(--gold);
    border:1px solid var(--rule);padding:1px 6px;border-radius:3px}

  footer{border-top:1px solid var(--rule);padding:38px 0;font-size:13px;color:var(--muted)}
  footer .shell{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
  footer a:hover{color:var(--gold)}
  /* THE PLAYER FILLS THE SCREEN. Everything on this page is secondary to the thing
     you can drive, so the thing you can drive is what you see first. */
  .logo { display: flex; align-items: center; gap: .72rem; }
  .logo img { width: 40px; height: 40px; object-fit: contain; }
  .logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
  .logo-text b { font-family: 'Playfair Display', Georgia, serif; font-size: 1.24rem;
    font-weight: 700; letter-spacing: .005em; color: #FFF3E3; line-height: 1; }
  .logo-text i { font-family: 'Manrope', sans-serif; font-style: normal; font-size: .5rem;
    font-weight: 600; letter-spacing: .30em; color: rgba(255,243,227,.62); margin-top: .30em; line-height: 1; }

  /* THE GAME HUD. Real HTML over the WebGL canvas, so every word in it is
     selectable, translatable and readable by a screen reader — none of which was
     true when it was painted into a canvas. */
  .gtahud { position:absolute; inset:0; pointer-events:none;
    font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:#fff; }
  .gtahud > div { position:absolute; }
  .gtahud-road { top:16px; left:18px; display:flex; flex-direction:column; gap:2px;
    text-shadow:0 1px 10px rgba(0,0,0,.85); }
  .gtahud-lbl { font-size:9px; letter-spacing:.16em; text-transform:uppercase;
    color:rgba(244,239,228,.9); }
  .gtahud-roadname { font-size:22px; font-weight:700; line-height:1; margin-bottom:8px; }
  .gtahud-count { font-size:17px; font-weight:700; line-height:1; }
  .gtahud-speed { left:18px; bottom:16px; display:flex; align-items:baseline; gap:6px;
    text-shadow:0 1px 10px rgba(0,0,0,.85); }
  .gtahud-kmh { font-size:34px; font-weight:700; line-height:1; }
  .gtahud-unit { font-size:9px; letter-spacing:.16em; text-transform:uppercase;
    color:rgba(244,239,228,.9); }
  .gtahud-place { right:18px; bottom:16px; text-align:right; display:flex;
    flex-direction:column; gap:3px; background:rgba(6,6,14,.66); padding:10px 16px;
    border-radius:3px; }
  .gtahud-name { font-size:20px; font-weight:700; color:#f0c95f; line-height:1; }
  /* THE BOUNDARY NAME ARRIVES. It used to be a text swap on the next frame. The
     crossing is the point of the game, so the name it produces should land. */
  .gtahud-place.gtahud-in .gtahud-name { animation:gtanamein .55s cubic-bezier(.2,.7,.3,1) both; }
  .gtahud-place.gtahud-in .gtahud-region { animation:gtanamein .55s cubic-bezier(.2,.7,.3,1) .07s both; }
  /* a gold rule sweeps the panel on a crossing, so the moment has a beat that
     is not just the words changing */
  .gtahud-place::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
    background:rgba(244,239,228,.04); transform:scaleX(0); transform-origin:left; }
  .gtahud-place.gtahud-in::after { animation:gtasweep .7s cubic-bezier(.2,.7,.3,1) both; }
  @keyframes gtasweep { from { transform:scaleX(0); } 40% { transform:scaleX(1); } to { transform:scaleX(1); opacity:0; } }
  @keyframes gtanamein {
    from { opacity:0; transform:translateY(-9px) scale(.96); }
    to   { opacity:1; transform:none; }
  }
  .gtahud-region { font-size:8px; letter-spacing:.14em; text-transform:uppercase;
    color:rgba(255,255,255,.62); }
  .gtahud-also { font-size:8px; letter-spacing:.08em; color:rgba(90,220,210,.92);
    text-transform:uppercase; }
  @media (max-width: 640px) {
    .gtahud-roadname { font-size:16px; } .gtahud-count { font-size:14px; }
    .gtahud-kmh { font-size:24px; } .gtahud-name { font-size:15px; }
    .gtahud-place { padding:8px 11px; } .gtahud-road, .gtahud-speed { left:12px; }
    .gtahud-place { right:12px; bottom:12px; } .gtahud-road { top:12px; }
  }

  /* THE END OF THE RUN. Sits over the canvas, on the game's own colour, so the
     finish reads as the end of the drive rather than as a browser alert. */
  .gtaend { position:absolute; inset:0; z-index:40; display:flex;
    align-items:center; justify-content:center; padding:22px;
    font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
    background:linear-gradient(180deg, rgba(6,6,14,.55) 0%, rgba(6,6,14,.92) 62%);
    animation:gtafade .5s ease both; }
  .gtaend-in { width:100%; max-width:430px; text-align:center; color:#fff; }
  .gtaend-k { font-size:10px; letter-spacing:.30em; text-transform:uppercase;
    color:rgba(255,243,227,.62); margin-bottom:14px; }
  .gtaend-sc { display:flex; align-items:baseline; justify-content:center; gap:9px;
    margin-bottom:18px; }
  .gtaend-sc b { font-size:46px; font-weight:700; line-height:1; color:#f0c95f; }
  .gtaend-sc span { font-size:10px; letter-spacing:.20em; text-transform:uppercase;
    color:rgba(255,255,255,.62); }
  .gtaend-rows { border-top:1px solid rgba(255,255,255,.16); margin-bottom:20px; }
  .gtaend-row { display:flex; justify-content:space-between; gap:12px;
    padding:9px 2px; border-bottom:1px solid rgba(255,255,255,.16); font-size:12px;
    color:rgba(255,255,255,.72); }
  .gtaend-row b { color:#fff; font-weight:700; }
  .gtaend-cta { display:flex; flex-direction:column; align-items:center; gap:12px; }
  .gtaend-again { background:none; border:0; color:rgba(255,255,255,.6);
    font:inherit; font-size:11px; letter-spacing:.14em; text-transform:uppercase;
    cursor:pointer; padding:6px; }
  .gtaend-again:hover { color:rgba(255,243,227,.62); }
  @keyframes gtafade { from { opacity:0; } to { opacity:1; } }

  /* THE PAUSE CONTROL. It existed in the requirements for WCAG 2.2.2 and did not
     exist on the page at all. This is a real button: it stops the animation, it
     keeps the keyboard focus ring, and it names the action rather than the state,
     which is the wording a screen reader user needs to hear. */
  .gtactl { position:absolute; top:14px; right:0; z-index:45; pointer-events:auto;
    display:flex; gap:8px; align-items:flex-start; }
  /* the sound control sits under the pause control, so neither covers the other
     and the pair reads as one cluster in the corner */
  .gtactl-snd { top:58px; }
  .gta-pause { display:inline-flex; align-items:center; gap:9px;
    font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px;
    letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.9);
    background:rgba(6,6,14,.6); border:1px solid rgba(255,255,255,.3); border-radius:3px;
    padding:8px 12px; cursor:pointer; transition:background .18s ease, border-color .18s ease; }
  .gta-pause:hover { border-color:rgba(255,243,227,.62); color:#f0c95f; }
  .gta-pause:focus-visible { outline:2px solid rgba(244,239,228,.14); outline-offset:2px; }
  .gta-pause .glyph { width:11px; height:11px; flex:none; display:block; }
  .gta-pause .glyph .bars { display:block; }
  .gta-pause .glyph .tri { display:none; }
  .gta-pause[aria-pressed="true"] .bar { display:none; }
  .gta-pause[aria-pressed="true"] .glyph .bars { display:none; }
  .gta-pause[aria-pressed="true"] .glyph .tri { display:block; }
  .gtapaused { position:absolute; inset:0; z-index:30; pointer-events:none;
    display:none; align-items:center; justify-content:center;
    font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px;
    letter-spacing:.3em; text-transform:uppercase; color:rgba(255,255,255,.75); }
  .gtapaused[data-on="1"] { display:flex; }

  #walk.play { margin: 0; padding: 0; border: 0; }
  /* Full viewport, and the canvas is centred rather than fitted. dvh is the unit
     that accounts for a phone's browser chrome appearing and disappearing; vh is
     kept first as the fallback for anything that does not know dvh. */
  .playwrap { position: relative; width: 100%; height: calc(100vh - 62px);
    height: calc(100dvh - 62px); min-height: 420px;
    background: #06060e; overflow: hidden; }
  .playwrap canvas { position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); display: block; }
  .playhint { position: absolute; left: 50%; transform: translateX(-50%);
    bottom: clamp(14px, 3vh, 30px); font-family: ui-monospace, monospace; font-size: 11px;
    letter-spacing: .10em; color: rgba(255,255,255,.62); background: rgba(6,6,14,.62);
    padding: 8px 16px; border: 1px solid rgba(244,239,228,.28); white-space: nowrap;
    pointer-events: none; /* it sits over the middle of the canvas, which is the
                             throttle zone, so it must not swallow the tap */
    animation: hintout 1s ease 9s forwards; }
  @keyframes hintout { to { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .playhint { animation: none; } }
  @media (max-width: 720px) {
    /* The header is shorter and there is browser chrome to account for, so the
       game takes everything below the wordmark. This is the change that makes
       playing on a phone feel like playing. */
    .playwrap { height: calc(100vh - 54px); height: calc(100dvh - 54px); min-height: 0; }
    header { height: 54px !important; }
    header .shell { height: 54px !important; }
    .playhint { font-size: 9px; padding: 6px 10px; }
    /* the floating monogram sits over the controls on a phone, so it steps aside */
    .gmpfloat { display: none; }
  }
  /* Same chrome as every other page: the monogram floats, the colophon signs off. */
  .gmpfloat { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px);
    z-index: 60; width: clamp(44px, 4.4vw, 60px); opacity: .82; transition: opacity .25s ease; }
  .gmpfloat:hover { opacity: 1; }
  .gmpfloat img { width: 100%; height: auto; display: block; }
  .site-foot { border-top: 1px solid rgba(244,239,228,.1); padding: 22px 0 30px; background: rgba(5,5,12,.6); }
  .madeby { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .madeby .mbl { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(255,243,227,.4); }
  .madeby .mbword { height: 20px; width: auto; display: block; opacity: .72; }
