/* RLC Cards: varsity patch look, colors sampled from the logo.
   Change a brand color here and it updates on every page. */

:root {
  --black: #000000;
  --red: #a5232a;
  --red-deep: #7f161b;
  --cream: #e7d3a6;
  --navy: #182848;
  --navy-light: #2b4372;
  --text: #efe6d0;
  --text-muted: #b9ae94;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cream); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: "Graduate", "Rockwell", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--cream);
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; max-width: 62ch; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(40px, 7vw, 84px); }
.section-tight { padding-block: clamp(24px, 4vw, 44px); }

/* Header */

.site-header {
  border-bottom: 2px solid var(--red);
  background: var(--black);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 12px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 6px 2px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
}
.nav a:hover { color: var(--cream); border-bottom-color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--cream); }

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--cream);
  border-radius: 10px;
  font: 700 1rem/1.2 "Libre Franklin", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--cream); color: var(--red-deep); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--cream); color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Stitched patch panels */

.patch {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  background: var(--navy);
  border: 2px solid var(--cream);
  border-radius: var(--radius);
}
.patch::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(231, 211, 166, 0.7);
  border-radius: 9px;
  pointer-events: none;
}
.patch-red { background: var(--red); }
.patch-red h2, .patch-red h3 { color: #fff; }
.patch > :last-child { margin-bottom: 0; }

/* Hero */

.hero { padding-block: clamp(36px, 6vw, 72px); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero-lede { font-size: 1.2rem; color: var(--text); }
.hero-logo img {
  width: 100%;
  height: auto;
}

.page-head { padding-block: clamp(36px, 6vw, 64px) 0; }
.page-head p { font-size: 1.15rem; }

/* Grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Placeholder photos: card-shaped, swap for real images later */

.ph {
  aspect-ratio: 5 / 7;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--navy-light), var(--navy));
  border: 2px solid var(--cream);
  border-radius: 10px;
}
.ph-wide { aspect-ratio: 4 / 3; }

/* Steps (a real sequence, so numbered) */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--red);
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--cream);
  font: 400 1.25rem/1 "Graduate", Georgia, serif;
}
.steps strong { display: block; color: var(--cream); }
.steps span { color: var(--text); }

.checklist { margin: 0; padding-left: 1.2em; }
.checklist li { margin-bottom: 0.5em; }

/* Forms */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; color: var(--cream); }
.hint { font-size: 0.9rem; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0d0d0d;
  color: var(--text);
  border: 1.5px solid var(--cream);
  border-radius: 8px;
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: auto; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }

.hp { position: absolute; left: -9999px; }

.embed-slot {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  border: 2px dashed var(--cream);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
}

.fine-print { font-size: 0.88rem; color: var(--text-muted); max-width: 70ch; }

/* Footer */

.site-footer {
  margin-top: 40px;
  border-top: 2px solid var(--red);
  padding-block: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  justify-content: space-between;
  align-items: center;
}
.site-footer ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer p { margin: 0; }

/* Small screens */

@media (max-width: 860px) {
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 460px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand img { height: 44px; }
  .btn { width: 100%; text-align: center; }
  .nav ul { gap: 2px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Wide patch: text on the left, button on the right */
.patch-wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.patch-wide h3 { margin: 0; }
@media (max-width: 520px) {
  .patch-wide .btn { width: 100%; }
}
