/* The About story inhabits the front door's city. Page-local on purpose: other sessions own the shared assets. */
body.ez--landing:has(.ag) { background: #05080b; overflow-x: clip; }
body.ez--landing:has(.ag) .ez-top { display: none; }
body.ez--landing:has(.ag) .ez-shell--public { max-width: none; padding: 0; }
body.ez--landing:has(.ag) .ez-main { padding: 0; }
.ag { --ag-night: #05080b; --ag-paper: #ece5d3; --ag-muted: #b6afa3; color: var(--ag-paper); background: var(--ag-night); }
.ag, .ag * { box-sizing: border-box; }
.ag-wrap { width: min(100% - 96px, 1344px); margin-inline: auto; }
.ag a { color: inherit; }
.ag a:focus-visible { outline: 2px solid #f28b49; outline-offset: 7px; }
.ag-hero, .ag-chapter, .ag-close { position: relative; isolation: isolate; overflow: clip; }
.ag-world { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
body.ez .ag-world__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--ag-focus, 50% 50%); }
/* One veil over every scene, including its light overlay; copy sits outside this image-only layer. */
.ag-world::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / .46); }
.ag-world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ag-night), transparent 17%, transparent 78%, var(--ag-night)); }
.ag-world__haze { position: absolute; inset: 0; opacity: .25; background: radial-gradient(ellipse at 70% 80%, #b75c3328, transparent 40%); }
.ag-hero { min-height: max(820px, 100svh); --ag-focus: 40% 50%; }
.ag-hero .ag-world::after { background: linear-gradient(180deg, #05080b12 25%, #05080b55 48%, #05080bcc 78%, var(--ag-night)); }
.ag-hero__in { min-height: inherit; display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 34px; }
.ag-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
body.ez .ag-top .ez-mark { color: var(--ag-paper); font-size: clamp(38px, 4vw, 54px); line-height: 1; }
.ag-top nav { display: flex; gap: 30px; }
body.ez .ag-top nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font: 800 15px/1 var(--ez-numbers); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.ag-top nav a:last-child { color: #f29962; }
.ag-top nav a:hover { color: #fff; }
.ag-hero__copy { margin-top: auto; padding-top: 280px; max-width: 800px; }
body.ez .ag-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; color: #d8a179; font: 800 14px/1.2 var(--ez-numbers); letter-spacing: .2em; text-transform: uppercase; }
.ag-kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.ag-kicker span { color: var(--ag-paper); }
body.ez .ag h1 { margin: 0; max-width: 850px; color: var(--ag-paper); font: 900 clamp(62px, 7.2vw, 110px)/.91 var(--ez-display); text-transform: uppercase; letter-spacing: .005em; text-shadow: 0 3px 30px #0008; }
body.ez .ag-lede { max-width: 43ch; margin: 24px 0; color: #e0d9cd; font: 450 clamp(18px, 1.55vw, 22px)/1.5 var(--ez-body); }
body.ez .ag-walk { display: inline-flex; gap: 30px; align-items: center; min-height: 48px; text-decoration: none; font: 800 15px/1.3 var(--ez-numbers); letter-spacing: .1em; text-transform: uppercase; }
.ag-walk span { font-size: 26px; color: #f29962; }
body.ez .ag-round { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 38px 0 0; color: var(--ag-muted); font: 600 12px/1.5 var(--ez-body); letter-spacing: .06em; }
.ag-round .ez-dot { margin-right: 6px; }
.ag-chapter { min-height: 1000px; min-height: max(950px, 105svh); scroll-margin-top: 0; }
.ag-chapter__in { min-height: inherit; display: flex; align-items: center; padding-block: 150px 180px; }
.ag-copy { position: relative; width: min(47%, 580px); }
.ag-chapter--right .ag-copy { margin-left: auto; }
.ag-chapter::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #05080bee 0%, #05080bd6 25%, #05080b88 43%, transparent 76%); }
.ag-chapter--right::after { background: linear-gradient(270deg, #05080bef 0%, #05080bd6 25%, #05080b80 43%, transparent 76%); }
body.ez .ag h2 { margin: 0 0 28px; color: var(--ag-paper); font: 900 clamp(48px, 5.6vw, 84px)/.96 var(--ez-numbers); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
body.ez .ag-line { max-width: 37ch; margin: 0 0 20px; color: #e0d9cd; font: 400 clamp(18px, 1.4vw, 20px)/1.65 var(--ez-body); text-wrap: pretty; }
body.ez .ag-punch { max-width: 29ch; margin: 32px 0 0; padding-left: 18px; border-left: 2px solid #b96a40; color: #d8a179; font: 700 clamp(19px, 1.6vw, 23px)/1.35 var(--ez-body); }
.ag-chapter--street { --ag-focus: 65% center; }
.ag-chapter--police { --ag-focus: 75% center; }
.ag-chapter--corner { --ag-focus: 100% center; }
.ag-chapter--roof { --ag-focus: 35% center; }
.ag-chapter--5 { --ag-focus: 15% center; }
.ag-chapter--5 .ag-world__image { scale: 1.2; }
.ag-chapter--6 { --ag-focus: 82% center; }
.ag-chapter--6 .ag-world__image { scale: 1.08; }
body.ez .ag-location { position: absolute; bottom: 52px; left: 48px; right: 48px; display: flex; justify-content: space-between; margin: 0; color: #a8a397; font: 700 11px/1.2 var(--ez-numbers); text-transform: uppercase; letter-spacing: .22em; }
.ag-location::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 1px; background: linear-gradient(90deg, #b6afa330, transparent); }
.ag-close { min-height: max(800px, 95svh); --ag-focus: 70% center; }
.ag-close .ag-world::after { background: linear-gradient(180deg, var(--ag-night), #05080b55 22%, #05080b44 55%, var(--ag-night)), linear-gradient(90deg, #05080bc9, transparent 85%); }
.ag-close__in { padding-top: 260px; padding-bottom: 180px; }
body.ez .ag-close h2 { font-size: clamp(62px, 8vw, 120px); max-width: 650px; }
.ag-close .ag-line { max-width: 34ch; }
.ag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.ag-actions .ez-btn { min-height: 54px; gap: 30px; padding: 0 28px; box-shadow: none; }
.ag-actions > a:last-child { font: 500 15px/1.4 var(--ez-body); text-underline-offset: 5px; }
.ag-footer { display: flex; justify-content: space-between; gap: 30px; padding-block: 24px 42px; }
.ag-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
body.ez .ag-footer a { color: var(--ag-muted); font: 700 12px/1.5 var(--ez-numbers); letter-spacing: .05em; text-transform: uppercase; text-underline-offset: 4px; }
.ag-progress { position: fixed; z-index: 30; top: 0; left: 0; height: 2px; width: 100%; background: #d69162; transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  html:has(.ag) { scroll-behavior: smooth; }
  .ag.has-motion .ag-reveal { transition: opacity .7s ease, translate .9s cubic-bezier(.2,.7,.2,1); }
  .ag.has-motion .ag-reveal:not(.is-in) { opacity: 0; translate: 0 18px; }
  .ag-world__haze { animation: ag-haze 16s ease-in-out infinite alternate; }
  @keyframes ag-haze { to { translate: 2% -1%; opacity: .6; } }
  @supports (animation-timeline: scroll()) {
    .ag-progress { animation: ag-progress linear both; animation-timeline: scroll(root); }
    @keyframes ag-progress { to { transform: scaleX(1); } }
  }
}
@media (max-width: 1050px) and (min-width: 701px) {
  .ag-wrap { width: calc(100% - 64px); }
  .ag-copy { width: 54%; }
  .ag-chapter { min-height: 1000px; }
  .ag-chapter__in { padding-block: 120px 170px; }
}
@media (max-width: 700px) {
  .ag-wrap { width: calc(100% - 40px); }
  .ag-hero { min-height: max(820px, 100svh); --ag-focus: 35% center; }
  .ag-hero__in { padding-block: 20px 26px; }
  .ag-top { gap: 14px; }
  body.ez .ag-top .ez-mark { font-size: 35px; }
  .ag-top nav { gap: 18px; }
  body.ez .ag-top nav a { min-height: 36px; font-size: 12px; }
  .ag-hero__copy { padding-top: 310px; }
  body.ez .ag h1 { font-size: clamp(51px, 12vw, 78px); }
  body.ez .ag-kicker { font-size: 12px; margin-bottom: 18px; }
  body.ez .ag-lede { margin-block: 20px 14px; font-size: 18px; max-width: 35ch; }
  body.ez .ag-round { margin-top: 24px; font-size: 11px; gap: 8px 20px; }
  .ag-chapter { min-height: 0; padding-top: 330px; }
  .ag-chapter .ag-world { height: 640px; bottom: auto; }
  .ag-chapter .ag-world::after { background: linear-gradient(180deg, var(--ag-night), transparent 16%, transparent 36%, #05080bd9 67%, var(--ag-night) 94%); }
  .ag-chapter::after { display: none; }
  .ag-chapter__in { min-height: 0; padding-block: 80px 120px; }
  .ag-copy { width: 100%; max-width: 560px; margin-inline: auto; }
  .ag-chapter--right .ag-copy { margin-inline: auto; }
  body.ez .ag h2 { font-size: clamp(47px, 11.4vw, 70px); margin-bottom: 24px; }
  body.ez .ag-line { max-width: none; font-size: 17px; line-height: 1.65; }
  body.ez .ag-punch { margin-top: 26px; font-size: 19px; }
  .ag-chapter--street { --ag-focus: 80% center; }
  .ag-chapter--police { --ag-focus: 86% center; }
  .ag-chapter--corner { --ag-focus: 100% center; }
  .ag-chapter--roof { --ag-focus: 18% center; }
  .ag-chapter--5 { --ag-focus: 20% center; }
  .ag-chapter--6 { --ag-focus: 82% center; }
  body.ez .ag-location { left: 20px; right: 20px; bottom: 34px; font-size: 10px; }
  .ag-close { min-height: 850px; --ag-focus: 85% center; }
  .ag-close__in { padding-top: 430px; padding-bottom: 90px; }
  .ag-close .ag-world::after { background: linear-gradient(180deg, var(--ag-night), transparent 20%, #05080b33 35%, #05080bdb 65%, var(--ag-night)); }
  body.ez .ag-close h2 { font-size: 65px; }
  .ag-actions { align-items: flex-start; flex-direction: column; }
  .ag-footer { flex-direction: column; padding-bottom: 32px; }
}
