:root {
  --paper: #f7f0e4;
  --paper-deep: #efe3cf;
  --ink: #241f1a;
  --muted: #746757;
  --rule: #d8c7ad;
  --accent: #8c4b32;
  --accent-dark: #5f3528;
  --white: #fffaf1;
  --shadow: rgba(36, 31, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(140, 75, 50, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(247, 240, 228, 0.96)),
    var(--paper);
  margin: 0;
  min-height: 100vh;
}

body::before {
  background-image:
    linear-gradient(rgba(36, 31, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 31, 26, 0.018) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  margin: 0 auto;
  max-width: 1160px;
  width: min(calc(100% - 40px), 1160px);
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  z-index: 1;
}

.brand,
.top-nav {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.brand,
.top-nav a,
.text-link,
.site-footer a {
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  border: 1px solid var(--accent);
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.top-nav {
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.52fr);
  min-height: calc(100vh - 72px);
  padding: clamp(2.5rem, 7vw, 6rem) 0;
}

.hero-copy {
  max-width: 650px;
}

.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.7rem);
  line-height: 0.94;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

p {
  margin: 0;
}

.lead {
  border-left: 4px solid var(--accent);
  color: #3a2e24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.42;
  padding-left: 1.1rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}

.button {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 46px;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
}

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

.text-link {
  border-bottom: 1px solid var(--rule);
  color: var(--accent);
  font-weight: 700;
  padding-bottom: 0.15rem;
}

.hero-image {
  justify-self: center;
  margin: 0;
  max-width: 360px;
  position: relative;
  width: min(100%, 28vw);
}

.hero-image img {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  box-shadow: 0 20px 50px var(--shadow);
  display: block;
  height: auto;
  width: 100%;
}

.intro-band {
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

blockquote {
  color: var(--accent);
  font-size: clamp(1.7rem, 4vw, 3.35rem);
  line-height: 1.08;
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.content-section {
  padding: clamp(2.6rem, 6vw, 4.8rem) 0;
}

.section-heading {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.6rem;
  padding-bottom: 1.25rem;
}

.feature-grid,
.issue-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article,
.issue-list article {
  background: rgba(255, 250, 241, 0.52);
  border: 1px solid var(--rule);
  min-height: 220px;
  padding: 1.4rem;
}

.number,
.issue-no {
  color: var(--accent);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 0 1.4rem;
}

.feature-grid p,
.issue-list p,
.subscribe-section p {
  color: var(--muted);
}

.issue-section {
  padding-top: clamp(1.4rem, 4vw, 3rem);
}

.subscribe-section {
  align-items: start;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--accent);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 420px);
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.subscribe-section h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.signup-form {
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.signup-form .ml-embedded,
.signup-form iframe,
.signup-form form {
  max-width: 100%;
  width: 100%;
}

.signup-form iframe {
  border: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 1.5rem 0 2.2rem;
}

@media (max-width: 900px) {
  .hero,
  .subscribe-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    max-width: 320px;
    width: 72vw;
  }

  .feature-grid,
  .issue-list {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .issue-list article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 28px), 1160px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-image {
    max-width: 280px;
    width: 76vw;
  }

  .lead {
    padding-left: 0.85rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signup-form input,
  .signup-form select,
  .signup-form textarea,
  .signup-form button {
    max-width: 100%;
    width: 100%;
  }
}
