/* The First Pint — warm campaign styles */
:root {
  --ink: #1c1410;
  --ink-soft: #3a2e26;
  --cream: #f7f0e4;
  --cream-deep: #ebe1d0;
  --amber: #c47a2a;       /* decorative only: borders, rules, art */
  --amber-deep: #8f5318;  /* text and button fills (AA on cream and with white) */
  --ale: #6b3a14;
  --foam: #fffaf3;
  --line: #d4c4ae;
  --gold: #f0c98a;
  --focus: #1c1410;
  --max: 42rem;
  --wide: 56rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}

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

a {
  color: var(--amber-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ale);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link: hidden until focused */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 10;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Header */
.site-header {
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 1.25rem;
  border-bottom: 4px solid var(--amber);
}

.site-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
}

.site-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin: 0;
}

.site-title a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  color: var(--cream-deep);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--amber);
}

.site-header :focus-visible,
.site-footer :focus-visible,
.chalk :focus-visible {
  outline-color: var(--gold);
}

/* Main column */
main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

main.home {
  padding-top: 1.5rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.45rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--line);
}

main > section,
main > h2 {
  margin-top: 2.5rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 0.35rem;
}

.tagline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--cream-deep);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.pull {
  font-weight: 600;
  font-size: 1.1rem;
  border-left: 4px solid var(--amber);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.signoff {
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 2.5rem;
  text-align: center;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-art {
  justify-self: center;
  max-width: 11rem;
}

.hero-art img {
  display: block;
  width: 100%;
}

@media (min-width: 640px) {
  .hero {
    grid-template-columns: 1fr 12rem;
    gap: 1.5rem;
  }

  .hero-art {
    max-width: none;
    width: 12rem;
  }
}

/* Boxes */
.ask-box,
.cta-box,
.chalk {
  background: var(--foam);
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  padding: 1.25rem 1.25rem 0.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.ask-box h2,
.cta-box h2,
.chalk h2 {
  border: none;
  padding: 0;
}

.chalk {
  background: #2a241c;
  color: var(--cream);
  border: none;
  border-left: 5px solid var(--amber);
  font-family: var(--sans);
  padding-bottom: 0.75rem;
}

.chalk-art {
  display: block;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto 1rem;
}

.chalk-label {
  color: var(--gold);
  font-size: 1.15rem;
}

.chalk-phrase {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Lists */
ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.55rem;
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-deep);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.feature-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.75rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 2px;
  padding: 1rem 1.1rem 0.25rem;
  margin: 0;
}

.card-icon {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.05rem;
  border: none;
  padding: 0;
  margin: 0 0 0.4rem;
}

.feature-card p {
  font-size: 0.95rem;
}

.reading-list {
  list-style: none;
  padding: 0;
}

.reading-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.reading-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
  font-weight: 600;
}

.reading-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-bottom: 0.35rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  background: var(--amber-deep);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border: 2px solid var(--amber-deep);
  border-radius: 3px;
  text-decoration: none;
}

.btn:hover {
  background: var(--ale);
  border-color: var(--ale);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--amber-deep);
}

.btn-ghost:hover {
  background: var(--cream-deep);
  color: var(--ale);
}

/* Contact */
.contact-list {
  margin: 0 0 1rem;
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.75rem;
  min-height: 44px;
  margin: 0;
}

.contact-list dt {
  min-width: 4rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  display: inline-block;
  padding: 0.6rem 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: 2rem 1.25rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
}

@media (min-width: 640px) {
  .site-footer-inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer .fine {
    grid-column: 1 / -1;
  }
}

.site-footer a {
  color: var(--gold);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-block,
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-block li,
.footer-nav li {
  margin: 0;
}

.contact-block li:last-child {
  padding: 0.6rem 0;
}

.contact-block a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.footer-nav a[aria-current="page"] {
  color: #fff;
  text-decoration-thickness: 2px;
}

.site-footer .fine {
  margin: 0.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-soft);
  font-size: 0.85rem;
  color: var(--cream-deep);
}

.site-footer .fine a {
  display: inline-block;
  padding: 0.75rem 0;
  margin: -0.75rem 0;
}

@media (max-width: 560px) {
  html {
    font-size: 100%;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0 0.9rem;
  }
}
