/* Bluestem Acquisitions — site styles */
:root {
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --ink: #1b1f1b;
  --ink-soft: #4d564d;
  --sage: #3c5a48;
  --sage-deep: #24362c;
  --gold: #a9844d;
  --rule: rgba(27, 31, 27, 0.14);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Times New Roman", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 480px at 6% -12%, rgba(60, 90, 72, 0.1), transparent 55%),
    radial-gradient(800px 400px at 100% 0%, rgba(169, 132, 77, 0.07), transparent 50%);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(60, 90, 72, 0.45);
}

a:hover {
  color: var(--sage-deep);
  text-decoration-color: var(--sage-deep);
}

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

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); text-decoration: none; }

.mark {
  width: 2rem;
  height: 2rem;
  color: var(--sage-deep);
  flex-shrink: 0;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
}

.brand-name span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { text-decoration: underline; }

nav a[aria-current="page"] {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.28em;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
}

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: color-mix(in srgb, var(--paper-2) 65%, transparent); }
.section + .section { border-top: 1px solid var(--rule); }

.grid {
  display: grid;
  gap: 1.5rem 3rem;
}

@media (min-width: 720px) {
  .grid { grid-template-columns: minmax(12rem, 0.8fr) 1.4fr; }
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { margin: 1.6rem 0 0.5rem; font-size: 1.35rem; }

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.steps li {
  padding: 1rem 1.1rem 1.05rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
}

.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact-block {
  display: grid;
  gap: 1.25rem;
}

.contact-block a { font-weight: 600; }

address {
  font-style: normal;
  margin: 0;
}

.page-header {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

.legal {
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
  max-width: 46rem;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.55rem;
}

.legal h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.2rem;
}

.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin: 0.35rem 0; }
.updated { color: var(--ink-soft); font-size: 0.95rem; }

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 2.25rem;
  background: var(--sage-deep);
  color: #e8e2d4;
}

.site-footer a { color: #e8e2d4; text-decoration-color: rgba(232, 226, 212, 0.4); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-start;
}

.footer-legal {
  margin: 0;
  max-width: 38rem;
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.15rem;
  background: var(--sage-deep);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

@media (max-width: 640px) {
  nav ul { gap: 0.3rem 0.9rem; }
  .header-inner { align-items: flex-start; }
}
