/* R.S. Marsch — site styles */
:root {
  --mist: #E6E9E5;
  --forest: #1E2B24;
  --moss: #4A5A3A;
  --cream: #EFE6D6;
  --paper: #FBF7EF;
  --leather: #7A4E2D;
  --leather-dark: #4E3019;
  --amber: #D6A86A;
  --text-soft: #3D4B43;
  --text-on-dark: #E9E4D8;
  --text-on-dark-soft: #B9BFB4;
  --display: "IM Fell English", Georgia, "Times New Roman", serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--forest);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

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

a { color: var(--leather); }
a:hover { color: var(--leather-dark); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--leather);
  outline-offset: 3px;
}

h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 24px; padding-bottom: 24px;
}
.brand { font-family: var(--display); font-size: 28px; color: var(--forest); text-decoration: none; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 10px 0; }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 56px; padding-bottom: 104px;
}
.hero-text { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.02; }
.lead { font-size: 20px; max-width: 32rem; color: var(--text-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.hero-image { flex: 1 1 380px; min-width: 0; }
.hero-image img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 40%;
  border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(30, 43, 36, 0.55);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px;
  border-radius: 4px; font-weight: 700; text-decoration: none;
}
.btn-solid { background: var(--moss); color: #F4EFE4; }
.btn-solid:hover { background: var(--forest); color: #F4EFE4; }
.btn-outline { border: 1.5px solid var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #F4EFE4; }

/* Now writing */
.band-dark { background: var(--forest); color: var(--text-on-dark); }
.split { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 104px; padding-bottom: 104px; }
.split-head { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.kicker { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--amber); }
.split-head h2 { font-size: 46px; line-height: 1.1; color: #F4EFE4; }
.split-body { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; font-size: 19px; }
.quiet { color: var(--text-on-dark-soft); }

/* About */
.about {
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
  padding-top: 104px; padding-bottom: 104px;
}
.about-image { flex: 1 1 340px; min-width: 0; }
.about-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; border-radius: 4px; }
.about-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text h2 { font-size: 46px; line-height: 1.1; }
.about-text p { color: var(--text-soft); }

/* Letters */
.band-paper { background: var(--cream); border-top: 1px solid #D5C9B2; }
.letters {
  max-width: 640px; margin: 0 auto; padding: 96px 24px;
  display: flex; flex-direction: column; gap: 20px; text-align: center;
}
.letters h2 { font-size: 44px; line-height: 1.1; }
.letters p { color: #4A4338; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; text-align: left; }
.signup label { flex: 999 1 280px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.signup input {
  min-height: 50px; padding: 0 14px; border: 1.5px solid #8C7D63; border-radius: 4px;
  font: inherit; font-weight: 400; background: var(--paper); color: var(--forest);
}
.signup button {
  flex: 1 1 140px; align-self: flex-end; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 4px; background: var(--moss); color: #F4EFE4;
  font: inherit; font-weight: 700; cursor: pointer;
}
.signup button:hover { background: var(--forest); }
.signup button:disabled { opacity: 0.7; cursor: wait; }
.signup-status { margin: 0; font-weight: 700; }
.signup-status:empty { display: none; }
.signup-status.is-success { color: var(--moss); font-family: var(--display); font-weight: 400; font-size: 22px; }
.signup-status.is-error { color: #9A3412; }

/* Footer */
.site-footer { background: var(--forest); color: var(--text-on-dark-soft); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 15px;
}
.footer-row a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--text-on-dark); text-decoration: none; font-weight: 500;
}
.footer-row a:hover { color: #FFFFFF; }
