/* Section-scoped styles — Blue Hour Play */

/* —— page canvas / corner geometry —— */
.page-canvas {
  position: relative;
  overflow-x: clip;
  background: var(--paper);
}

.page-canvas::before,
.page-canvas::after {
  content: "";
  position: fixed;
  width: 7rem;
  height: 7rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
}

.page-canvas::before {
  top: 4.5rem;
  left: 0.75rem;
  border-right: none;
  border-bottom: none;
}

.page-canvas::after {
  bottom: 4rem;
  right: 0.75rem;
  border-left: none;
  border-top: none;
}

.page-canvas > * {
  position: relative;
  z-index: 1;
}

/* —— age-bar —— */
.age-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--heading);
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.4;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
}

.age-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  padding: 0.55rem 0;
}

.age-bar a {
  color: #ffd4c8;
  font-weight: 700;
}

.age-bar__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.15rem 0.4rem;
  margin-right: 0.4rem;
  border: 1px dashed #ffd4c8;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.75rem;
}

.age-bar__toggle {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.55rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
}

.age-bar__toggle:hover {
  border-color: #ffd4c8;
  color: #ffd4c8;
}

.age-bar.is-collapsed .age-bar__text {
  display: none;
}

.age-bar.is-collapsed .age-bar__inner {
  justify-content: center;
}

/* —— site-header —— */
.site-header {
  background: var(--white);
  border-bottom: 1px dashed var(--line-dashed);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-header__brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.site-header__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-dashed);
}

.site-header__nav {
  display: none;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-header__nav a {
  color: var(--heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.site-header__nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-header__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-dashed);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
}

.site-header__menu:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header.is-open .site-header__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px dashed var(--line-dashed);
  padding: var(--space-md) 1rem var(--space-lg);
  z-index: 40;
}

.site-header {
  position: relative;
}

@media (min-width: 860px) {
  .site-header__menu {
    display: none;
  }

  .site-header__nav {
    display: flex;
  }
}

/* —— trust-strip —— */
.trust-strip {
  border-bottom: 1px dashed var(--line-dashed);
  background: var(--paper-warm);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-md);
  padding: var(--space-md) 0;
  text-align: center;
}

.trust-strip__item strong {
  display: block;
  color: var(--heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.trust-strip__item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-strip__note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  padding-bottom: var(--space-sm);
  margin: 0;
}

/* —— hero —— */
.hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 800px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
  }
}

.hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: var(--space-md);
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 36rem;
  margin-bottom: var(--space-md);
}

.hero__meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.hero__notice {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: var(--white);
  font-size: 0.9rem;
}

.hero__notice strong {
  color: var(--heading);
}

