/* ==========================================================================
   Salukis Pride — independent fan community site
   Hand-written CSS. No frameworks, no build step.
   ========================================================================== */

:root {
  /* Maroon-and-white inspired palette (unofficial, site-specific) */
  --maroon-900: #3b0c15;
  --maroon-800: #55121f;
  --maroon-700: #6d1726;
  --maroon-600: #8a2033;
  --maroon-100: #f6e7ea;
  --sand-500: #b07a26;
  --sand-300: #e3b65f;
  --ink: #1c1418;
  --body: #4a3e43;
  --muted: #6d6066;
  --cream: #fbf7f5;
  --paper: #ffffff;
  --line: #e7dcd8;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-s: 0 1px 2px rgba(59, 12, 21, 0.08);
  --shadow-m: 0 10px 30px rgba(59, 12, 21, 0.10);

  --font-head: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
  --font-body: "Segoe UI", Candara, Optima, "Trebuchet MS", Tahoma, Geneva, Verdana, sans-serif;

  --wrap: 1120px;
}

/* --------------------------------------------------------------- reset ---- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

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

h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p, ul, ol { margin: 0 0 1.1em; }

a {
  color: var(--maroon-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--maroon-600); }

:focus-visible {
  outline: 3px solid var(--maroon-600);
  outline-offset: 2px;
  border-radius: 3px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ------------------------------------------------------------- utilities -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.wrap--narrow { max-width: 760px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--maroon-900);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease-in;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon-700);
  margin: 0 0 0.75rem;
}
.eyebrow--light { color: var(--sand-300); }

.lede {
  font-size: 1.15rem;
  color: var(--body);
  max-width: 62ch;
}

/* ---------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  color: #fff;
  box-shadow: var(--shadow-s);
}
.btn--primary:hover { color: #fff; background: linear-gradient(135deg, var(--maroon-600), var(--maroon-800)); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn--outline {
  background: var(--paper);
  color: var(--maroon-700);
  border-color: var(--maroon-700);
}
.btn--outline:hover { background: var(--maroon-100); color: var(--maroon-800); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--maroon-700); }

.brand__mark { flex: 0 0 auto; width: 38px; height: 44px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--maroon-800);
  cursor: pointer;
}
.nav-toggle svg { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-s);
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { background: var(--maroon-100); color: var(--maroon-800); }
.site-nav a[aria-current="page"] {
  color: var(--maroon-800);
  box-shadow: inset 0 -3px 0 var(--maroon-700);
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a { padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-bar { flex-wrap: wrap; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

/* ------------------------------------------------------------- notice bar -- */

.notice-bar {
  background: linear-gradient(90deg, var(--maroon-900), var(--maroon-700) 60%, var(--maroon-800));
  color: #f4e7ea;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
.notice-bar strong { color: #fff; }

/* ----------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(227, 182, 95, 0.28), transparent 70%),
    linear-gradient(140deg, var(--maroon-900) 0%, var(--maroon-700) 48%, var(--maroon-800) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.05) 0 14px,
    rgba(255, 255, 255, 0) 14px 42px
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding: clamp(2.75rem, 5vw, 4.75rem) 1.25rem;
}

.hero h1 { color: #fff; }
.hero p { color: #f2e3e6; }
.hero .lede { color: #f6eaec; }

.hero__panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-l);
  padding: 1.5rem;
  backdrop-filter: blur(2px);
}
.hero__panel h2 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.hero__panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.hero__panel li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #f6eaec;
}
.hero__panel svg { flex: 0 0 auto; margin-top: 2px; color: var(--sand-300); }

.crest {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1.25rem;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- sections -- */

.section { padding: clamp(2.5rem, 4.5vw, 4.25rem) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, var(--maroon-100), var(--cream)); }

.section--dark {
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(227, 182, 95, 0.20), transparent 70%),
    linear-gradient(160deg, var(--maroon-800), var(--maroon-900));
  color: #f3e6e9;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark a { color: var(--sand-300); }

.section__head { max-width: 68ch; margin-bottom: 2rem; }

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

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.4rem;
  box-shadow: var(--shadow-s);
}
.card h3 { margin-bottom: 0.45rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card--dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--maroon-600), var(--maroon-900));
}
.icon-badge--sand {
  background: linear-gradient(135deg, var(--sand-500), var(--maroon-800));
}
.card--dark .icon-badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--sand-300);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--maroon-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

