/* Digital Deduction: the brand site. One dark "noir" look: ink, gold, and each game line's own color. */
:root {
  --ink: #0c0e16;
  --ink-2: #11141f;
  --panel: #161a28;
  --panel-2: #1c2132;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceaf2;
  --muted: #a7aabd;
  --faint: #7c8096;
  --gold: #e3b45c;
  --gold-hi: #f3d595;
  --crimson: #d4506a;
  --crimson-hi: #f07f95;
  --teal: #5fd4c4;
  --teal-hi: #9ff0e4;
  --radius: 18px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.sec-head .sub { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 0.98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #1d1406; box-shadow: 0 8px 30px rgba(227, 180, 92, 0.25); }
.btn-gold:hover { box-shadow: 0 10px 36px rgba(227, 180, 92, 0.4); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: #df6077; }
.btn-teal { background: var(--teal); color: #062420; }
.btn-teal:hover { background: var(--teal-hi); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 14, 22, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 1.2rem/1 var(--serif); letter-spacing: 0.01em; }
.brand .mark { width: 34px; height: 34px; }
.brand.small .mark { width: 26px; height: 26px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; background: radial-gradient(40% 50% at 25% 30%, rgba(227, 180, 92, 0.16), transparent 70%), radial-gradient(35% 45% at 80% 40%, rgba(95, 212, 196, 0.12), transparent 70%), radial-gradient(30% 40% at 60% 80%, rgba(212, 80, 106, 0.12), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hero h1 em { font-style: italic; color: var(--gold-hi); }
.lede { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; color: var(--faint); font-size: 0.92rem; }
.proof strong { display: block; font: 650 1.6rem/1.1 var(--serif); color: var(--text); }

.hero-art { position: relative; min-height: 420px; }
.tv { position: absolute; right: 0; top: 10px; width: 92%; padding: 12px; border-radius: 22px; background: linear-gradient(160deg, #23283a, #10131d); border: 1px solid var(--line-2); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.tv img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; }
.tv-tag { position: absolute; right: 22px; top: -14px; padding: 7px 14px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 0.8rem; color: var(--muted); }
.phone { position: absolute; width: 170px; padding: 16px 14px 18px; border-radius: 28px; background: linear-gradient(170deg, #1d2235, #0f1220); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 10px; }
.phone::before { content: ''; justify-self: center; width: 52px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); }
.phone.p1 { left: 0; bottom: 0; transform: rotate(-5deg); }
.phone.p2 { left: 38%; bottom: -26px; transform: rotate(4deg); }
.ph-top { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.ph-title { font: 650 1.15rem/1.15 var(--serif); color: var(--crimson-hi); }
.ph-line { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.ph-line.short { width: 60%; }
.ph-chip .ilock { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 5px; }
.ph-chip { font-size: 0.74rem; padding: 8px 10px; border-radius: 10px; background: rgba(212, 80, 106, 0.14); color: var(--crimson-hi); }
.ph-chip.teal { background: rgba(95, 212, 196, 0.12); color: var(--teal-hi); }
.ph-dial { justify-self: center; width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgba(95, 212, 196, 0.5); display: grid; place-items: center; box-shadow: inset 0 0 24px rgba(95, 212, 196, 0.2); }
.ph-dial span { width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px var(--teal); transform: translate(14px, -10px); animation: roll 5s ease-in-out infinite; }
@keyframes roll { 50% { transform: translate(-14px, 12px); } }

/* Feature band */
.band { padding: 72px 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.features li { display: grid; gap: 10px; align-content: start; }
.ficon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--gold-hi); background: linear-gradient(155deg, rgba(227, 180, 92, 0.16), rgba(227, 180, 92, 0.03) 70%), var(--panel); border: 1px solid rgba(227, 180, 92, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.25); }
.ficon svg { width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(243, 213, 149, 0.25)); }
.features h3 { font-size: 1.2rem; }
.features p { color: var(--muted); font-size: 0.97rem; }

/* Channels */
.channels { padding: 110px 0; }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.channel { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 40px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 90px; }
.channel::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; }
.channel.mystery::before { background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.channel.escape::before { background: linear-gradient(90deg, var(--teal), var(--gold)); }
.channel::after { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; }
.channel.mystery::after { background: radial-gradient(circle, rgba(212, 80, 106, 0.16), transparent 70%); }
.channel.escape::after { background: radial-gradient(circle, rgba(95, 212, 196, 0.14), transparent 70%); }
.ch-head { display: grid; gap: 12px; }
.ch-badge { justify-self: start; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.mystery .ch-badge { color: var(--crimson-hi); background: rgba(212, 80, 106, 0.12); }
.escape .ch-badge { color: var(--teal-hi); background: rgba(95, 212, 196, 0.1); }
.channel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.channel > p { color: var(--muted); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 0.97rem; }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; }
.mystery .ticks li::before { background: radial-gradient(circle, var(--crimson-hi) 30%, rgba(212, 80, 106, 0.25) 32%); }
.escape .ticks li::before { background: radial-gradient(circle, var(--teal-hi) 30%, rgba(95, 212, 196, 0.22) 32%); }
.channel .btn { align-self: flex-start; margin-top: auto; }
.channel .ticks { margin-bottom: 6px; }

/* How it works */
.how { padding: 100px 0; background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 650 1.1rem/1 var(--serif); color: #1d1406; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 0.96rem; }

/* Catalog */
.catalog { padding: 110px 0 90px; }
.cat-label { font: 600 0.82rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.cat-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.mystery-label { color: var(--crimson-hi); }
.escape-label { color: var(--teal-hi); margin-top: 56px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel-2); }
.card-body { padding: 20px 20px 22px; display: grid; gap: 10px; align-content: start; }
.card h4 { font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .facts { color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.card.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: none; }
.card.wide .card-body { padding: 36px; align-content: center; gap: 14px; }
.card.wide h4 { font-size: 1.8rem; }
.card.wide p { font-size: 1.02rem; }
.manor { min-height: 260px; background: #0b0c14; }
.manor svg { width: 100%; height: 100%; }
.soon { font-style: italic; color: var(--faint) !important; font-size: 0.9rem !important; }

/* Occasions */
.occasions { text-align: center; }
.occasions h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { padding: 100px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 600 1.08rem/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* Contact */
.contact { padding: 40px 0 110px; }
.contact-in { text-align: center; padding: 64px 32px; border-radius: 30px; background: radial-gradient(60% 120% at 50% 0%, rgba(227, 180, 92, 0.16), transparent 70%), var(--panel); border: 1px solid var(--line-2); display: grid; gap: 18px; justify-items: center; }
.contact h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.contact p { color: var(--muted); max-width: 560px; }
.contact .btn { margin-top: 10px; white-space: normal; text-align: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; background: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.foot-links a:hover { color: var(--text); }
.copy { margin-left: auto; color: var(--faint); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1020px) {
  .links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 72px; }
  .hero-art { min-height: 380px; max-width: 620px; width: 100%; justify-self: center; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-in { height: 62px; gap: 10px; }
  .brand { gap: 8px; }
  .brand .mark { width: 28px; height: 28px; }
  .brand span { font-size: 0.98rem; white-space: nowrap; }
  .nav-in .btn { padding: 8px 12px; font-size: 0.78rem; }
  .hero { padding: 56px 0 72px; }
  .hero-in { gap: 56px; }
  .proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; font-size: 0.84rem; }
  .proof strong { font-size: 1.35rem; }
  .hero-art { min-height: 340px; }
  .tv { width: 100%; top: 14px; transform: none; padding: 8px; border-radius: 16px; }
  .tv-tag { right: 12px; }
  .phone { width: 140px; padding: 12px 11px 14px; border-radius: 22px; }
  .phone.p1 { left: 2%; bottom: 0; }
  .phone.p2 { left: auto; right: 2%; bottom: -10px; }
  .ph-dial { width: 70px; height: 70px; }
  .features, .steps, .cards { grid-template-columns: 1fr; }
  .channel { padding: 28px 22px; }
  .card.wide { grid-template-columns: 1fr; }
  .manor { min-height: 200px; }
  .card.wide .card-body { padding: 24px 20px; }
  .channels, .catalog, .faq, .how { padding: 72px 0; }
  .contact-in { padding: 48px 20px; }
  .copy { margin-left: 0; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
