/* Blue Hour Play — tokens & reset */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --heading: #1b3a6b;
  --paper: #faf8f5;
  --paper-warm: #f3efe8;
  --white: #ffffff;
  --accent: #c45c3e;
  --accent-soft: rgba(196, 92, 62, 0.12);
  --line: #d4cfc6;
  --line-dashed: #b8b0a4;
  --muted: #6b6560;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 12px;
  --radius-sm: 8px;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --max: 68rem;
  --narrow: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  min-height: 100vh;
  padding-bottom: 3.25rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}

p {
  margin: 0 0 var(--space-md);
}

ul, ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, var(--narrow));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.motif-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: var(--space-xl) 0;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.motif-break::before,
.motif-break::after {
  content: "";
  width: 2.5rem;
  border-top: 1px dashed var(--line-dashed);
}

.motif-break span {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.45rem;
  height: 0.45rem;
  border: 1.5px solid var(--accent);
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
