/* ============================================================
   Freestone — Centered Mockup (Gray) + Working Footer
   - Centered hero + copy
   - Graphite headings (NOT black)
   - Bottom nav + footer meta
   - Subtle paper texture overlay
   ============================================================ */

:root {
  --bg: #F7F8F9;
  /* cool off-white */
  --heading: #3A3A3A;
  /* graphite for all headings */
  --text: #1F1F1F;
  /* body text */
  --muted: #5F5F5F;
  /* secondary */
  --rule: #DADADA;
  /* dividers */
  --max: 980px;

  --h1: clamp(44px, 7vw, 86px);
  --h2: 20px;
  --body: 16px;
  --lh: 1.8;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--body);
  line-height: var(--lh);
}

/* Subtle paper texture. Keep opacity very low. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("/assets/paper-texture.jpg");
  background-repeat: repeat;
  background-size: 1200px 1200px;
  opacity: 0.03;
  mix-blend-mode: multiply;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Main content ---------- */
.main {
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 110px 22px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Headings (graphite, not black) ---------- */
.h1 {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: var(--h1);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 26px;
  text-align: center;
}

.section-title {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--heading);
  margin: 0 0 12px;
  text-align: center;
}

/* ---------- Copy ---------- */
.lede {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  color: var(--text);
}

.section {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.p {
  margin: 0 0 14px;
  color: var(--text);
}

.muted {
  color: var(--muted);
}

/* ---------- Divider ---------- */
.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
  max-width: 820px;
  margin: 56px auto 48px;
}

/* ---------- Assets lists ---------- */
.assets-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.asset {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heading);
}

/* 3L grid */
.grid-3l {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}

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

@media (max-width: 520px) {
  .grid-3l {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer (WORKING) ---------- */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Bottom nav centered */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Footer meta line: left/right on wide screens */
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: var(--text);
  text-decoration: none;
}
