/* Big Times' Delights: Stage R0 stylesheet.
   System fonts, no motion, no external resources. Brand reds are sampled from the A007 logo:
   #d6130f (median badge red, decorative accents) and #b40806 (darker badge red, text and buttons).
   Contrast (WCAG 2.2 AA): text/white 16.30:1, text/status 15.09:1, text/card 15.72:1,
   link/white 7.05:1, link/card 6.80:1, link/status 6.53:1, button text/button 7.05:1,
   footer text/footer 16.30:1, footer link/footer 13.40:1, focus ring/white 16.30:1. */

:root {
  --bg: #ffffff;
  --text: #2b1d14;
  --brand: #d6130f;
  --brand-strong: #b40806;
  --brand-deep: #8f0605;
  --status: #fff4ef;
  --card: #fffaf6;
  --card-border: #e9d3c5;
  --footer: #2b1d14;
  --footer-text: #ffffff;
  --footer-link: #ffe3dc;
  --focus: #2b1d14;
  --measure: 42rem;
  --wide: 72rem;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  /* Keep the footer at the bottom of short pages (no fixed or sticky positioning). */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.wrap-wide {
  max-width: var(--wide);
}

/* Links and focus */

a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

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

main:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  background: var(--bg);
  border-bottom: 4px solid var(--brand);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.625rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
}

.wordmark:hover .wordmark-text {
  text-decoration: underline;
}

.wordmark-logo {
  display: block;
  width: auto;
  height: 3.5rem;
}

.primary-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.footer-links a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.5rem;
  font-weight: 600;
}

.primary-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration-color: var(--brand);
  text-decoration-thickness: 0.18em;
}

/* Status band */

.status {
  background: var(--status);
  border-bottom: 1px solid var(--card-border);
}

.status p {
  margin-block: 0;
  padding-block: 0.75rem;
  font-weight: 600;
}

/* Headings and text */

h1,
h2 {
  line-height: 1.2;
  margin-block: 2rem 0.75rem;
}

h1 {
  font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.375rem;
  font-weight: 800;
}

p,
ul {
  margin-block: 0 1rem;
}

.lead {
  font-size: 1.25rem;
}

/* Hero */

.hero {
  background: var(--bg);
  padding-block: 2rem 2.5rem;
}

.hero-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  padding: 0.75rem;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 2rem rgba(43, 29, 20, 0.12);
}

.hero-logo img {
  display: block;
  width: 15rem;
}

.hero-text h1 {
  margin-top: 0;
}

.hero-text .lead {
  max-width: 36rem;
  margin-inline: auto;
}

.hero-actions {
  margin: 1.5rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  background: var(--brand-strong);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--brand-deep);
}

.button:hover {
  background: var(--brand-deep);
  text-decoration: underline;
}

@media (min-width: 60em) {
  .hero {
    padding-block: 3rem 3.5rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "text logo";
    align-items: center;
    justify-items: start;
    gap: 3rem;
    text-align: left;
  }

  .hero-logo {
    grid-area: logo;
  }

  .hero-text {
    grid-area: text;
  }

  .hero-logo img {
    width: 22rem;
  }

  .hero-text .lead {
    margin-inline: 0;
  }
}

/* Home content cards */

.cards {
  display: grid;
  gap: 1.25rem;
  padding-block: 0.5rem 3rem;
}

@media (min-width: 48em) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  padding: 1.25rem 1.5rem 0.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
}

.card h2 {
  margin-top: 0;
}

.card h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.5rem;
  background: var(--brand);
  border-radius: 2px;
}

.card-note {
  border-inline-start: 6px solid var(--brand);
}

/* Inner pages */

.prose {
  padding-block: 2rem 3rem;
}

.prose h1 {
  margin-top: 0.5rem;
}

.contact-list {
  padding-inline-start: 1.25rem;
}

.scope {
  font-style: italic;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding-block: 1.5rem 2rem;
  font-size: 1rem;
}

.site-footer a {
  color: var(--footer-link);
}

.site-footer a:focus-visible {
  outline-color: var(--footer-text);
}

.legal {
  margin: 0.75rem 0 0;
}

/* Holding page */

.holding {
  padding-block: 4rem;
}

@media print {
  .skip-link,
  .primary-nav {
    display: none;
  }
}
