/* ========================================
   Beerock — Warm Editorial Design System
   ======================================== */

:root {
  --bg: #FAF9F7;
  --text: #2C2420;
  --accent: #B86B4A;
  --muted: #9A8B80;
  --button-bg: #2C2420;
  --button-text: #FAF9F7;
  --border: rgba(154, 139, 128, 0.2);
  --cta-bg: rgba(184, 107, 74, 0.06);
}

/* ========================================
   Base Reset & Foundation
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

::selection {
  background: var(--accent);
  color: var(--button-text);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 5.5vw, 56px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(23px, 3vw, 26px);
  font-style: italic;
}

h3 {
  font-size: clamp(19px, 2.2vw, 21px);
  font-weight: 500;
}

p {
  font-weight: 300;
}

/* ========================================
   Layout
   ======================================== */

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 48px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.wordmark:hover {
  color: var(--accent);
}

/* ========================================
   Buttons
   ======================================== */

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-filled {
  display: inline-block;
  padding: 16px 36px;
  background: var(--button-bg);
  color: var(--button-text);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}

.btn-filled:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content .subhead {
  font-size: clamp(19px, 2.5vw, 22px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-content .credibility {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
}

.hero-photo img {
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
}

/* ========================================
   Logos Section
   ======================================== */

.logos {
  padding: 64px 0;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.logo-row span {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ========================================
   Where I Help Section
   ======================================== */

.problems {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.problem h2 {
  margin-bottom: 12px;
  color: var(--text);
}

.problem p {
  font-size: 16px;
  line-height: 1.7;
}

/* ========================================
   Why Me Section
   ======================================== */

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 64px;
  max-width: 700px;
}

.proof-point h3 {
  margin-bottom: 8px;
}

.proof-point p {
  font-size: 16px;
  line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
  background: var(--cta-bg);
  margin: 0 -48px;
  padding: 80px 48px;
  text-align: center;
  border-bottom: none;
}

.cta h2 {
  font-size: clamp(32px, 4.5vw, 40px);
  font-style: normal;
  margin-bottom: 16px;
}

.cta > p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto 32px;
}

.cta-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cta-links a:hover {
  color: var(--text);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

/* ========================================
   Responsive — Tablet (768px - 1023px)
   ======================================== */

@media (max-width: 1023px) {
  main {
    padding: 0 32px;
  }

  .nav {
    padding: 24px 32px;
  }

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

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    max-width: 240px;
    margin: 0 auto;
  }

  .cta {
    margin: 0 -32px;
    padding: 80px 32px;
  }

  .footer {
    padding: 24px 32px;
  }
}

/* ========================================
   Responsive — Mobile (<768px)
   ======================================== */

@media (max-width: 767px) {
  main {
    padding: 0 24px;
  }

  .nav {
    padding: 20px 24px;
  }

  section {
    padding: 60px 0;
  }

  h1 {
    font-size: clamp(36px, 9vw, 42px);
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .hero-content .subhead {
    font-size: 17px;
  }

  .hero-content .credibility {
    font-size: 14px;
  }

  .hero-photo img {
    max-width: 200px;
    margin: 0 auto;
  }

  .logo-row {
    gap: 24px 32px;
  }

  .problems {
    gap: 32px;
  }

  .problem h2 {
    font-size: 21px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta {
    margin: 0 -24px;
    padding: 60px 24px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .footer {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
