/* ============================================================
   RGT — site stylesheet
   Bright, high-contrast, image-forward. Mobile-first.
   Brand signatures: orange accent #FF6B00, black/white type
   hierarchy, Arial / Helvetica Neue headings, the "RGT." dot.
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f5f5f2;      /* light alternating surface */
  --ink: #0a0a0a;        /* near-black type + dark blocks */
  --muted: #5c5c5c;
  --line: #e4e4e0;
  --accent: #ff6b00;
  --accent-press: #e05f00;

  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --max: 1160px;
  --pad: 20px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Type scale ---------- */

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  text-transform: uppercase;
}

h2, .h2 { font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
h3, .h3 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); line-height: 1.15; }

/* The signature: the RGT. full stop carried into headlines */
.dot { color: var(--accent); }
.on-dark .dot, .band-ink .dot { color: var(--accent); }

.lede {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.55;
  max-width: 46ch;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.band-ink .kicker { color: var(--accent); }

p { margin: 0 0 1em; }
.max-copy { max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Bands (colour blocking) ---------- */

.band { padding: clamp(56px, 9vw, 110px) 0; }
.band-paper { background: var(--paper); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink .muted { color: #b9b9b9; }
.band-accent { background: var(--accent); color: var(--ink); }
.band-tight { padding: clamp(36px, 6vw, 64px) 0; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }

.nav-toggle {
  appearance: none;
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font: 700 0.85rem var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  padding: 8px 0 16px;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0 var(--pad); }
.site-nav a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--accent); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .site-nav ul { display: flex; gap: 26px; padding: 0; }
  .site-nav a { border: 0; padding: 6px 0; font-size: 0.95rem; }
}

/* ---------- Buttons / CTA components ---------- */

.btn {
  display: inline-block;
  font: 700 1rem var(--font);
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 15px 28px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: #000; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-press); border-color: var(--accent-press); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.band-ink .btn-ghost { color: var(--white); border-color: var(--white); }
.band-ink .btn-ghost:hover { background: var(--white); color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Tiles (Instagram-carousel style grids) ---------- */

.tile-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
@media (min-width: 720px) { .tile-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .tile-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.tile {
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile .kicker { margin-bottom: 4px; }
.tile p { margin: 0; }

.tile-ink { background: var(--ink); color: var(--white); }
.tile-ink p { color: #cfcfcf; }

.tile-line { background: var(--white); border: 2px solid var(--ink); }
.band-paper .tile-line { background: var(--white); }

.tile-accent { background: var(--accent); color: var(--ink); }
.tile-accent .kicker { color: var(--ink); }

/* tile on a black band */
.tile-onink { background: #131313; border: 2px solid #ffffff; color: var(--white); }
.tile-onink p { color: #cfcfcf; }

/* ---------- Stat strip ---------- */

.stat-strip { display: grid; gap: 22px; }
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(3, 1fr); } }
.stat b {
  display: block;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Photography slots ----------
   Replace each .photo with a real <img>. Until then it renders as
   the orange-backlight silhouette treatment — one bold accent
   moment per page, not the dominant tone.                         */

.photo {
  border-radius: var(--radius);
  min-height: 320px;
  background:
    radial-gradient(120% 90% at 50% 105%, rgba(255,107,0,0.85) 0%, rgba(255,107,0,0.25) 38%, rgba(10,10,10,0) 62%),
    #0a0a0a;
  position: relative;
  overflow: hidden;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(45% 55% at 50% 78%, rgba(0,0,0,0.9), rgba(0,0,0,0) 70%);
}
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-tall { min-height: 440px; }

/* ---------- Split layouts ---------- */

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- Checklist / feature lists ---------- */

.list-bold { list-style: none; margin: 20px 0 0; padding: 0; }
.list-bold li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-weight: 500;
}
.band-ink .list-bold li { border-color: #2a2a2a; }
.list-bold li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  margin-top: 34px;
}
.band-ink .form-card { border-color: var(--white); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }

input[type="text"], input[type="email"], input[type="url"],
select, textarea {
  width: 100%;
  font: 400 1rem var(--font);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 13px 14px;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }

.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.form-success {
  display: none;
  border: 2px solid var(--accent);
  background: #fff4ec;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 26px;
  font-weight: 500;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  border: 2px solid #c0322b;
  background: #fdf0ef;
  color: #8a231e;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.form-error.show { display: block; }

/* ---------- Guide cards (Resources hub) ---------- */

.guide-card {
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Event card (Community) ---------- */

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: grid;
}
@media (min-width: 880px) { .event-card { grid-template-columns: 1.1fr 1fr; } }
.event-card .photo { border-radius: 0; min-height: 260px; }
.event-body { padding: clamp(24px, 4vw, 44px); }
.event-body p { color: #cfcfcf; }
.event-meta { font-weight: 700; color: var(--white); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b9b9b9;
  padding: 56px 0 40px;
}
.site-footer .brand img { height: 26px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: start; }
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--accent); }
.legal { font-size: 0.82rem; }
.legal a { color: #b9b9b9; }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.center .lede, .center .max-copy { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }
.mt-0 { margin-top: 0; }
.stack-gap > * + * { margin-top: 18px; }
