:root {
  --paper: #f6f4ef;
  --ink: #1c1b19;
  --muted: #5e5b55;
  --line: rgba(28, 27, 25, 0.12);
  --shot-edge: rgba(28, 27, 25, 0.14);
  --accent: #3f5bd9;
  --button-ink: #f6f4ef;
  --club: #0e0e0d;
  --club-ink: #ecebe6;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151514;
    --ink: #ecebe6;
    --muted: #a3a09a;
    --line: rgba(236, 235, 230, 0.12);
    --shot-edge: rgba(236, 235, 230, 0.16);
    --accent: #8ea2ff;
    --button-ink: #151514;
    --club: #070707;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 24px;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

p { margin: 0 0 14px; }

figure { margin: 0; }

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.brand { display: inline-block; line-height: 0; }

.brand img { width: 120px; height: auto; }

.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--ink); }

/* Coming soon */

.teaser { padding-block: 16px 40px; }

.teaser img { border-radius: 16px; }

.teaser figcaption {
  margin-top: 12px;
  font-style: italic;
  color: var(--muted);
}

/* Hero */

.hero { padding-block: 48px 72px; }

.hero-text { max-width: 720px; }

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 28px 0 14px;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--button-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
}

.button:hover { background: var(--accent); }

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover { text-decoration: underline; }

.meta { color: var(--muted); font-size: 0.9rem; }

.hero-shot { margin-top: 48px; }

.hero-shot img,
.feature-shot img,
.club-shot img {
  border-radius: 10px;
  border: 1px solid var(--shot-edge);
}

/* Features */

.features { padding-block: 24px; }

.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.feature.flip .feature-text { order: 2; }

.feature-text p { color: var(--muted); }

.feature-shot.narrow { justify-self: center; max-width: 340px; }

/* Back of the Club */

.club {
  background: var(--club);
  color: var(--club-ink);
  margin-block: 48px;
  padding-block: 80px;
}

.club-text { max-width: 640px; margin-bottom: 40px; }

.club-text p { color: #b5b2ab; }

.club-shot img { border-color: rgba(236, 235, 230, 0.14); }

/* Also */

.also { padding-block: 56px; border-top: 1px solid var(--line); }

.also ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 56px;
}

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

.also strong { color: var(--ink); font-weight: 600; }

/* Split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

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

.plain { list-style: none; padding: 0; margin: 0; }

.plain li {
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.plain li:first-child { padding-top: 0; }

/* Community */

.community { padding-block: 56px 72px; border-top: 1px solid var(--line); }

.community p { color: var(--muted); max-width: 640px; }

/* Footer */

.site-footer {
  padding-block: 32px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p { margin: 0 0 6px; max-width: 760px; }

/* Narrow screens */

@media (max-width: 860px) {
  .feature,
  .split { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .also ul { grid-template-columns: 1fr; }
  .hero { padding-block: 24px 48px; }
  .feature { padding-block: 40px; }
  .club { padding-block: 56px; }
}
