:root {
  --pico-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pico-primary: #8b1e17;
  --pico-primary-background: #5d1510;
  --pico-primary-border: #5d1510;
  --pico-primary-hover: #214a5b;
  --pico-primary-hover-background: #214a5b;
  --pico-primary-hover-border: #214a5b;
  --pico-primary-focus: rgba(33, 74, 91, 0.34);
  --pico-border-radius: 0.25rem;
  --color-ink: #211714;
  --color-muted: #5f514c;
  --color-paper: #fffaf2;
  --color-panel: #f2eadf;
  --color-line: #d7c9b8;
  --color-red: #8b1e17;
  --color-red-dark: #5d1510;
  --color-gold: #b48a45;
  --color-blue: #214a5b;
  --shadow: 0 18px 45px rgba(33, 23, 20, 0.15);
  --font-body: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

body > header,
body > main,
body > footer {
  padding: 0;
}

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

a {
  color: var(--color-red-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--color-ink);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  font-family: var(--font-ui);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: calc(100% - 2rem);
  max-width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-band {
  padding-block: clamp(3rem, 8vw, 7rem);
}

.section-muted {
  background: #f6efe4;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: clamp(145px, 24vw, 230px);
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
}

.primary-nav li {
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--color-panel);
  color: var(--color-red-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.76)),
    linear-gradient(135deg, #ead9c3, #8b1e17 52%, #214a5b);
  border-bottom: 1px solid var(--color-line);
}

.hero-grid,
.two-column,
.callout-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.two-column,
.callout-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--color-red-dark);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.lead {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button,
button {
  min-height: 44px;
  border: 2px solid var(--color-red-dark);
  border-radius: 4px;
  background: var(--color-red-dark);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
button:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
}

.button-secondary {
  background: transparent;
  color: var(--color-red-dark);
}

.hero-card,
.credential-panel,
.terms-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.hero-card h2,
.credential-panel h2,
.terms-card h2 {
  max-width: 100%;
  font-size: clamp(1.65rem, 2.6vw, 2.7rem);
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
  hyphens: none;
}

.credential-panel h2,
.terms-card h2 {
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
}

.status-label {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: #fff4dc;
  color: #493316;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 800;
}

.notice {
  border-left: 4px solid var(--color-gold);
  background: #fff4dc;
  padding: 1rem;
}

.sale-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.sale-facts article {
  border-top: 3px solid var(--color-red);
  background: #fffdf8;
  padding: 1rem;
}

.sale-key-facts {
  grid-template-columns: 1fr;
}

.sale-key-facts article {
  text-align: center;
}

.sale-facts h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 800;
}

.sale-facts p {
  margin: 0;
}

.sale-key-facts p {
  color: var(--color-ink);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.35;
}

.sale-intro,
.merchandise-list {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.sale-intro {
  color: var(--color-red-dark);
  font-weight: 800;
}

.location-note {
  text-align: center;
}

.sale-highlight {
  color: var(--color-red-dark);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.35;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.gallery-item {
  margin: 0;
}

.gallery-link {
  display: block;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #e9ded0;
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-link:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

.credential-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.service-overview {
  align-items: start;
}

.service-overview h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.callout {
  background: var(--color-red-dark);
  color: white;
}

.callout h2,
.callout h3,
.callout p,
.callout address,
.terms-card,
.terms-card h2,
.terms-card p {
  color: white;
}

.callout a {
  color: white;
}

.callout .eyebrow {
  color: #ffdca3;
}

.terms-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  background: var(--color-ink);
  color: white;
  padding-block: 2rem;
}

.site-footer,
.site-footer p,
.site-footer address,
.site-footer strong {
  color: white;
}

.site-footer a {
  color: white;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid nav {
  display: flex;
  gap: 1rem;
}

.newsletter-form {
  display: grid;
  gap: 0.45rem;
  min-width: min(100%, 22rem);
  margin: 0;
}

.site-footer .newsletter-form label,
.site-footer #phplistsubscribeform label {
  color: #ffdca3;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

#phplistsubscriberesult {
  color: white;
  font-size: 0.95rem;
}

.subscribed {
  color: white;
  font-weight: 700;
}

.newsletter-row {
  display: flex;
  gap: 0.5rem;
}

.newsletter-row input,
.newsletter-row button {
  margin: 0;
}

.newsletter-row input {
  min-width: 0;
  color: var(--color-ink);
  background: white;
  border-color: white;
}

.newsletter-row button {
  width: auto;
  white-space: nowrap;
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-ink);
}

.lightbox {
  display: none;
  width: min(94vw, 1100px);
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: white;
}

.lightbox[open] {
  display: block;
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 30;
  transform: translate(-50%, -50%);
  max-height: 92vh;
  overflow: auto;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-open::before {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(0, 0, 0, 0.82);
  content: "";
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.lightbox-bar h2 {
  margin: 0;
  font-size: 1.2rem;
}

.lightbox-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0 1rem 1rem;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  max-height: 76vh;
  margin-inline: auto;
}

.lightbox figcaption {
  margin-top: 0.7rem;
  text-align: center;
}

.icon-button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .header-inner,
  .hero-grid,
  .two-column,
  .callout-inner,
  .sale-facts {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
  }

  .primary-nav ul {
    justify-content: flex-start;
  }

  .hero-card {
    box-shadow: none;
  }

  .hero-card h2,
  .credential-panel h2,
  .terms-card h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .lightbox-body {
    grid-template-columns: 1fr 1fr;
  }

  .lightbox-body figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 1rem);
  }

  .primary-nav a {
    padding-inline: 0.5rem;
  }

  .button,
  button,
  .newsletter-row button {
    width: 100%;
  }

  .newsletter-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
