/* Bieldside Press — v1 preview
   Palette is locked: charcoal #171819, cream #FFFFF7, rust #C43F26.
   Typeface is a system serif stack: no webfont request, no build step. */

:root {
  --charcoal: #171819;
  --cream: #FFFFF7;
  --rust: #C43F26;
  --rule: #D8D6C8;
  --measure: 34rem;
  --gutter: 1.5rem;
  --step: clamp(2.5rem, 7vw, 5.5rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.75rem 1rem;
}
.skip:focus { left: 0; z-index: 10; }

/* ---------- header ---------- */

/* bottom rule stays full-width; contents sit in the hero's centred 68rem measure */
.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem var(--gutter);
  max-width: 68rem;
  margin-inline: auto;
  padding: 1.25rem var(--gutter);
}

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

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--rust); }

/* ---------- brand lockup (approved mark + wordmark) ---------- */

.brand__mark { height: 1.5rem; width: auto; }
.brand__wordmark { height: 1.25rem; width: auto; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  gap: var(--step);
  padding: var(--step) var(--gutter);
  max-width: 68rem;
  margin: 0 auto;
}

/* shadow lifts the cover off the cream page without adding a frame */
.cover {
  width: 100%;
  box-shadow: 0 1px 2px rgba(23, 24, 25, 0.14), 0 14px 34px -18px rgba(23, 24, 25, 0.5);
}

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.25rem, 9vw, 4rem);
  line-height: 1.05;
  font-weight: 400;
}

.subtitle {
  font-size: clamp(1.0625rem, 3.4vw, 1.375rem);
  margin-top: 0.75rem;
  max-width: 24ch;
}

.tagline {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  font-style: italic;
  font-size: 1.25rem;
}

.byline { margin-top: 1.75rem; }

.cta { margin-top: 2rem; }

.button {
  display: inline-block;
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  letter-spacing: 0.06em;
  transition: background-color 160ms ease;
}
.button:hover { background: var(--rust); }

/* ---------- sections ---------- */

.section {
  padding: var(--step) var(--gutter);
}
.section > * { max-width: var(--measure); margin-inline: auto; }

.section--tint {
  background: #F2F0E4;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.prose p + p { margin-top: 1.1rem; }

.links { display: grid; gap: 0.6rem; }
.links a { font-size: 1.125rem; }

/* ---------- footer ---------- */

.site-footer {
  padding: var(--step) var(--gutter);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 1.25rem;
  max-width: 68rem;
  margin: 0 auto;
}

.footer__brand { display: flex; align-items: center; gap: 0.7rem; }

.copyright { font-size: 0.9375rem; }

.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.9375rem; }

/* ---------- wider screens ---------- */

@media (min-width: 48rem) {
  .hero { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
