/* Wanner Digital Media LLC
   Palette drawn from the Beale Street building: brick red facade,
   whitewashed brick, newsprint ink. */

:root {
  color-scheme: light;

  --ink: #171512;
  --body: #4a443c;
  --muted: #736b60;
  --rule: #ded6ca;
  --rule-soft: #ebe5db;
  --paper: #fbf9f5;
  --card: #ffffff;
  --wash: #f4efe6;

  --brick: #a2463c;
  --brick-dark: #7d332b;
  --brick-wash: #f6ebe8;

  --serif: Fraunces, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --shell: 1140px;
}

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--brick-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--brick);
}

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

ul,
ol {
  margin: 0;
  padding-left: 1.15em;
}

li + li {
  margin-top: 0.35em;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

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

.site-header .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 20px;
}

.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--brick);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 0.945rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--brick);
  text-decoration: underline;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  margin: 0 0 14px;
  color: var(--brick);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 46ch;
  color: var(--body);
  font-size: clamp(1.075rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.55;
}

.text-link {
  justify-self: start;
  color: var(--brick-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.status {
  display: inline-block;
  border: 1px solid var(--brick);
  border-radius: 2px;
  padding: 4px 11px;
  color: var(--brick-dark);
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--wash), var(--paper) 78%);
}

.hero .shell {
  display: grid;
  gap: clamp(30px, 4.5vw, 52px);
  padding-block: clamp(44px, 6vw, 80px);
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 60ch;
}

.hero-copy h1 {
  max-width: 17ch;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 44px -22px rgba(23, 21, 18, 0.5);
}

.hero-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--card);
  padding: 11px 20px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.965rem;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.button.primary {
  border-color: var(--brick);
  background: var(--brick);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--brick-dark);
  background: var(--brick-dark);
  color: #fff;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--rule-soft);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.section-head {
  display: grid;
  align-content: start;
  gap: 14px;
}

.section-head p {
  max-width: 42ch;
  color: var(--muted);
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 62ch;
}

/* ---------- Facts ---------- */

.facts {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
  gap: 8px 24px;
  border-bottom: 1px solid var(--rule);
  padding-block: 14px;
}

.facts dt {
  color: var(--muted);
  font-size: 0.735rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  padding-top: 2px;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
}

.card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brick);
  border-radius: 3px;
  background: var(--card);
  padding: 22px;
}

.card p {
  color: var(--body);
  font-size: 0.96rem;
}

.card-plain {
  border-top: 1px solid var(--rule);
}

/* ---------- People ---------- */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}

.person {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--card);
  padding: 22px;
}

.person img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}

.person .role {
  color: var(--brick);
  font-size: 0.715rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person h3 {
  font-size: 1.1rem;
}

.person p:last-child {
  color: var(--muted);
  font-size: 0.925rem;
}

/* ---------- Feature list ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin: 0;
  border-bottom: 1px solid var(--rule-soft);
  padding-block: 11px;
  color: var(--body);
  font-size: 0.96rem;
}

/* ---------- Band ---------- */

.band {
  border-block: 1px solid var(--rule);
  background: var(--wash);
}

.band .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(40px, 5vw, 64px);
}

.band figure {
  margin: 0;
}

.band img {
  width: 100%;
  border-radius: 3px;
}

.band figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Interior pages ---------- */

.page-head {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--wash), var(--paper));
}

.page-head .shell {
  padding-block: clamp(40px, 5.5vw, 72px);
}

.page-head h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  max-width: 20ch;
}

.page-head .lede {
  margin-top: 18px;
  max-width: 58ch;
}

.page-body {
  display: grid;
  gap: 40px;
  max-width: 68ch;
  padding-block: clamp(40px, 5vw, 64px);
}

.page-body section {
  display: grid;
  gap: 12px;
}

.page-body h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
  margin-bottom: 2px;
}

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brick);
  border-radius: 3px;
  background: var(--card);
  padding: 22px 24px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--wash);
}

.site-footer .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px 40px;
  padding-block: 36px 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  display: grid;
  gap: 5px;
  max-width: 52ch;
}

.legal strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-weight: 500;
}

.footer-nav a {
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--brick);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .shell,
  .section-split,
  .band .shell {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    max-width: 380px;
  }

  .band .shell > figure {
    order: -1;
  }
}

@media (max-width: 620px) {
  .site-header .shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .site-footer .shell {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
