/* ============================================================
   Old Deer Athletics — bespoke dark-lodge aesthetic
   Pine charcoal · aged brass · bone cream
   ============================================================ */

:root {
  --pine: #11150f;
  --pine-2: #171c14;
  --pine-3: #1f251b;
  --bone: #ece5d3;
  --bone-dim: #b9b2a0;
  --brass: #c2a15a;
  --brass-bright: #dcbf7e;
  --rule: rgba(194, 161, 90, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  background: var(--pine);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--brass); color: var(--pine); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--bone); }

a { color: var(--brass-bright); text-decoration: none; }
a:hover { color: var(--bone); }

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

/* --- shared section chrome ----------------------------------- */

section { padding: 108px 0; }

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

.kicker::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--rule);
  margin-top: 18px;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.lede {
  max-width: 640px;
  font-size: 19px;
  color: var(--bone-dim);
  margin-bottom: 48px;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* seasonal image is set at load time by the inline script in index.html */
  background: var(--pine) center 30% / cover no-repeat;
  filter: saturate(0.85);
}

.hero-skull {
  display: block;
  position: relative;
  z-index: 0;
  margin: -160px auto 0;
  width: min(96vw, 1000px);
  opacity: 0.38;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.hero-est,
.hero-inner h1 {
  position: relative;
  z-index: 1;
}

.hero-inner h1,
.hero-inner .hero-dues {
  text-shadow: 0 2px 22px rgba(17, 21, 15, 0.85), 0 0 8px rgba(17, 21, 15, 0.6);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,21,15,0.55) 0%, rgba(17,21,15,0.25) 40%, rgba(17,21,15,0.92) 88%, var(--pine) 100%);
}

.hero-inner {
  position: relative;
  margin: auto;
  text-align: center;
  padding: 96px 24px 72px;
}

.antler-mark { width: 96px; height: auto; color: var(--brass); margin: 0 auto 26px; display: block; }

.hero-est {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-dues {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone);
}

.hero-dues strong { color: var(--brass-bright); font-weight: 500; }

.hero-cta {
  display: inline-block;
  margin-top: 44px;
  padding: 15px 44px;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-cta:hover { background: var(--brass); color: var(--pine); }

.hero-scroll {
  position: relative;
  text-align: center;
  padding-bottom: 34px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* --- ethos ---------------------------------------------------- */

.ethos { background: var(--pine); }

.tenets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.tenet { background: var(--pine-2); padding: 44px 36px; }

.tenet .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--brass);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 16px;
}

.tenet h3 { font-size: 26px; margin-bottom: 12px; }

.tenet p { color: var(--bone-dim); font-size: 15.5px; }

/* --- disciplines (start here) --------------------------------- */

.disciplines { background: var(--pine-2); }

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.track {
  background: var(--pine);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.track-photo { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; filter: saturate(0.85); }

.track-body { padding: 40px 36px 44px; display: flex; flex-direction: column; flex: 1; }

.track h3 { font-size: 32px; margin-bottom: 16px; }

.track-body > p { color: var(--bone-dim); font-size: 16px; margin-bottom: 26px; }

.track ul { list-style: none; }

.track li {
  padding: 14px 0;
  border-top: 1px solid rgba(194, 161, 90, 0.16);
  font-size: 15.5px;
  color: var(--bone);
}

.track li strong {
  font-weight: 500;
  color: var(--brass-bright);
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.free-note {
  margin-top: auto;
  padding-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--brass);
}

/* --- the club (social) ---------------------------------------- */

.club { background: var(--pine); text-align: center; }

.club .kicker::after { margin-left: auto; margin-right: auto; }

.club .section-title { margin-bottom: 48px; }

.club .lede { margin-left: auto; margin-right: auto; }

.social-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.social-card {
  border: 1px solid var(--rule);
  background: var(--pine-2);
  padding: 40px 24px 36px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.social-card:hover { border-color: var(--brass); transform: translateY(-3px); color: inherit; }

.social-card svg { width: 30px; height: 30px; margin: 0 auto 16px; display: block; fill: var(--brass); }

.social-card .net {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
  display: block;
  margin-bottom: 6px;
}

.social-card .handle { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--bone-dim); }

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

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 72px 0 56px;
  background: var(--pine);
  text-align: center;
}

.site-footer .antler-mark { width: 64px; }

.footer-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-motto { font-family: var(--serif); font-style: italic; color: var(--bone-dim); margin-bottom: 30px; }

.footer-social { display: flex; justify-content: center; gap: 40px; margin-bottom: 34px; }

.footer-social a {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.footer-fine { max-width: 560px; margin: 0 auto; font-size: 12.5px; color: var(--bone-dim); line-height: 1.8; }

/* --- responsive ------------------------------------------------ */

@media (max-width: 900px) {
  section { padding: 76px 0; }
  .tenets { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .social-row { grid-template-columns: 1fr; max-width: 420px; }
}
