/* FrightBuddies: FrightMaps' pumpkin orange and slate on a near-black night, faces shown as glowing round screens. */
:root {
  --bg: #0b0b0e;
  --panel: #14151a;
  --panel-2: #1b1c23;
  --line: #2a2b33;
  --ink: #ececec;
  --dim: #a0a0aa;
  --orange: #ff6f0a;
  --red: #e8221b;
  --slate: #2f3a4c;
  --green: #2fbf71;
  --gold: #f2c14e;
  --radius: 18px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 111, 10, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 40%, rgba(232, 34, 27, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.small { font-size: 14px; color: var(--dim); }
.dim { color: var(--dim); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wordmark {
  font-family: Creepster, Inter, cursive;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0.03em;
  -webkit-text-stroke: 0.07em var(--slate);
  paint-order: stroke fill;
  text-shadow: 0 0 30px rgba(255, 111, 10, 0.35);
}
.wordmark.huge { font-size: clamp(40px, 11.5vw, 150px); line-height: 0.95; margin: 0.1em 0 0.15em; }
.tagline, .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.lede { font-size: clamp(18px, 2.2vw, 22px); color: #d8d8de; max-width: 680px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--orange);
  color: #160800;
  font: 700 16px/1 Inter, sans-serif;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(47, 58, 76, 0.9), 0 10px 30px rgba(255, 111, 10, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 3px var(--slate), 0 14px 36px rgba(255, 111, 10, 0.45); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.small { padding: 9px 16px; font-size: 14px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - var(--wrap)) / 2));
  background: rgba(11, 11, 14, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1d1e24;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; }
.brand .wordmark { font-size: 28px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--ink); font-size: 15px; font-weight: 500; }
@media (max-width: 860px) { .nav nav a:not(.btn) { display: none; } }

main > section, .char, .prose { padding: 0 16px; }
.section-head { max-width: var(--wrap); margin: 0 auto 28px; }
.section-head p { color: var(--dim); max-width: 720px; font-size: 18px; }

/* the round screens */
.screen {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 5px #2b2c33, 0 0 0 7px #000, 0 0 34px rgba(255, 111, 10, 0.22);
}
.screen video, .screen img { width: 100%; height: 100%; object-fit: cover; }
.screen.lg { width: clamp(64px, 10.5vw, 150px); }
.screen.md { width: 170px; }
.screen.xl { width: min(360px, 80vw); }

/* hero */
.hero { text-align: center; padding-top: clamp(40px, 7vw, 90px); padding-bottom: 30px; }
.hero .lede { margin: 0 auto 28px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-faces { display: flex; justify-content: center; gap: clamp(12px, 2.4vw, 30px); flex-wrap: wrap; margin: 56px auto 0; max-width: 1240px; }
.hero-face { display: grid; justify-items: center; gap: 12px; color: var(--dim); font-size: 14px; font-weight: 600; animation: float 6s ease-in-out infinite; animation-delay: var(--d); }
.hero-face:hover { color: var(--ink); text-decoration: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.banner { margin: 0 auto 34px; max-width: 1400px; }
.banner img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 50% at 50% 50%, #000 62%, transparent 100%);
}

/* idle, talk, react */
.alive { padding-top: 90px; }
.trio { max-width: var(--wrap); margin: 0 auto 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.beat p { color: var(--dim); margin: 0; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }
.player { max-width: 1000px; margin: 0 auto; }
.player video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.player.square { max-width: 600px; margin-top: 30px; }
.player figcaption { color: var(--dim); font-size: 14px; text-align: center; margin-top: 10px; }

/* lineups and cards */
.line { padding-top: 100px; }
.grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { text-decoration: none; transform: translateY(-4px); border-color: #3a3b45; }
.card-art { overflow: hidden; background: #050506; }
.card-art img { width: 100%; height: auto; aspect-ratio: 1100 / 1238; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-art img { transform: scale(1.04); }
.line-buddies .card-art img { transform: scale(1.32); transform-origin: 50% 66%; }
.line-buddies .card:hover .card-art img { transform: scale(1.38); }
.card .screen.badge { position: absolute; top: 14px; right: 14px; width: 74px; box-shadow: 0 0 0 3px #2b2c33, 0 0 0 4px #000, 0 0 18px var(--glow); }
.card-text { padding: 14px 20px 20px; }
.card-text h3 { margin: 0; font-size: 22px; }
.kind { color: var(--orange); font-size: 14px; font-weight: 600; margin: 2px 0 8px; }
.tag { color: var(--dim); font-size: 15px; margin: 0; }
.glow-orange { --glow: rgba(255, 111, 10, 0.28); }
.glow-red { --glow: rgba(232, 34, 27, 0.28); }
.glow-green { --glow: rgba(47, 191, 113, 0.25); }
.line-christmas .kind { color: var(--gold); }

/* haunter */
.haunter { padding-top: 110px; padding-bottom: 20px; background: radial-gradient(900px 500px at 50% 30%, rgba(160, 10, 10, 0.18), transparent 70%); }
.haunter h2 { color: #ff3b2f; }
.haunt-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.haunt-tile { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #3a1414; color: var(--ink); }
.haunt-tile img { width: 100%; height: auto; aspect-ratio: 1100 / 1238; object-fit: cover; transition: transform 0.3s ease; }
.haunt-tile:hover img { transform: scale(1.05); }
.haunt-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); }
@media (max-width: 820px) { .haunt-grid { grid-template-columns: repeat(2, 1fr); } }

/* duos */
.duos { padding-top: 110px; }
.duo { max-width: var(--wrap); margin: 0 auto 30px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.duo-media img { border-radius: 12px; }
.duo .pair { font-weight: 600; }
.duo-text p { color: var(--dim); }
.duo-video { width: 100%; border-radius: 12px; background: #000; border: 1px solid var(--line); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* features and specs */
.features { padding-top: 110px; }
.feature-grid { max-width: var(--wrap); margin: 0 auto 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 18px; color: var(--orange); }
.feature p { color: var(--dim); margin: 0; font-size: 15px; }
.specs { max-width: var(--wrap); margin: 0 auto; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th { text-align: left; color: var(--orange); font-weight: 600; width: 140px; padding: 10px 0; vertical-align: top; }
.specs td { padding: 10px 0; color: #d8d8de; border-bottom: 1px solid var(--line); }
.specs tr:last-child td { border-bottom: 0; }

/* waitlist */
.notify { max-width: 760px; margin: 110px auto 40px; text-align: center; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 24px; padding: 40px 26px; }
.notify h2 { font-size: clamp(28px, 4vw, 40px); }
.notify > p { color: var(--dim); }
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 10px; }
.notify-form input, .notify-form select {
  flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #0f1014; color: var(--ink); font: 500 16px Inter, sans-serif;
}
.notify-form input:focus, .notify-form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.notify-form .hp { position: absolute; left: -9999px; }
.form-msg { flex-basis: 100%; margin: 6px 0 0; min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #ff6b5f; }

/* questions */
.faq { max-width: 760px; margin: 110px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  font-weight: 700; font-size: 19px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; color: var(--orange); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; color: var(--dim); }
.faq > .small { margin-top: 18px; }

/* a character's page */
.char { max-width: var(--wrap); margin: 0 auto; }
.crumbs { margin: 26px 0 10px; font-size: 15px; color: var(--dim); }
.char-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.char-art { border-radius: 22px; overflow: hidden; background: radial-gradient(70% 60% at 50% 55%, var(--glow), transparent 70%); }
.char-art img { margin: 0 auto; max-height: 720px; width: auto; }
.char-intro h1 { font-size: clamp(56px, 8vw, 104px); margin: 0.05em 0 0.15em; }
.char-intro dl { margin: 22px 0; }
.char-intro dt { color: var(--orange); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.char-intro dd { margin: 4px 0 16px; color: #d0d0d6; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--dim); }
.char-face { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; margin: 90px 0 40px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.char-face .screen.xl { box-shadow: 0 0 0 8px #2b2c33, 0 0 0 10px #000, 0 0 60px var(--glow); }
.face-beats dt { font-weight: 700; margin-top: 14px; }
.face-beats dd { margin: 4px 0 0; color: var(--dim); }
.views { margin-top: 90px; }
.view-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.view-row figure { margin: 0; background: radial-gradient(70% 60% at 50% 55%, var(--glow), transparent 70%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.view-row img { margin: 0 auto; max-height: 420px; width: auto; }
.view-row figcaption { text-align: center; color: var(--dim); font-size: 14px; margin-top: 6px; }
.char-haunter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 90px;
  background: radial-gradient(600px 400px at 30% 50%, rgba(160, 10, 10, 0.25), transparent 70%), var(--panel);
  border: 1px solid #3a1414; border-radius: 24px; padding: 30px; }
.char-haunter-art img { border-radius: 16px; }
.char-haunter .tagline { color: #ff3b2f; }
.char-haunter p { color: #d0d0d6; }
.char-haunter .screen { box-shadow: 0 0 0 5px #2b2c33, 0 0 0 7px #000, 0 0 34px rgba(232, 34, 27, 0.4); margin-top: 16px; }
.char-duo { margin-top: 90px; }
.char-duo p { color: var(--dim); }
.pager { display: flex; justify-content: space-between; margin: 70px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
@media (max-width: 860px) {
  .char-head, .char-haunter { grid-template-columns: 1fr; }
  .char-face { grid-template-columns: 1fr; justify-items: center; padding: 26px; }
  .view-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
}

/* plain pages */
.prose { max-width: 720px; margin: 70px auto; }
.prose h1 { font-size: clamp(36px, 6vw, 56px); }
.prose p { color: #d0d0d6; }

.footer { text-align: center; padding: 60px 16px 50px; border-top: 1px solid #1d1e24; margin-top: 60px; color: var(--dim); font-size: 15px; }
.footer .made img { margin: 0 auto 16px; height: auto; }
.footer p { max-width: 640px; margin: 0 auto 8px; }
.footer .fcc { margin: 18px auto 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); color: #d0d0d6; font-size: 13px; line-height: 1.55; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-face { animation: none; }
  .card, .card-art img, .haunt-tile img, .btn { transition: none; }
}

/* phones: two columns of compact cards (last, so it wins over the rules above) */
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-text { padding: 10px 12px 14px; }
  .card-text h3 { font-size: 18px; }
  .card .tag { display: none; }
  .card .screen.badge { width: 46px; top: 8px; right: 8px; }
  .brand .wordmark { font-size: 22px; }
}
