/* Palette taken from the Ledger template (Squarespace), expressed as HSL */
:root {
  --accent: hsl(61.03, 75.32%, 69.8%);        /* soft yellow  */
  --dark-accent: hsl(19.79, 50%, 36.86%);     /* rust brown   */
  --light-accent: hsl(205.71, 22.58%, 75.69%);/* pale blue    */
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);

  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1400px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.65rem); line-height: 0.9; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 5vw, 3.45rem); line-height: 0.96; letter-spacing: -0.04em; }
h3 { font-size: 1.65rem; line-height: 1.06; letter-spacing: -0.04em; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.site-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.site-nav { display: flex; gap: 14px; flex: 1; }
.site-nav a { font-size: 1.05rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95em 2.4em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn:hover { opacity: 0.8; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) var(--gutter) clamp(64px, 12vw, 160px);
}
.hero h1 { max-width: 14ch; }
.lede { margin-top: 28px; max-width: 46ch; font-size: 1.15rem; }

/* Bands */
.band { padding: clamp(64px, 10vw, 140px) var(--gutter); scroll-margin-top: 24px; }
.band-light { background: var(--light-accent); }
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .story-grid { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
}
.story h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 36ch;
}
.quote {
  margin: 36px 0 0;
  padding: 6px 0 6px 28px;
  border-left: 2px solid var(--black);
  max-width: 40ch;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

/* Contact section (inline form, Ledger-style) */
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  border-top: 1px solid var(--black);
  scroll-margin-top: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.contact-lede { max-width: 44ch; margin-bottom: 40px; }
@media (min-width: 800px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 8vw, 96px) var(--gutter) 40px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-grid h3 { margin-bottom: 14px; }
.footer-grid p { font-size: 0.95rem; }
.site-footer a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.copyright {
  max-width: var(--max);
  margin: 64px auto 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Small screens */
@media (max-width: 640px) {
  .site-header { flex-wrap: wrap; gap: 14px 20px; }
  .site-nav { order: 3; flex-basis: 100%; }
  .site-header .btn { margin-left: auto; }
}

/* Contact form */
.contact-form { display: grid; gap: 28px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.field-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.field-label, legend.field-label { font-size: 1rem; }
legend.field-label { padding: 0; margin: 0 0 2px; }
.sub-label { font-size: 0.85rem; }
.field em { font-style: normal; font-size: 0.8em; opacity: 0.55; margin-left: 0.3em; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--black);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 10px 0;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-width: 2px; padding-bottom: 9px; }
.field-check { grid-template-columns: auto 1fr; align-items: center; gap: 10px; font-size: 0.9rem; }
.field-check input { width: 16px; height: 16px; accent-color: var(--black); margin: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 0.95rem; min-height: 1.3em; }
.form-status.is-error { color: var(--dark-accent); }
.form-done h2 { margin-bottom: 12px; }
