/* GeeksTap — site styles. Brand: cream ground, ink text, gold accent, warm-dark hero. */

:root {
  --cream: #f5f3ed;
  --cream-2: #efece3;
  --ink: #14130f;
  --ink-soft: #423d33;
  --gold: #c3a05f;
  --gold-deep: #a07f3e;
  --warm-dark: #1b1712;
  --line: #e2ddcf;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(20, 19, 15, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brandfont {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: "DM Sans", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
}

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 237, .9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 18px;
}
.logo img { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--gold-deep); text-decoration: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: "DM Sans", "Inter", sans-serif; font-weight: 700;
  font-size: .95rem; letter-spacing: .01em;
  padding: .72em 1.25em; border-radius: 999px;
  border: 1.5px solid var(--ink); cursor: pointer; transition: .16s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--cream); text-decoration: none; }

/* ---- hero ---- */
.hero {
  position: relative; color: var(--cream);
  background: var(--warm-dark);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,16,12,.92) 0%, rgba(20,16,12,.55) 48%, rgba(20,16,12,.2) 100%),
    url("../assets/hero.webp") center/cover no-repeat;
}
.hero .wrap { position: relative; padding: 92px 22px 96px; }
.hero-inner { max-width: 640px; }
.hero h1 { color: var(--cream); }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.22rem; color: #e9e3d4; max-width: 36em; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .btn-ghost { color: var(--cream); border-color: var(--cream); }
.hero .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.hero .meta {
  margin-top: 28px; font-family: "DM Sans", sans-serif; font-weight: 600;
  letter-spacing: .04em; color: var(--gold); font-size: .95rem;
}

/* ---- sections ---- */
section { padding: 78px 0; }
section.alt { background: var(--cream-2); }
.section-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
}
.section-grid img { width: 100%; height: auto; border-radius: var(--radius); }
.lead-big { font-size: 1.18rem; }

.who-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 14px; }
.who-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
}
.who-list .tag {
  font-family: "Poppins", sans-serif; font-weight: 700; color: var(--gold-deep);
  min-width: 92px;
}

/* ---- two-step flow ---- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
.flow .card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.flow .num {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--cream); background: var(--gold-deep);
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* ---- weekly taps ---- */
.taps-head { max-width: 40em; }
.tap-list { display: grid; gap: 18px; margin-top: 30px; }
.tap {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center;
}
.tap.upcoming { border-color: var(--gold); border-width: 2px; box-shadow: var(--shadow); }
.tap .date { font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--gold-deep); font-size: .95rem; }
.tap .talk { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.12rem; margin: 0 0 .25em; }
.tap .speaker { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.tap .rsvp { white-space: nowrap; }
.tap .badge {
  display: inline-block; font-family: "DM Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .68rem;
  color: var(--gold-deep); margin-bottom: 6px;
}
.taps-fallback {
  background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius);
  padding: 26px; margin-top: 24px; color: var(--ink-soft);
}

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #d8d2c4; padding: 56px 0 40px; }
.site-footer a { color: var(--cream); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-grid h3 { color: var(--cream); font-size: 1rem; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #322c22; font-size: .85rem; color: #9a9281; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .section-grid { grid-template-columns: 1fr; gap: 30px; }
  .flow { grid-template-columns: 1fr; }
  .nav .nav-link { display: none; }
  .tap { grid-template-columns: 1fr; gap: 8px; }
  .tap .rsvp { justify-self: start; margin-top: 6px; }
  .hero .wrap { padding: 64px 22px; }
  section { padding: 56px 0; }
}
