:root {
  --ink: #f3ead6;
  --muted: #c9b896;
  --paper: #1a140f;
  --wood: #2a1d14;
  --panel: #241910;
  --gold: #d4a017;
  --gold-dark: #9a7410;
  --green: #2f5a2a;
  --green-bright: #4a8a3a;
  --line: rgba(212, 160, 23, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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


.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #120e0a;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 1.1rem;
}

.brand-mark {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  white-space:nowrap;
}

.counter-bar {
  position: static;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: right;
  flex: 1;
}
.counter-bar {
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(transparent, rgba(18, 12, 8, 0.92) 45%, #120c08);
  padding: 8rem 1.4rem 4.5rem;
  max-width: 42rem;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

h1, h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(3.2rem, 10vw, 6.2rem); line-height: 0.9; }

h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.7rem; color: var(--gold); }

.lede {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-style: italic;
  color: var(--ink);
  margin: 0.9rem 0 1.4rem;
  max-width: 28rem;
}

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.3rem;
  font-size: 1rem;
}

.btn-gold {
  background: var(--gold);
  color: #1a1208;
}

.btn-gold:hover { background: #e8b52a; }

main section {
  padding: 3.4rem 1.4rem;
  max-width: 68rem;
  margin: 0 auto;
}

.rules {
  background: var(--wood);
  max-width: none;
  padding-left: max(1.4rem, calc(50vw - 22rem));
  padding-right: max(1.4rem, calc(50vw - 22rem));
}

.intro {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.rules ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.rules li {
  border-left: 3px solid var(--gold);
  padding: 0.55rem 0 0.55rem 0.9rem;
  font-size: 1.12rem;
}

.fineprint {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meet {
  display: grid;
  gap: 1.8rem;
}

.meet p { margin-bottom: 0.85rem; color: #efe4cc; }

.meet figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.meet figcaption {
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.cert-row {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  background: var(--panel);
  max-width: none;
  padding-left: max(1.4rem, calc(50vw - 34rem));
  padding-right: max(1.4rem, calc(50vw - 34rem));
}

.cert {
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.sample blockquote {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.45;
  border-left: 3px solid var(--green-bright);
  padding-left: 1rem;
  margin: 1rem 0;
}

.sample blockquote footer {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  font-family: "Source Sans 3", sans-serif;
}

.sample-note { color: var(--muted); }

.form-wrap {
  background: #16110c;
  max-width: none;
  padding-left: max(1.4rem, calc(50vw - 22rem));
  padding-right: max(1.4rem, calc(50vw - 22rem));
}

form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

input, textarea {
  font: inherit;
  background: #0e0b08;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.75rem 0.8rem;
  width: 100%;
}

input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

textarea { resize: vertical; min-height: 9rem; }

.site-foot {
  text-align: center;
  padding: 2.4rem 1.4rem 3rem;
  border-top: 1px solid var(--line);
  background: #100c09;
}

.site-foot p:first-child {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 1.08rem;
}

.tiny {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.thanks {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.86);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 1.2rem;
}

.thanks[hidden] { display: none; }

.thanks-card {
  background: var(--wood);
  border: 1px solid var(--gold);
  padding: 2rem 1.6rem;
  max-width: 28rem;
  text-align: center;
}

.thanks-card h2 { color: var(--ink); margin: 0.3rem 0 0.6rem; }

@media (min-width: 820px) {
  .meet {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
  }
  .cert-row {
    grid-template-columns: 240px 1fr;
  }
  .cert { margin: 0; }
}


.hero-subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(18,12,8,0.92), rgba(42,24,68,0.88), rgba(18,12,8,0.92));
  border-top: 1px solid var(--line);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero-subtitle span {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
}
