/* Scholar Daddies — site styles */
:root {
  --cream: #F7EEDB;
  --cream-2: #EFE2C4;
  --line: #E4D6B8;
  --ink: #2A1F14;
  --ink-2: #3A2C1E;
  --body: #4A3B2C;
  --mustard: #E8B64C;
  --mustard-dark: #8A5A12;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 8vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--mustard-dark); }
a:hover { color: #5E3C0A; }
h1, h2 { font-family: var(--display); font-weight: 900; margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn { display: inline-block; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; color: var(--cream); }
.btn-outline { color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 21px; letter-spacing: 0.5px; }
.nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .btn { padding: 11px 20px; font-size: 15px; color: var(--cream); }

/* Hero */
.hero .wrap { display: flex; align-items: center; gap: 80px; padding-top: 96px; padding-bottom: 112px; }
.hero-text { display: flex; flex-direction: column; gap: 28px; flex: 1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--mustard-dark); }
.hero h1 { font-size: clamp(42px, 5.2vw, 72px); letter-spacing: -1px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--body); max-width: 620px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark { width: clamp(220px, 32vw, 440px); flex-shrink: 0; }

/* Section heads */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(40px, 4vw, 56px); }
.section-head p { font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Hosts */
.hosts { background: var(--ink); color: var(--cream); }
.hosts h2 { color: var(--mustard); }
.hosts .section-head p { color: var(--line); }
.host { padding: 28px; border-radius: 20px; background: var(--ink-2); display: flex; gap: 20px; align-items: flex-start; }
.host svg { width: 56px; height: 56px; flex-shrink: 0; }
.host-name { font-family: var(--display); font-weight: 600; font-size: 24px; }
.host-role { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mustard); margin: 4px 0 6px; }
.host-bio { color: var(--line); }

/* Episodes */
.episodes .section-head p { color: var(--body); }
.episode { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.episode-num { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--mustard-dark); }
.episode h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.15; }
.episode p { color: var(--body); }

/* Shop */
.shop { background: var(--cream-2); }
.shop .section-head a { font-size: 18px; font-weight: 700; }
.product { display: flex; flex-direction: column; gap: 14px; }
.product-img { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--mustard); display: flex; align-items: center; justify-content: center; }
.product-img img { width: 45%; }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-name { font-family: var(--display); font-weight: 600; font-size: 24px; }
.product-price { font-weight: 700; color: var(--body); }

/* Signup */
.signup { background: var(--ink); color: var(--cream); }
.signup .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px 80px; padding-top: 104px; padding-bottom: 104px; flex-wrap: wrap; }
.signup-text { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.signup h2 { font-size: clamp(36px, 3.8vw, 52px); color: var(--mustard); }
.signup-text p { font-size: 19px; color: var(--line); }
.signup form { display: flex; flex-direction: column; gap: 10px; width: min(520px, 100%); }
.signup label { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--line); }
.field-row { display: flex; gap: 12px; }
.field-row input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); font: inherit; font-size: 17px; }
.field-row button { height: 56px; padding: 0 28px; border-radius: 999px; border: none; background: var(--mustard); color: var(--ink); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.field-row button:hover { background: #F2C766; }
.form-note { font-size: 15px; color: var(--mustard); min-height: 1.5em; }

/* Footer */
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; font-size: 15px; color: var(--body); }
.footer-brand { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--ink); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

:focus-visible { outline: 3px solid var(--mustard-dark); outline-offset: 3px; }

/* Tablet */
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { gap: 48px; }
}

/* Phone */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .brand span { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .hero .wrap { flex-direction: column; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; gap: 32px; }
  .hero-mark { width: 120px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .signup .wrap { padding-top: 72px; padding-bottom: 72px; }
}
