/* Mr. Mags — landing page.
   Editorial-minimalist. Full-bleed photo hero. No AI-vibes. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Inter:wght@300;400;500&display=swap");

:root {
  --ink:        #1a1a1a;
  --ink-soft:   #4a4a4a;
  --paper:      #fafaf7;          /* warm off-white, not techy */
  --paper-alt:  #f1ede5;          /* even warmer for alt sections */
  --rule:       rgba(26,26,26,.12);
  --accent:     #8c3a2c;          /* terracotta — quiet, unfashionable, warm */
  --max:        1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  background:
    /* Subtle vignette to keep type legible no matter the photo */
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.25) 100%),
    /* Hero photo — Steve to swap. Until then a warm placeholder gradient. */
    linear-gradient(135deg, #d6c9b3 0%, #b8a382 50%, #8c7558 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero[data-photo="true"] {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.25) 100%),
    url("/images/hero.jpg");
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 56px;
}

.logo {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav a {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: #fff;
  position: relative;
  padding-bottom: 4px;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #fff;
}

.tagline {
  align-self: flex-end;
  padding: 0 56px 40px;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 0.02em;
  opacity: 0.92;
  max-width: 480px;
  text-align: right;
  line-height: 1.5;
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section {
  padding: 110px 56px 110px;
  background: var(--paper);
}

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

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

.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 22px;
  text-transform: uppercase;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 760px;
}

.section p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 0 18px;
  font-weight: 400;
}

.section p em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.05em;
  color: var(--ink);
}

.aside {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 560px;
}

.aside.small { font-size: 13px; }

/* ── Download cards ─────────────────────────────────────────────────── */

.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.dl-card {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 32px 28px;
  border-radius: 4px;
}

.dl-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--ink);
}

.dl-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.dl-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dl-link:hover:not(.disabled) {
  background: var(--ink);
  color: #fff;
}

.dl-link.disabled {
  border-color: var(--rule);
  color: var(--rule);
  cursor: default;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.foot {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 32px 56px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.dot-sep { color: var(--rule); }

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .topbar { padding: 22px 24px; flex-direction: column; gap: 18px; align-items: flex-start; }
  .nav { gap: 22px; flex-wrap: wrap; }
  .tagline { padding: 0 24px 28px; max-width: none; text-align: left; align-self: flex-start; }
  .section { padding: 70px 24px; }
  .downloads { grid-template-columns: 1fr; }
  .foot { padding: 24px; }
}
