:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #64748b;
  --line: #dbe4ec;
  --white: #ffffff;
  --green: #087f6f;
  --green-soft: #ddf5ef;
  --blue: #2457a6;
  --blue-soft: #e4eefc;
  --rose: #b94362;
  --rose-soft: #ffe5ed;
  --gold: #b97812;
  --gold-soft: #fff0c9;
  --charcoal: #20303b;
  --shadow: 0 20px 48px rgba(24, 38, 52, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfb 0%, #eef6f4 44%, #fff6df 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.page { overflow: hidden; }

.hero,
.decision-section,
.venue-section,
.money-section,
.checkin-section,
.timeline-section,
.bingo-section,
.staff-section {
  padding: 76px 24px;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: 46px;
  padding-top: 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 127, 111, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #eef7f5 100%);
  overflow: hidden;
}

.hero__copy,
.section-heading,
.decision-grid,
.venue-layout,
.money-grid,
.checkin-flow,
.timeline,
.bingo-layout,
.staff-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.hero__copy {
  justify-self: end;
  margin-right: 0;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(43px, 5.8vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  margin-top: 26px;
  max-width: 660px;
  color: #334155;
  font-size: 19px;
}

.hero__metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero__metrics div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(24, 38, 52, 0.08);
}

.hero__metrics b,
.hero__metrics span {
  display: block;
}

.hero__metrics b {
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1;
}

.hero__metrics span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 560px;
  border-left: 1px solid rgba(23, 33, 43, 0.1);
  overflow: hidden;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border: 3px solid rgba(8, 127, 111, 0.22);
  border-left-color: transparent;
  border-bottom-color: rgba(36, 87, 166, 0.22);
  border-radius: 50%;
}

.hero__visual::before {
  inset: 8% 3% 12% 3%;
  transform: rotate(-10deg);
}

.hero__visual::after {
  inset: 20% -5% 4% 18%;
  transform: rotate(18deg);
}

.venue-card {
  position: absolute;
  left: 10%;
  top: 20%;
  z-index: 3;
  width: min(470px, 82%);
  padding: 30px;
  border: 1px solid rgba(23, 33, 43, 0.14);
  background: #fff;
  box-shadow: var(--shadow);
}

.venue-card span {
  display: inline-grid;
  min-width: 98px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.venue-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(31px, 3.8vw, 46px);
  line-height: 1.1;
}

.venue-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.pin {
  position: absolute;
  z-index: 4;
  padding: 12px 14px;
  border: 3px solid #fff;
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 26px rgba(24, 38, 52, 0.22);
  font-weight: 900;
}

.pin--qr { right: 12%; top: 13%; background: var(--blue); }
.pin--talk { right: 4%; top: 47%; background: var(--green); }
.pin--bingo { left: 12%; bottom: 9%; background: var(--gold); }
.pin--staff { left: 51%; bottom: 20%; background: var(--rose); }

.section-heading { margin-bottom: 30px; }

.section-heading--dark .eyebrow,
.section-heading--dark h2 { color: #fff; }

.decision-grid,
.money-grid,
.bingo-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.decision-card,
.venue-zone,
.money-grid article,
.checkin-flow article,
.timeline article,
.bingo-card,
.staff-grid article {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(24, 38, 52, 0.09);
}

.decision-card {
  min-height: 292px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.decision-card--green { border-top: 8px solid var(--green); background: linear-gradient(180deg, var(--green-soft), #fff 58%); }
.decision-card--blue { border-top: 8px solid var(--blue); background: linear-gradient(180deg, var(--blue-soft), #fff 58%); }
.decision-card--gold { border-top: 8px solid var(--gold); background: linear-gradient(180deg, var(--gold-soft), #fff 58%); }

.decision-card span,
.checkin-flow span,
.activation-flow span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.venue-section,
.checkin-section,
.bingo-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #17212b 0%, #223848 50%, #0b6d65 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.venue-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.venue-zone {
  min-height: 250px;
  padding: 24px;
}

.venue-zone--main {
  grid-row: span 2;
  min-height: 516px;
  border-top: 8px solid var(--green);
  background: linear-gradient(180deg, var(--green-soft), #fff 62%);
}

.venue-zone--main h3 {
  font-size: clamp(30px, 4vw, 48px);
}

.venue-zone--check {
  grid-column: span 2;
  border-top: 8px solid var(--gold);
}

.venue-zone span,
.money-grid span,
.bingo-card span,
.staff-grid span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 12px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 14px;
  font-weight: 900;
}

.money-grid article,
.bingo-card,
.staff-grid article {
  min-height: 250px;
  padding: 24px;
}

.money-grid article:nth-child(2) span { color: var(--blue); background: var(--blue-soft); }
.money-grid article:nth-child(3) span { color: var(--rose); background: var(--rose-soft); }

.checkin-flow,
.timeline,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.checkin-flow article {
  min-height: 270px;
  padding: 24px;
}

.checkin-flow span {
  margin-bottom: 20px;
  background: var(--green);
}

.checkin-flow article:nth-child(2) span { background: var(--blue); }
.checkin-flow article:nth-child(3) span { background: var(--rose); }
.checkin-flow article:nth-child(4) span { background: var(--gold); }

.timeline-section {
  background: rgba(255, 255, 255, 0.52);
}

.timeline article {
  min-height: 252px;
  padding: 22px;
}

.timeline time {
  display: inline-grid;
  min-width: 76px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.timeline article:nth-child(2n) time { background: var(--blue); }
.timeline article:nth-child(3n) time { background: var(--rose); }
.timeline article:nth-child(4n) time { background: var(--gold); }

.bingo-card--local { border-top: 8px solid var(--green); }
.bingo-card--visitor { border-top: 8px solid var(--blue); }
.bingo-card--choice { border-top: 8px solid var(--gold); }

.staff-grid article {
  min-height: 250px;
}

.staff-grid__wide {
  grid-column: span 2;
  border-top: 8px solid var(--rose);
}

.venue-zone p,
.money-grid p,
.checkin-flow p,
.timeline p,
.bingo-card p,
.staff-grid p {
  margin-top: 10px;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    justify-self: stretch;
    max-width: none;
  }

  .hero__visual {
    width: min(760px, 100%);
    margin-inline: auto;
    border-left: 0;
  }

  .decision-grid,
  .money-grid,
  .bingo-layout,
  .venue-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-flow,
  .timeline,
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-zone--main,
  .venue-zone--check {
    grid-column: span 2;
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .hero,
  .decision-section,
  .venue-section,
  .money-section,
  .checkin-section,
  .timeline-section,
  .bingo-section,
  .staff-section {
    padding: 54px 18px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(38px, 12vw, 60px);
  }

  .lead {
    font-size: 17px;
  }

  .hero__metrics,
  .decision-grid,
  .money-grid,
  .bingo-layout,
  .venue-layout,
  .checkin-flow,
  .timeline,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 470px;
  }

  .venue-card {
    left: 0;
    top: 22%;
    width: 88%;
  }

  .pin--qr { right: 7%; top: 5%; }
  .pin--talk { right: 0; top: 51%; }
  .pin--bingo { left: 4%; bottom: 5%; }
  .pin--staff { left: 45%; bottom: 18%; }

  .venue-zone--main,
  .venue-zone--check,
  .staff-grid__wide {
    grid-column: auto;
  }
}
