/* The Digital Areopagus — umbrella site */

:root {
  --bg:        #100e0c;
  --bg-raised: #181512;
  --bg-inset:  #0a0908;
  --ink:       #eae2d3;
  --ink-muted: #9a8f80;
  --brass:     #c9a84c;
  --brass-dim: rgba(201, 168, 76, 0.35);
  --oxblood:   #8e3a3a;
  --border:    #2e2820;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --mono:      'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,168,76,0.07), transparent),
    var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.62;
}

.mono { font-family: var(--mono); }
.serif-i { font-style: italic; }
.wide-only { display: none; }
@media (min-width: 640px) { .wide-only { display: inline; } }

/* Acropolis (hero) */
.acropolis {
  text-align: center;
  padding: 3.5rem 1.25rem 3.5rem;
  border-bottom: 1px solid var(--border);
}

/* --- Dark Academia banner frame --- */
.acropolis-frame {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.2rem 2rem 2.8rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(201,168,76,0.07), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  border: 1.5px solid var(--brass-dim);
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 18px 60px rgba(0,0,0,0.55),
    inset 0 0 90px rgba(201,168,76,0.04);
}
/* inner gilt rule — the second line of the double frame */
.acropolis-frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 2px;
  pointer-events: none;
}
/* corner flourishes seated on the inner rule */
.frame-corner {
  position: absolute;
  z-index: 2;
  color: var(--brass);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(201,168,76,0.4);
}
.frame-corner.tl { top: 4px;  left: 4px; }
.frame-corner.tr { top: 4px;  right: 4px; }
.frame-corner.bl { bottom: 4px; left: 4px; }
.frame-corner.br { bottom: 4px; right: 4px; }

.acropolis-crest {
  display: block;
  margin: 0 auto 1.1rem;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 14px rgba(201,168,76,0.25));
}

/* gilt divider with a centered diamond, between title and creed */
.acropolis-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.3rem auto 1.2rem;
  max-width: 360px;
}
.acropolis-rule::before,
.acropolis-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--brass-dim), transparent);
}
.acropolis-rule span { color: var(--brass); font-size: 0.8rem; opacity: 0.9; }

@media (max-width: 520px) {
  .acropolis-frame { padding: 2.4rem 1.1rem 2rem; }
  .acropolis-crest { width: 64px; height: 64px; }
}
.kicker {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.6rem;
}
.title {
  font-size: clamp(3rem, 10vw, 5.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
}
.creed {
  margin-top: 1.4rem;
  color: var(--ink-muted);
  font-size: 1.2rem;
}
.challenge {
  margin-top: 2.4rem;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
  border: 1px solid var(--brass-dim);
  border-radius: 4px;
  padding: 0.7rem 1.3rem;
}

/* Chambers */
.chambers {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.1rem;
}
.chamber {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s, transform 0.18s;
}
.chamber--open:hover { border-color: var(--brass); transform: translateY(-3px); }
.chamber--sealed { opacity: 0.62; }

.chamber-status {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.chamber--sealed .chamber-status { color: var(--ink-muted); }
.chamber-name {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.chamber-test {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--oxblood);
  margin-bottom: 0.8rem;
}
.chamber--sealed .chamber-test { color: var(--ink-muted); }
.chamber-desc {
  font-size: 1.02rem;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.chamber-enter {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.chamber--sealed .chamber-enter { color: var(--ink-muted); font-style: italic; }

/* Doctrine */
.doctrine {
  max-width: 660px;
  margin: 3.5rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}
.doctrine-head {
  font-size: 1.5rem;
  color: var(--brass);
  margin-bottom: 1rem;
}
.doctrine p { color: var(--ink-muted); }
.doctrine-sig {
  margin-top: 1.2rem;
  font-size: 1.25rem;
  color: var(--ink) !important;
}

/* Summons (email capture) */
.summons {
  max-width: 560px;
  margin: 4rem auto;
  padding: 2.2rem 1.8rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.summons-head { font-size: 1.7rem; font-weight: 700; margin-bottom: 0.5rem; }
.summons-sub { color: var(--ink-muted); font-size: 1rem; margin-bottom: 1.3rem; }
.summons-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.summons-input {
  flex: 1 1 240px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}
.summons-input:focus { outline: none; border-color: var(--brass-dim); }
.summons-btn {
  background: var(--brass);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 0.85rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.summons-btn:hover { background: #d9b95e; }

/* Stoa (footer) */
.stoa {
  border-top: 1px solid var(--border);
  padding: 1.8rem 1.5rem 2.6rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}
.stoa a { color: var(--brass); text-decoration: none; }
.stoa-fine { margin-top: 0.5rem; opacity: 0.75; }

/* Summons waitlist — honeypot + status feedback */
.summons-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.summons-status { min-height:1.2em; margin:.7em 0 0; font-size:.82rem; letter-spacing:.04em; opacity:.85; }
.summons-status.summons-ok  { color:#7ad19a; }
.summons-status.summons-err { color:#e6896f; }
