/* The Ultimate Nightlife Guide · Coop Recs
   Palette and type sampled from the client's PDF (pdf/DESCRIPTION.md §5). */
:root {
  --bg: #0a0908;          /* page ground, PDF vector fill */
  --card: #141210;        /* fact cards, chips, PDF vector fill */
  --orange: #ee9b73;      /* labels, index numbers, bullets, hero rule */
  --peach: #f4ab98;       /* pills, badges, Maps links, sign-off */
  --line: rgba(244, 171, 152, .16);  /* card borders */
  --btn: linear-gradient(90deg, #f3a994 0%, #e89769 100%);
  --btn-ink: #2b1a10;
  --title: #f7f4f1;
  --white: #fff;
  --body: #dcdce8;
  --lede: #eaeaf2;
  --muted: #a39a93;
  --warm: #ded4cd;
  --fine: #857b74;        /* PDF #6d645e, lifted to pass 4.5:1 contrast */
  --gutter: 20px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #070606; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: #070606;
  color: var(--body);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; -webkit-tap-highlight-color: rgba(244, 171, 152, .18); }
strong { font-weight: 700; color: var(--white); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }

.page { background: var(--bg); max-width: 800px; margin: 0 auto; overflow: hidden; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Small letter-spaced caps */
.eyebrow, .label {
  font-weight: 700;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow { color: rgba(255, 255, 255, .72); }
.label { color: var(--orange); }

/* ---------- Cover and index ---------- */
.cover {
  padding: 56px 0 56px;
  background:
    radial-gradient(70% 38% at 0% 58%, rgba(96, 62, 50, .55), rgba(96, 62, 50, 0) 70%),
    radial-gradient(70% 40% at 100% 70%, rgba(120, 80, 58, .55), rgba(120, 80, 58, 0) 72%),
    linear-gradient(180deg, #080706 0%, #0d0a0a 30%, #140e0d 60%, #0e0a08 100%);
}
.title {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 14vw, 67px);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--title);
}
.title-line { display: block; }
.cover-lede {
  margin-top: 18px;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.45;
  color: #e6e6ef;
}
.index-nav { margin-top: 36px; }
.index {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.index-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 8px 12px 8px 16px;
  text-decoration: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .059);
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .2s ease;
}
.index-card:hover { background: rgba(255, 255, 255, .09); }
.index-card:active { background: rgba(255, 255, 255, .12); }
.index-num {
  flex: 0 0 auto;
  min-width: 22px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--orange);
}
.index-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--lede);
}
.pill, .badge {
  flex: 0 0 auto;
  display: inline-block;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--peach);
  color: var(--btn-ink);
  font-weight: 800;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.jump {
  flex: 0 0 auto;
  padding: 5px 11px 5px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .30);
  color: var(--white);
  font-weight: 800;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.index-card.is-hot {
  background: rgba(244, 171, 152, .16);
  box-shadow: inset 0 0 0 1px rgba(244, 171, 152, .60);
}
.index-card.is-hot .jump { background: var(--peach); box-shadow: none; color: var(--btn-ink); }
.index-card--osaka { justify-content: center; }
.index-card--osaka .index-name { flex: 0 0 auto; }

.start-card {
  display: block;
  margin-top: 28px;
  padding: 22px 20px 24px;
  border-radius: 10px;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(244, 171, 152, .15) 0%, rgba(244, 171, 152, .07) 55%, rgba(255, 255, 255, .03) 100%);
  box-shadow: inset 0 0 0 1px rgba(244, 171, 152, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .2s ease;
}
.start-card .label { display: block; font-size: 9.5px; }
.start-title {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}
.start-copy { display: block; max-width: 36em; margin-top: 10px; font-size: 14px; line-height: 1.55; color: #d6d6e4; }

/* ---------- Venue sections ---------- */
.venue { padding-bottom: 48px; }
.hero {
  position: relative;
  height: clamp(210px, 41vw + 60px, 325px);
  overflow: hidden;
  border-bottom: 8px solid var(--orange);
  background: #16110f;
}
.venue--first .hero { height: clamp(230px, 45vw + 60px, 356px); }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--tint-top, rgba(0, 0, 0, .3)) 0%, var(--tint-bot, rgba(0, 0, 0, .3)) 100%);
  pointer-events: none;
}
.hero-num {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 2px;
  font-family: var(--display);
  font-size: clamp(64px, 12vw + 20px, 101px);
  line-height: 1;
  color: rgba(255, 255, 255, .26);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
  pointer-events: none;
  user-select: none;
}
.venue-body { padding-top: 32px; }
.venue-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
}
.badge { font-size: 8.5px; padding: 4px 9px; }
.venue-name {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 12vw, 51px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--white);
}
.venue-lede { margin-top: 10px; font-size: 16.5px; line-height: 1.45; color: var(--lede); }
.venue-body > .label { margin-top: 24px; }
.bullets { margin-top: 14px; display: grid; gap: 9px; }
.bullets li { position: relative; padding-left: 23px; font-size: 15px; line-height: 1.47; color: var(--body); }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.facts {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fact {
  min-height: 100px;
  padding: 15px 10px 16px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}
.fact dt {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}
.fact dd {
  margin-top: 12px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.32;
  color: var(--white);
  overflow-wrap: anywhere;
}
.maps { margin-top: 6px; text-align: right; }
.maps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-weight: 600;
  font-size: 13px;
  color: var(--peach);
  text-decoration: none;
}
.maps a:hover { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); filter: brightness(.97); }
.btn--big { min-height: 70px; font-size: 16px; margin-top: 32px; }

