* { box-sizing: border-box; }

:root {
  --bg: #0b0910;
  --text: #f7f2ff;
  --muted: #b9aac8;
  --accent: #df4cff;
  --accent-2: #7b5cff;
  --line: rgba(255,255,255,0.09);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223,76,255,0.18), transparent 32rem),
    radial-gradient(circle at 80% 15%, rgba(123,92,255,0.16), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  background: rgba(11,9,16,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display:flex; align-items:center; gap:.7rem; font-weight:900; letter-spacing:.12em; }
.brand img { width:58px; height:58px; object-fit:contain; border-radius:0; flex:0 0 auto; }

nav { display: flex; gap: 1.2rem; }
nav a { color: var(--muted); font-weight: 700; }
nav a:hover { color: var(--text); }

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 6rem 5vw;
}

.hero-inner { width: min(100%, 1050px); }

.hero-logo {
  display: block;
  width: clamp(150px, 24vw, 280px);
  height: auto;
  margin: 0 0 1.5rem;
  filter: drop-shadow(0 12px 32px rgba(223,76,255,0.28));
}


.eyebrow {
  margin: 0 0 0.8rem;
  color: #efb4ff;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

h1, h2, h3 { line-height: 1.05; margin-top: 0; }
h1 { font-size: clamp(3.2rem, 9vw, 7rem); max-width: 900px; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 2rem; }

.hero-copy {
  max-width: 720px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.secondary { background: rgba(255,255,255,0.04); }

.section {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading { margin-bottom: 2rem; }

.feature-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  box-shadow: 0 20px 80px rgba(0,0,0,0.28);
}

.feature-copy p,
.about-copy p,
.updates p,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.status {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(223,76,255,0.12);
  border: 1px solid rgba(223,76,255,0.35);
  color: #f3c7ff;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.feature-art {
  min-height: 320px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle, rgba(223,76,255,0.35), transparent 42%),
    linear-gradient(160deg, #21122d, #09070d 70%);
  border: 1px solid rgba(255,255,255,0.08);
}

.sigil {
  font-size: 7rem;
  line-height: 1;
  color: #fff;
  filter: drop-shadow(0 0 24px rgba(223,76,255,0.55));
}

.feature-art span {
  letter-spacing: 0.28em;
  font-weight: 900;
  font-size: 0.82rem;
  color: #eadcf0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.updates, .contact { border-top: 1px solid var(--line); }

.email {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  color: #f0b7ff;
}

footer {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8f809d;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; gap: 1rem; }
  nav { gap: 0.75rem; font-size: 0.9rem; }
  .feature-card, .split { grid-template-columns: 1fr; }
  .feature-art { min-height: 240px; }
  footer { flex-direction: column; }
}


.game-divider { height: 1px; background: var(--line); margin: 4rem 0; }
.second-game-heading { margin-top: 0; }
.office-art { background: radial-gradient(circle, rgba(123,92,255,0.30), transparent 42%), linear-gradient(160deg, #111827, #05070c 70%); }
.office-icon { font-size: 7rem; line-height: 1; filter: drop-shadow(0 0 24px rgba(123,92,255,0.55)); }
@media (max-width: 760px) { .brand span { display:none; } .brand img { width:52px; height:52px; object-fit:contain; } }

/* Office Night cover logo */
.office-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.office-night-logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  max-height: 430px;
  object-fit: contain;
  border-radius: 18px;
}

.game-cover {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.hornswoggle-cover {
  margin: 1.25rem 0 1.5rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

/* Hornswoggle cover: replaces the old triangle placeholder on the right */
.hornswoggle-art {
  padding: 0;
  overflow: hidden;
  background: #09070d;
}

.hornswoggle-side-logo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}

@media (max-width: 760px) {
  .hornswoggle-side-logo {
    min-height: 240px;
  }
}


/* Office Night gameplay */
.status.complete { border-color: rgba(139,255,190,.35); background: rgba(40,180,105,.12); }
.gameplay-section { margin-top: 42px; }
.gameplay-section h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 20px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.video-grid video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background:#000; border:1px solid rgba(255,255,255,.10); border-radius:18px; }
@media (max-width: 850px) { .video-grid { grid-template-columns: 1fr; } }


/* Ask Hornswoggle */
.ask-section { border-top: 1px solid var(--line); }
.ask-heading { max-width: 820px; }
.ask-intro { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.hornswoggle-terminal { overflow:hidden; border:1px solid rgba(223,76,255,.28); border-radius:28px; background:linear-gradient(180deg,rgba(20,12,29,.96),rgba(8,7,12,.98)); box-shadow:0 28px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04); }
.terminal-topbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.2rem; border-bottom:1px solid var(--line); background:rgba(255,255,255,.025); }
.terminal-identity { display:flex; align-items:center; gap:.85rem; min-width:0; }
.terminal-logo { width:52px; height:52px; object-fit:contain; flex:0 0 auto; }
.terminal-identity strong { display:block; letter-spacing:.1em; font-size:.92rem; }
.terminal-identity span { display:block; color:#a995b8; font-size:.75rem; margin-top:.2rem; letter-spacing:.09em; }
.status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#79f5a7; margin-right:.4rem; box-shadow:0 0 10px rgba(121,245,167,.65); }
.terminal-badge { padding:.36rem .62rem; border:1px solid rgba(223,76,255,.32); border-radius:999px; color:#f0c4fb; font-size:.7rem; font-weight:900; letter-spacing:.09em; white-space:nowrap; }
.chat-log { min-height:320px; max-height:520px; overflow-y:auto; padding:1.35rem; display:flex; flex-direction:column; gap:1rem; }
.chat-message { max-width:min(82%,720px); border:1px solid var(--line); border-radius:18px; padding:.9rem 1rem; animation:archiveIn .18s ease-out; }
.chat-message p { margin:0; white-space:pre-line; }
.assistant-message { align-self:flex-start; background:rgba(223,76,255,.075); border-color:rgba(223,76,255,.18); }
.user-message { align-self:flex-end; background:rgba(123,92,255,.15); }
.message-label { color:#d6b3e3; font-size:.68rem; font-weight:900; letter-spacing:.12em; margin-bottom:.35rem; }
.user-message .message-label { color:#c8bfff; }
.suggested-questions { display:flex; flex-wrap:wrap; gap:.55rem; padding:0 1.35rem 1rem; }
.suggested-questions button { color:#d9cce2; background:rgba(255,255,255,.035); border:1px solid var(--line); border-radius:999px; padding:.58rem .78rem; font:inherit; font-size:.82rem; cursor:pointer; }
.suggested-questions button:hover { border-color:rgba(223,76,255,.38); color:#fff; }
.ask-form { display:grid; grid-template-columns:1fr auto; gap:.75rem; padding:1rem 1.35rem; border-top:1px solid var(--line); }
.ask-form input { width:100%; min-width:0; background:#0b0810; color:#fff; border:1px solid rgba(255,255,255,.13); border-radius:14px; padding:.92rem 1rem; font:inherit; outline:none; }
.ask-form input:focus { border-color:rgba(223,76,255,.68); box-shadow:0 0 0 3px rgba(223,76,255,.09); }
.ask-form button { border:0; border-radius:14px; padding:.75rem 1rem; color:white; font-weight:950; letter-spacing:.08em; cursor:pointer; background:linear-gradient(135deg,var(--accent),var(--accent-2)); }
.archive-note { margin:0; padding:0 1.35rem 1.2rem; color:#7f718b; font-size:.78rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@keyframes archiveIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@media (max-width:760px) { .chat-message{max-width:92%;}.ask-form{grid-template-columns:1fr;}.ask-form button{min-height:46px;}.terminal-badge{display:none;} }