.hero__visual {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* —— disclosure —— */
.disclosure {
  padding: var(--space-md) 0;
}

.disclosure__box {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  background: var(--white);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.92rem;
}

/* —— showcase —— */
.showcase {
  padding: var(--space-lg) 0 var(--space-xl);
}

.showcase__head {
  margin-bottom: var(--space-lg);
  max-width: 38rem;
}

.showcase__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.showcase__rule {
  width: 3rem;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 0 0 var(--space-md);
}

.showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ticket-stub card */
.ticket {
  display: grid;
  background: var(--white);
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 720px) {
  .ticket {
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
  }
}

.ticket__rank {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px dashed var(--line-dashed);
  background: var(--paper-warm);
  color: var(--heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

@media (min-width: 720px) {
  .ticket__rank {
    border-bottom: none;
    border-right: 1px dashed var(--line-dashed);
    min-width: 5.5rem;
  }
}

.ticket__body {
  padding: var(--space-md) var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}

.ticket__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.ticket__logo {
  width: 4.5rem;
  height: 3rem;
  object-fit: contain;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  background: var(--white);
}

.ticket__logo-fallback {
  width: 4.5rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
  padding: 0.2rem;
}

.ticket__name {
  margin: 0;
  font-size: 1.25rem;
  color: var(--heading);
}

.ticket__grade {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--accent-soft);
}

.ticket__desc {
  margin: 0;
  font-size: 0.98rem;
  max-width: 40rem;
}

.ticket__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticket__offer {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

.ticket__fine {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.ticket__action {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px dashed var(--line-dashed);
  background: var(--paper);
  min-width: 11rem;
}

@media (min-width: 720px) {
  .ticket__action {
    border-top: none;
    border-left: 1px dashed transparent;
    background:
      radial-gradient(circle at 0 0.55rem, transparent 0.28rem, var(--line-dashed) 0.3rem, var(--line-dashed) 0.32rem, transparent 0.34rem) 0 0 / 100% 1.1rem repeat-y,
      var(--paper);
    padding-left: 1.75rem;
  }

  .ticket__action::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px dashed var(--line-dashed);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: #a84b32;
  border-color: #a84b32;
  color: var(--white);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.ticket__info {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

.ticket__info:hover {
  text-decoration: underline;
}

/* —— scorecards —— */
.scorecards {
  padding: var(--space-xl) 0;
  background: var(--paper-warm);
  border-top: 1px dashed var(--line-dashed);
  border-bottom: 1px dashed var(--line-dashed);
}

.scorecards__head {
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

.scorecards__grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .scorecards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .scorecards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scorecard {
  background: var(--white);
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
}

.scorecard__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.scorecard__title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.scorecard__grade {
  border: 1.5px dashed var(--accent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.scorecard__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scorecard__rows li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.88rem;
}

.scorecard__rows li:last-child {
  border-bottom: none;
}

.scorecard__rows span:last-child {
  font-weight: 700;
  color: var(--heading);
  text-align: right;
}

/* —— method —— */
.method {
  padding: var(--space-xl) 0;
}

.method__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 800px) {
  .method__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.method__panel {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  background: var(--white);
  padding: var(--space-lg);
}

.method__panel h3 {
  font-size: 1.1rem;
}

.method__visual {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  overflow: hidden;
}

.method__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* —— check —— */
.check {
  padding: 0 0 var(--space-xl);
}

.check__box {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  background: var(--white);
  padding: var(--space-lg);
  max-width: 44rem;
}

.check__box ol {
  margin: 0;
  padding-left: 1.2rem;
}

.check__box li {
  margin-bottom: 0.55rem;
}

/* —— safety —— */
.safety {
  padding: var(--space-xl) 0;
  background: var(--white);
  border-top: 1px dashed var(--line-dashed);
  border-bottom: 1px dashed var(--line-dashed);
}

.safety__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.safety__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-md);
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.safety__card:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.safety__card img {
  height: 2.4rem;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
}

/* —— faq —— */
.faq {
  padding: var(--space-xl) 0;
}

.faq__block {
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}

.faq__block h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.faq__block p:last-child {
  margin-bottom: 0;
}

/* —— disclaimer —— */
.disclaimer {
  padding: 0 0 var(--space-xl);
}

.disclaimer__text {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 48rem;
  border-top: 1px dashed var(--line-dashed);
  padding-top: var(--space-md);
}

/* —— site-footer —— */
.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.88);
  padding: var(--space-xl) 0 calc(var(--space-xl) + 0.5rem);
  border-top: 1px dashed transparent;
}

.site-footer a {
  color: #ffd4c8;
  font-weight: 600;
}

.site-footer__grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.site-footer__brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer__copy {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
}

.site-footer__mark-bg {
  opacity: 0.12;
  width: 4rem;
  height: 4rem;
  margin-top: var(--space-md);
}

/* —— cookie —— */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 3.6rem;
  z-index: 95;
  max-width: 28rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  padding: var(--space-md);
  font-size: 0.88rem;
}

.cookie[hidden] {
  display: none !important;
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

/* —— inner pages —— */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 20ch;
}

.page-hero__lede {
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.page-hero__visual {
  margin-top: var(--space-lg);
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 36rem;
}

.content-block {
  padding: 0 0 var(--space-xl);
}

.content-block h2 {
  font-size: 1.35rem;
  margin-top: var(--space-lg);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block .rule-accent {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  border: none;
  margin: 0 0 var(--space-md);
}

.form {
  display: grid;
  gap: var(--space-md);
  max-width: 28rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--heading);
  font-size: 0.9rem;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form__success {
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: var(--accent-soft);
  color: var(--heading);
}

.prose-card {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  background: var(--white);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.inline-visual {
  border: 1px dashed var(--line-dashed);
  border-radius: var(--radius);
  overflow: hidden;
  margin: var(--space-lg) 0;
  max-width: 28rem;
}

.inline-visual--wide {
  max-width: 40rem;
}
