/* Exoreality — deep-field cosmic, Garamond-adjacent. Dark but warm:
   ink-black indigo ground, parchment text, brass accent. */
:root {
  --ink: #0b0e14;
  --panel: #11151f;
  --panel-2: #161b28;
  --line: #2a3040;
  --text: #e8e4da;
  --text-dim: #a8a294;
  --brass: #c9a45c;
  --brass-bright: #e0bd75;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
a { color: var(--brass-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0.01em; color: #f2eee4; }
h2 { font-size: 1.7rem; margin-bottom: 8px; }
.section-dek { color: var(--text-dim); max-width: 640px; margin-bottom: 26px; }

/* Masthead */
.masthead {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { letter-spacing: 6px; font-size: 15px; color: var(--brass); }
.brand.small { font-size: 12px; letter-spacing: 5px; }
.masthead nav a { margin-left: 22px; font-size: 15px; color: var(--text); }
.masthead nav a:hover { color: var(--brass-bright); text-decoration: none; }
.nav-cta { color: var(--brass-bright) !important; border: 1px solid var(--brass); padding: 6px 14px; border-radius: 2px; }

/* Hero */
.hero {
  padding: 92px 0 84px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(201, 164, 92, 0.13), transparent 60%),
    radial-gradient(ellipse 45% 40% at 82% 8%, rgba(90, 120, 190, 0.10), transparent 65%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.hero-banner { max-width: 560px; margin: 0 auto 30px; }
.hero-banner img {
  width: 100%; height: auto; display: block; border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(90, 120, 190, 0.18), 0 0 24px rgba(201, 164, 92, 0.08);
}
.hero .dek { color: var(--text-dim); max-width: 620px; margin: 0 auto 30px; font-size: 1.08rem; }

/* Subscribe form */
.sub-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sub-form input[type=email] {
  font-family: var(--serif); font-size: 16px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 16px; width: min(340px, 78vw);
}
.sub-form input[type=email]:focus { outline: none; border-color: var(--brass); }
.sub-form button {
  font-family: var(--serif); font-size: 16px; cursor: pointer;
  background: var(--brass); color: var(--ink);
  border: none; border-radius: 2px; padding: 12px 22px;
}
.sub-form button:hover { background: var(--brass-bright); }
.sub-note { color: var(--text-dim); font-size: 0.85rem; margin-top: 14px; font-style: italic; }
.hp { position: absolute; left: -9999px; }

/* Sections */
main section { padding: 64px 0; }
main section.wrap { padding-left: 22px; padding-right: 22px; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Essay cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  overflow: hidden; color: var(--text); transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--brass); text-decoration: none; transform: translateY(-2px); }
.card-img { aspect-ratio: 1.9; overflow: hidden; background: var(--panel-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; }
.card h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 6px; }
.card time { color: var(--brass); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.card p { color: var(--text-dim); font-size: 0.92rem; margin-top: 8px; }
.more { margin-top: 22px; }

/* Video cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vcard { display: block; color: var(--text); }
.vcard:hover { text-decoration: none; }
.vcard:hover h3 { color: var(--brass-bright); }
.vthumb { position: relative; aspect-ratio: 16/9; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(242, 238, 228, 0.9); font-size: 2rem;
  background: rgba(11, 14, 20, 0.22); transition: background 0.15s ease;
}
.vcard:hover .play { background: rgba(11, 14, 20, 0.05); }
.vcard h3 { font-size: 1rem; line-height: 1.4; margin-top: 10px; }
.vcard time { color: var(--text-dim); font-size: 0.8rem; }

/* Podcast */
.podcast { text-align: center; }
.podcast .section-dek { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-block; border: 1px solid var(--brass); color: var(--brass-bright);
  padding: 11px 24px; border-radius: 2px; margin-top: 6px;
}
.btn:hover { background: var(--brass); color: var(--ink); text-decoration: none; }

/* Subscribe band */
.subscribe-band { text-align: center; }
.subscribe-band .section-dek { margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 42px 0 52px; text-align: center; color: var(--text-dim); }
footer p { margin-top: 10px; font-size: 0.92rem; }
.fine { font-size: 0.78rem !important; color: #6d6a5f; }

@media (max-width: 560px) {
  .masthead nav a { margin-left: 12px; font-size: 13px; }
  .nav-cta { padding: 5px 9px; }
  .hero { padding: 64px 0 58px; }
}
