/* ============================================
   Hire a Raider — styles.css
   ============================================ */

:root {
  --maroon: #5C1A24;
  --maroon-dark: #441219;
  --white: #FFFFFF;
  --offwhite: #FAF7F5;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --border: #ECE6E2;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1160px;
  --container-narrow: 760px;

  --radius: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 24px rgba(92, 26, 36, 0.08);
  --shadow-lift: 0 10px 28px rgba(92, 26, 36, 0.18);
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0; }

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 96px 0;
  background: var(--white);
}

.section--alt {
  background: var(--offwhite);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.section__subhead {
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: -32px auto 48px;
}

.note {
  text-align: center;
  font-style: italic;
  color: var(--maroon);
  margin-top: 36px;
  font-size: 1rem;
}

.prose {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 20px;
}

.prose:last-of-type {
  margin-bottom: 0;
}

.kicker {
  text-align: center;
  font-style: italic;
  color: var(--maroon);
  font-size: 0.95rem;
  margin-top: 36px;
  letter-spacing: 0.02em;
}

.contact-line {
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: -28px auto 40px;
}

.contact-line a {
  color: var(--maroon);
  text-decoration: none;
  font-weight: 500;
}

.contact-line a:hover {
  text-decoration: underline;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}

.btn--primary {
  background-color: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--maroon-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__logo { display: inline-flex; align-items: center; text-decoration: none; }

.wordmark { height: 36px; width: auto; }

.nav__cta { white-space: nowrap; }

/* ---------- Hero ---------- */

.hero {
  background: var(--white);
  padding: 120px 0 112px;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  text-align: center;
  max-width: 860px;
}

.hero__headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 24px;
  line-height: 1;
}

.hero__subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
}

.card__sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  display: block;
  margin-top: 4px;
}

.card__body {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- Sports pills ---------- */

.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  background: var(--white);
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.section--alt .pill {
  background: var(--offwhite);
}

.pill:hover {
  background: var(--maroon);
  color: var(--white);
}

/* ---------- Why grid ---------- */

.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.why__title {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.why__body {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- Founder ---------- */

.founder__body {
  text-align: center;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

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

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

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

.footer__copy,
.footer__email {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer__email {
  text-decoration: none;
  font-weight: 500;
}

.footer__email:hover {
  color: var(--maroon);
}

/* ---------- Form ---------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form__field {
  display: flex;
  flex-direction: column;
}

.form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.01em;
}

.form__optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.form__input {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: #B5ADA9;
}

.form__input:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(92, 26, 36, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--sans);
}

.form__input--other {
  margin-top: 12px;
}

.form__checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.form__checks--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}

.form__check input[type="checkbox"],
.form__check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--maroon);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.form__avail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__avail-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 12px;
}

.form__avail-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form__submit {
  margin-top: 12px;
  width: 100%;
  cursor: pointer;
  font-family: var(--sans);
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form__legal {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Honeypot: hidden visually, still in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Status messages */
.form-status {
  background: var(--white);
  border: 1.5px solid var(--maroon);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.form-status--error {
  border-color: #C44A4A;
}

.form-status h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 12px;
}

.form-status--error h3 {
  color: #A03333;
}

.form-status p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

.form-status a {
  color: var(--maroon);
  font-weight: 600;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .why { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }

  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }

  .section__title { margin-bottom: 32px; }
  .section__subhead { margin: -16px auto 32px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }

  .nav__inner { padding: 12px 20px; }
  .wordmark { height: 28px; }
  .nav__cta { padding: 10px 16px; font-size: 0.92rem; }

  .container { padding: 0 20px; }

  .form { padding: 24px 20px; gap: 18px; }
  .form__row { grid-template-columns: 1fr; gap: 18px; }
  .form__checks { grid-template-columns: 1fr; }
  .form__avail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .form__avail-label { font-size: 0.85rem; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .wordmark { height: 24px; }
}
