/* Mettle Athletics — shared stylesheet
   Premium minimal: cream + ink, generous whitespace, serif headlines.
*/

:root {
  --bg: #f8f4ec;
  --bg-alt: #f0e9da;
  --ink: #16140f;
  --ink-soft: #5a564d;
  --rule: #d9d0bd;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .6; }

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

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

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 500;
}

.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
  opacity: 1;
}

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

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

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 120px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: 880px;
}

.hero h1 { margin-bottom: 28px; }

.hero .lead { margin-bottom: 44px; }

.hero-meta {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-meta span { display: inline-block; }

/* ---------- Two-column grids ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Pillars (3-up) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 64px;
}

.pillars > div { padding-top: 24px; border-top: 1px solid var(--rule); }
.pillars h3 { margin-bottom: 14px; }
.pillars p { color: var(--ink-soft); font-size: 16px; }

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
}

/* ---------- Long-form prose ---------- */
.prose {
  max-width: 680px;
}
.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.4em;
}
.prose p.muted { color: var(--ink-soft); }

/* ---------- Pull quote ---------- */
.pull {
  margin: 56px 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- Banded section ---------- */
.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.contact-list .value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  line-height: 1.3;
}

.map-frame {
  width: 100%;
  height: 480px;
  border: 1px solid var(--rule);
  filter: grayscale(0.25) contrast(0.95);
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-frame { height: 320px; }
}

/* ---------- CTA strip ---------- */
.cta-strip {
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--rule);
}
.cta-strip h2 { margin-bottom: 28px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9d0bd;
  padding: 80px 0 32px;
  margin-top: 0;
}
.site-footer a { color: #f0e9da; }
.site-footer a:hover { opacity: 0.65; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f8f4ec;
  margin-bottom: 16px;
}
.footer-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a39b87;
  margin-bottom: 12px;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #2a2620;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8472;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