/* Circus Tokyo extras */
.banner {
  margin-top: 36px;
  height: clamp(170px, 36vw + 40px, 270px);
  overflow: hidden;
  border-bottom: 8px solid var(--orange);
  background: #16110f;
}
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.why {
  padding: 56px 0 8px;
  background: radial-gradient(80% 36% at 85% 0%, rgba(80, 52, 42, .55), rgba(80, 52, 42, 0) 75%);
}
.why-title {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 10.5vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}
.why-copy { max-width: 40em; margin-top: 18px; font-size: 15px; line-height: 1.65; color: var(--body); }
.pull {
  margin-top: 22px;
  padding: 2px 0 2px 24px;
  border-left: 8px solid var(--orange);
}
.pull p {
  max-width: 22em;
  font-family: var(--display);
  font-size: clamp(20px, 5.4vw, 23px);
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--white);
}
.why .btn { margin-top: 24px; }
.signoff { margin-top: 18px; font-weight: 600; font-size: 13.5px; color: var(--peach); }

/* ---------- Osaka ---------- */
.osaka { padding-bottom: 48px; }
.osaka-head { position: relative; min-height: 190px; overflow: hidden; background: #0d0b12; }
.osaka-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.osaka-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 3, .92) 0%, rgba(4, 4, 3, .62) 45%, rgba(10, 9, 20, .35) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0) 60%, rgba(10, 9, 8, .6) 100%);
}
.osaka-head-text { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 34px; }
.osaka-title {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}
.osaka-sub { margin-top: 6px; font-weight: 500; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.osaka-body { padding-top: 36px; }
.osaka-venue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.osaka-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  aspect-ratio: 3 / 2;
  background: #16110f;
}
.osaka-photo img { width: 100%; height: 100%; object-fit: cover; }
.osaka-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}
.osaka-area {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}
.bullets--small { margin-top: 12px; gap: 8px; }
.bullets--small li { font-size: 14px; padding-left: 21px; }
.bullets--small li::before { width: 8px; height: 8px; }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 11px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.chips strong { font-weight: 700; color: var(--white); }
.tip {
  position: relative;
  margin-top: 4px;
  padding: 16px 18px 17px 26px;
  border-radius: 0 8px 8px 0;
  background: rgba(244, 171, 152, .059);
}
.tip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--peach); }
.tip-label { font-weight: 700; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.tip-copy { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: #d8cec7; }

/* ---------- Closing: Where the shows happen ---------- */
.closing {
  padding: 72px 0 64px;
  background:
    radial-gradient(78% 40% at 80% 12%, rgba(132, 90, 76, .95) 0%, rgba(92, 62, 52, .62) 38%, rgba(60, 40, 32, 0) 78%),
    radial-gradient(70% 30% at 0% 94%, rgba(80, 50, 34, .85) 0%, rgba(60, 38, 26, .35) 45%, rgba(40, 26, 18, 0) 80%),
    linear-gradient(180deg, #120c09 0%, #0b0908 45%, #0b0908 70%, #140e0a 100%);
}
.closing-title { font-weight: 400; }
.closing-kicker {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 7.4vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--orange);
}
.closing-name {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(50px, 15vw, 67px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}
.closing-quote { margin-top: 26px; max-width: 30em; font-size: 18px; line-height: 1.42; color: #ececf4; }
.closing-sub { margin-top: 14px; font-size: 14px; color: var(--muted); }
.closing-list { margin-top: 28px; display: grid; gap: 9px; }
.closing-list li {
  display: block;
  padding: 10px 0 12px 22px;
  border-left: 8px solid var(--peach);
}
.closing-label {
  display: block;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--peach);
}
.closing-text { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--warm); }

/* ---------- Footer ---------- */
.footer {
  background: rgba(17, 17, 26, .72);
  border-top: 1px solid var(--line);
  padding: 12px 0 calc(16px + env(safe-area-inset-bottom));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .72);
}
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-decoration: none;
  color: var(--muted);
}
.footer-link:hover, .footer-mark:hover { color: var(--white); }
.footer-copy { order: 3; flex: 1 1 100%; font-size: 10.5px; color: var(--fine); }
.footer-note { order: 4; flex: 1 1 100%; margin-top: 4px; font-size: 10.5px; line-height: 1.5; color: var(--fine); }

/* ---------- Wider screens ---------- */
@media (min-width: 560px) {
  :root { --gutter: 40px; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  .index-osaka { grid-column: 1 / -1; justify-self: center; width: min(100%, 326px); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 12px; }
  .fact { min-height: 118px; }
  .fact dd { font-size: 16px; }
  .osaka-venue { grid-template-columns: minmax(0, 277fr) minmax(0, 341fr); gap: 24px; align-items: start; }
  .bullets--small li { font-size: 13px; padding-left: 20px; }
  .chips li { font-size: 11px; padding: 6px 10px; }
  .osaka-name { font-size: 24px; }
  .osaka-photo { aspect-ratio: 277 / 186; }
  .osaka-head { min-height: 172px; }
}
@media (min-width: 720px) {
  :root { --gutter: 76px; }
  .cover { padding: 90px 0 64px; }
  .venue-body { padding-top: 40px; }
  .footer-copy { order: 0; flex: 0 1 auto; }
  .footer-note { order: 4; }
}
@media (min-width: 800px) {
  body { font-size: 15px; }
  .page { box-shadow: 0 0 0 1px rgba(244, 171, 152, .06), 0 0 120px rgba(0, 0, 0, .6); }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .index-card { gap: 10px; padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (hover: none) {
  .index-card:hover { background: rgba(255, 255, 255, .059); }
  .index-card.is-hot:hover { background: rgba(244, 171, 152, .16); }
}
