/* Roll & Dare: site styles */
@font-face{font-family:"Gloock";src:url(/gloock.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/instrument-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/instrument-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(/instrument-600.woff2) format("woff2");font-weight:600;font-display:swap}
:root {
  --wine: #2a0b17;
  --velvet: #44122a;
  --velvet-2: #5a1a36;
  --blush: #f6c7d3;
  --text: #fbeff2;
  --muted: #d9b3c0;
  --brass: #e0a93f;
  --brass-dark: #b9822a;
  --measure: 68ch;
  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wine);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blush); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0 1.8em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--velvet-2); vertical-align: top; }
.prose th { color: var(--blush); font-weight: 600; }

/* Header */
.site-header { padding: 1.1rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: var(--serif); font-size: 1.6rem; color: var(--text); text-decoration: none; }
.wordmark span { color: var(--brass); }
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--brass); color: var(--wine);
  font: 600 1rem/1 var(--sans); padding: .95em 1.5em; border-radius: 999px;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn:hover { background: var(--blush); color: var(--wine); }
.btn-small { padding: .7em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--blush); box-shadow: inset 0 0 0 1.5px var(--blush); }
.btn-ghost:hover { background: var(--blush); color: var(--wine); }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: 1.6rem; }
.hero .facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .95rem; }
.hero .facts li::before { content: "\2022"; color: var(--brass); margin-right: .5em; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The table scene: dice + bluff exchange */
.table {
  position: relative; background: var(--velvet); border-radius: 28px 28px 120px 28px;
  padding: 2.2rem 2rem 2.4rem; min-height: 360px; overflow: hidden;
}
.line { font-family: var(--serif); line-height: 1; margin: 0; }
.line small { display: block; font: 500 .85rem/1 var(--sans); color: var(--muted); margin-bottom: .5rem; }
.line-claim { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--text); }
.line-call { font-size: clamp(3.2rem, 7vw, 4.6rem); color: var(--brass); text-align: right; margin-top: 1.4rem; }
.dice { display: flex; gap: 1rem; margin-top: 1.8rem; }
.die {
  width: 72px; height: 72px; background: var(--text); border-radius: 16px;
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 11px;
}
.die i { width: 12px; height: 12px; border-radius: 50%; background: var(--wine); place-self: center; }
.die .tl { grid-area: 1 / 1; } .die .tr { grid-area: 1 / 3; }
.die .ml { grid-area: 2 / 1; } .die .mm { grid-area: 2 / 2; } .die .mr { grid-area: 2 / 3; }
.die .bl { grid-area: 3 / 1; } .die .br { grid-area: 3 / 3; }
.dice .die:nth-child(2) { transform: rotate(9deg) translateY(6px); }
.dice .die:nth-child(1) { transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .dice .die { animation: tumble .9s cubic-bezier(.2,.8,.3,1.2) both; }
  .dice .die:nth-child(2) { animation-delay: .12s; }
  .line-call { animation: reveal .5s ease-out 1.1s both; }
  @keyframes tumble { from { transform: translate(-140px, -40px) rotate(-220deg); opacity: 0; } }
  @keyframes reveal { from { opacity: 0; transform: scale(.92); } }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--velvet); }
.section > .wrap > p.intro { color: var(--muted); max-width: 58ch; font-size: 1.12rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 400 3.4rem/1 var(--serif); color: var(--brass); margin-bottom: .6rem; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Heat ladder: the rounds get hotter */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 2.4rem 0 1rem; align-items: end; }
.ladder div { border-radius: 10px 10px 4px 4px; padding: .6rem .4rem; font-size: .82rem; color: var(--wine); text-align: center; font-weight: 600; }
.ladder .c { background: var(--blush); height: 64px; }
.ladder .d { background: var(--brass); }
.ladder-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; color: var(--muted); font-size: .95rem; }
.ladder-legend span::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: 3px; margin-right: .5em; vertical-align: -1px; }
.ladder-legend .k-c::before { background: var(--blush); }
.ladder-legend .k-d::before { background: var(--brass); }
@media (max-width: 560px) { .ladder div { font-size: .7rem; padding: .4rem .1rem; } }

.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3rem; margin-top: 2.2rem; }
.split h3 { color: var(--blush); }
.split p { color: var(--muted); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: var(--measure); margin-top: 1.6rem; }
.faq details { border-bottom: 1px solid var(--velvet-2); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: .8rem 0 0; }

/* Closing CTA */
.closer { text-align: left; }
.closer h2 { max-width: 18ch; }

/* Article pages */
.page-head { padding: clamp(2rem, 5vw, 4rem) 0 1.5rem; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }
.article { padding-bottom: 4rem; }
.cta-box { background: var(--velvet); border-radius: 22px 22px 70px 22px; padding: 1.8rem 2rem; margin: 2.4rem 0; max-width: var(--measure); }
.cta-box h2, .cta-box h3 { margin-top: 0; }
.cta-box p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--velvet-2); padding: 2.4rem 0 3rem; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer a { color: var(--muted); }

/* Age check */
.age-gate { position: fixed; inset: 0; background: rgba(42, 11, 23, .94); display: none; place-items: center; z-index: 50; padding: 1.5rem; }
.age-gate.show { display: grid; }
.age-gate .box { background: var(--velvet); border-radius: 24px; padding: 2rem; max-width: 420px; }
.age-gate .box p { color: var(--muted); }
.age-gate .row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.ladder .d:nth-child(1) { background: #f6c7d3; }
.ladder .d:nth-child(2) { background: #f0bdb1; }
.ladder .d:nth-child(3) { background: #ebb48e; }
.ladder .d:nth-child(4) { background: #e5ae6a; }
.ladder .d:nth-child(5) { background: #e0a93f; }
.ladder-legend .k-d::before { background: linear-gradient(90deg, #f6c7d3, #e0a93f); }
