/* Realm4 Media. Plain CSS, no build step. */

:root {
  --sand: #f6f1e7;
  --paper: #fffdf8;
  --ink: #22302d;
  --soft: #55635f;
  --gum: #2f5d50;
  --gum-dark: #23473d;
  --clay: #b8623a;
  --line: #e2dccd;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--gum); }
a:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* Header */

.site-header {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: var(--gum);
  color: var(--sand);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
nav a:hover { border-bottom-color: var(--clay); }

/* Hero */

.hero {
  background: var(--sand);
  padding: 5rem 0 5.5rem;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  max-width: 14ch;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }

h3 { font-size: 1.2rem; }

.lead {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.3rem;
  color: var(--soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--gum);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-solid { background: var(--gum); color: #fff; }
.btn-solid:hover { background: var(--gum-dark); border-color: var(--gum-dark); }

.btn-line { background: transparent; color: var(--gum); }
.btn-line:hover { background: var(--gum); color: #fff; }

/* Sections */

.band { padding: 5rem 0; }
.band-tint { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: start;
}

.split-body > p { margin: 0 0 1.1rem; max-width: 34rem; }
.split-body > p:last-child { margin-bottom: 0; }

.points {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.points li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.points p { margin: 0.35rem 0 0; color: var(--soft); }

.more { margin-top: 1.75rem !important; }

.text-link {
  color: var(--gum);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.text-link:hover { color: var(--clay); }

.details { margin: 2rem 0 0; border-top: 1px solid var(--line); }

.details > div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  padding-top: 0.3rem;
}

.details dd { margin: 0; }

/* Footer */

.site-footer {
  background: var(--ink);
  color: #d9dfd9;
  padding: 2.5rem 0;
  font-size: 0.98rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer p { margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.site-footer a { color: #fff; text-underline-offset: 4px; }
.site-footer a:hover { color: #f0c9a8; }

/* Small screens */

@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .band { padding: 3.5rem 0; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .lead { font-size: 1.15rem; }
  .details > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .footer-row { flex-direction: column; }
}

@media (max-width: 420px) {
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
