/* Cursor Houston — shared theme.
   Palette + type follow the Cursor deck brand tokens (ink / paper,
   Inter + JetBrains Mono), applied as a dark site. */

:root {
  --ink: #14120b;
  --ink-soft: #1d1b14;
  --card: #1a1812;
  --paper: #f7f7f4;
  --muted: #a5a399;
  --subtle: #85837a;
  --line: rgba(247, 247, 244, 0.1);
  --font-sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--paper); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

header.site {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

header.site .logo img { height: 24px; width: auto; }

header.site nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

header.site nav a { text-decoration: none; color: var(--muted); }
header.site nav a:hover { color: var(--paper); }
header.site nav a.btn { color: var(--ink); }

/* ---------- buttons / labels ---------- */

.btn {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
}

.btn:hover { background: #fff; }

.btn.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(247, 247, 244, 0.25);
}

.btn.ghost:hover { border-color: rgba(247, 247, 244, 0.55); background: transparent; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  margin: 0 0 14px;
}

/* ---------- hero (homepage) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero .sky {
  position: absolute;
  inset: 0;
  background: url("assets/houston-skyline.png") center bottom / cover no-repeat;
}

.hero .sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 18, 11, 0.92) 0%,
    rgba(20, 18, 11, 0.35) 45%,
    rgba(20, 18, 11, 0.15) 70%,
    rgba(20, 18, 11, 0.75) 100%
  );
}

.hero .wrap {
  position: relative;
  width: 100%;
  padding-bottom: 88px;
}

.hero .eyebrow {
  color: rgba(247, 247, 244, 0.75);
  text-shadow: 0 1px 12px rgba(20, 18, 11, 0.9);
}

.hero h1, .hero p.tag {
  text-shadow: 0 2px 24px rgba(20, 18, 11, 0.85);
}

.hero h1 {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
}

.hero p.tag {
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(247, 247, 244, 0.85);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */

section.block { padding: 76px 0; border-top: 1px solid var(--line); }

section.block h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

section.block > .wrap > p.lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
}

/* ---------- cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
}

.card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.card p, .card li { color: var(--muted); font-size: 16px; }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 860px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
}

/* ---------- event card ---------- */

.event {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.event .when {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  margin: 0 0 6px;
}

.event h3 { font-size: 26px; margin: 0 0 8px; }

.event .qr {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  flex: 0 0 auto;
}

.event .qr img { width: 148px; height: 148px; }

.event .qr figcaption {
  color: #555;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  padding-top: 8px;
}

figure.qr { margin: 0; }

/* ---------- link lists ---------- */

.links ul { list-style: none; margin: 0; padding: 0; }

.links li { border-bottom: 1px solid var(--line); }
.links li:last-child { border-bottom: none; }

.links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 2px;
  text-decoration: none;
}

.links a:hover .link-title { text-decoration: underline; }

.links .link-title { font-weight: 500; font-size: 16px; }

.links .link-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .links a { flex-direction: column; gap: 2px; }
}

/* ---------- session page ---------- */

.page-hero {
  padding: 150px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 500px at 70% -100px, rgba(247, 247, 244, 0.06), transparent),
    var(--ink);
}

.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 14px;
}

.page-hero p { color: var(--muted); max-width: 620px; margin: 0; font-size: 18px; }

/* slides card */

.slides-card {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-wrap: wrap;
}

.slides-card .thumb {
  flex: 0 0 320px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.slides-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slides-card .meta { flex: 1 1 320px; }

/* steps */

ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin-bottom: 10px; }

ul.facts { margin: 0; padding-left: 20px; }
ul.facts li { margin-bottom: 8px; }

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(247, 247, 244, 0.08);
  border-radius: 5px;
  padding: 2px 6px;
}

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 60px;
  color: var(--subtle);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer.site a { color: var(--muted); }
