:root {
  color-scheme: light;
  --pine: #1f3b2d;
  --cream: #f6f3ec;
  --gold: #b8924a;
  --sage: #aeb9a2;
  --ink: #1f3b2d;
  --muted: #617064;
  --line: #d9d0c2;
  --white: #fffdf8;
  --danger: #8a312b;
  --shadow: 0 18px 55px rgba(31, 59, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid rgba(31, 59, 45, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--pine);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(31, 59, 45, 0.14);
  border-radius: 4px;
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.65rem);
  font-size: 0.92rem;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--pine);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: 8rem clamp(1rem, 5vw, 5rem) 4rem;
  background:
    linear-gradient(90deg, rgba(31, 59, 45, 0.9), rgba(31, 59, 45, 0.58), rgba(31, 59, 45, 0.12)),
    url("/assets/hero.jpg") center / cover;
  color: var(--white);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
.intro-section p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(4rem, 10vw, 8.25rem);
  line-height: 0.86;
}

.hero p:not(.eyebrow),
.section-header p {
  max-width: 680px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section-header p {
  color: var(--muted);
}

.action-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.15rem;
  background: var(--gold);
  color: #17140d;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-secondary,
button.secondary {
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.42);
}

button.ghost,
.button.ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--line);
}

button.danger {
  background: var(--danger);
  color: var(--white);
}

.intro-section,
.section,
.calendar-section,
.spotlight-section,
.split-section,
.contact-section,
.page-hero,
.dashboard-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 5vw, 5rem);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 800px);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.intro-section img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.intro-section p {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.98;
}

.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.detail-list span,
.status-pill,
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.65rem;
  background: rgba(174, 185, 162, 0.25);
  border: 1px solid rgba(31, 59, 45, 0.12);
  border-radius: 999px;
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 800;
}

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

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
}

h3 {
  margin: 0 0 0.65rem;
}

.feature-grid,
.vendor-directory,
.info-grid,
.dashboard-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.vendor-card,
.spotlight-card,
.date-panel,
.panel-form,
.dashboard-card,
.admin-card,
.faq-list details,
.calendar-button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}

.card,
.vendor-card,
.spotlight-card,
.date-panel,
.dashboard-card,
.admin-card {
  padding: 1.25rem;
}

.card .number {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.calendar-section {
  background: rgba(174, 185, 162, 0.22);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 1rem;
  align-items: start;
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.calendar-button {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 1rem;
  color: var(--pine);
  text-align: left;
}

.calendar-button.active {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(184, 146, 74, 0.3);
}

.calendar-button strong {
  display: block;
  font-size: 1.2rem;
}

.date-panel ul,
.plain-list {
  padding-left: 1.15rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.filter-bar button {
  min-height: 2.35rem;
  background: transparent;
  border-color: var(--line);
  color: var(--pine);
}

.filter-bar button.active {
  background: var(--pine);
  color: var(--white);
}

.vendor-card {
  display: grid;
  gap: 0.85rem;
}

.vendor-card p,
.card p,
.spotlight-card p,
.dashboard-card p,
.admin-card p,
.form-note {
  color: var(--muted);
}

.vendor-card a,
.text-link {
  color: var(--pine);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.25rem;
}

.spotlight-section,
.contact-section,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 2rem;
}

.spotlight-section {
  background: rgba(174, 185, 162, 0.24);
}

.split-section {
  background: var(--pine);
  color: var(--white);
}

.split-section .details {
  color: rgba(255, 253, 248, 0.78);
}

.details p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
}

.details strong {
  display: block;
  color: var(--white);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  color: var(--pine);
  font-weight: 800;
  cursor: pointer;
}

.panel-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.78rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 700;
}

.checkbox-label input {
  width: auto;
  min-height: 0;
  margin-top: 0.32rem;
}

.page-hero {
  background: var(--pine);
  color: var(--white);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.9;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.84);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--pine);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.hidden {
  display: none !important;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 920px) {
  .feature-grid,
  .vendor-directory,
  .info-grid,
  .dashboard-grid,
  .admin-grid,
  .calendar-layout,
  .spotlight-section,
  .contact-section,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .calendar-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    display: block;
  }

  .brand img {
    width: 2.7rem;
    height: 2.7rem;
  }

  nav {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 5rem;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-section img {
    width: min(210px, 100%);
  }
}