/* ------------------------------------------------------------- checklist -- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.checklist svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--maroon-700);
}
.section--dark .checklist svg { color: var(--sand-300); }

/* --------------------------------------------------------------- split ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.art-panel {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 70% 20%, rgba(227, 182, 95, 0.35), transparent 70%),
    linear-gradient(145deg, var(--maroon-700), var(--maroon-900));
  box-shadow: var(--shadow-m);
  display: grid;
  place-items: center;
  padding: 1.75rem;
}
.art-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0 10px,
    rgba(255, 255, 255, 0) 10px 30px
  );
}
.art-panel svg { position: relative; width: 100%; max-width: 230px; }

/* ----------------------------------------------------------------- faq ---- */

.faq { display: grid; gap: 0.75rem; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--maroon-700);
  border-bottom: 2px solid var(--maroon-700);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { color: var(--maroon-800); }
.faq .faq__body { padding: 0 1.25rem 1.15rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- forms --- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-m);
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field .hint {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9bcb7;
  border-radius: var(--radius-s);
  padding: 0.7rem 0.8rem;
}
textarea { min-height: 150px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: var(--maroon-700);
  outline: 3px solid rgba(109, 23, 38, 0.25);
  outline-offset: 0;
}

.field--check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.field--check input { margin-top: 0.3rem; flex: 0 0 auto; }
.field--check label { font-weight: 400; font-family: var(--font-body); margin: 0; }

.error-text {
  display: block;
  min-height: 0;
  color: #99101f;
  font-size: 0.87rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #99101f; background: #fff7f7; }

.form-status {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--maroon-100);
  font-size: 0.95rem;
}
.form-status[hidden] { display: none; }

.demo-note {
  border-left: 4px solid var(--maroon-700);
  background: var(--maroon-100);
  padding: 0.9rem 1.1rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.demo-note strong { color: var(--maroon-900); }

/* newsletter block */
.newsletter {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }

.newsletter .form-card { background: rgba(255, 255, 255, 0.96); }
.newsletter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-row .field { flex: 1 1 220px; margin-bottom: 0; }

/* ----------------------------------------------------------------- misc --- */

.stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 620px) { .stat-list { grid-template-columns: 1fr; } }

.stat-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-m);
  padding: 1.1rem;
}
.stat-list b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--maroon-100);
  color: var(--maroon-800);
  border: 1px solid #e3cdd2;
  font-size: 0.87rem;
  font-weight: 600;
}

.page-head {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(227, 182, 95, 0.22), transparent 70%),
    linear-gradient(135deg, var(--maroon-900), var(--maroon-700));
  color: #fff;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: 0.4rem; }
.page-head p { color: #f3e3e6; max-width: 62ch; margin: 0; }

.breadcrumb {
  font-size: 0.85rem;
  color: #e9d2d7;
  margin: 0 0 0.75rem;
}
.breadcrumb a { color: #fff; }

.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------- footer --- */

.site-footer {
  background: var(--maroon-900);
  color: #e8d7db;
  padding: 2.75rem 0 1.5rem;
  font-size: 0.95rem;
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.site-footer a { color: #f6e6ea; }
.site-footer a:hover { color: var(--sand-300); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }

.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.footer-brand svg { width: 34px; height: 40px; }
.footer-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.87rem;
  color: #dcc6cb;
}
.disclaimer p { margin: 0 0 0.5rem; }
.disclaimer p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .notice-bar, .btn-row { display: none; }
  body { background: #fff; color: #000; }
}
