:root {
  color-scheme: light;
  --ink: #1f1d1a;
  --accent: #21463a;
  --accent-soft: #2f5b4c;
  --cream: #fbf7f0;
  --sand: #efe4d1;
  --card: #ffffff;
  --line: #ddd2c2;
  --shadow: 0 12px 28px rgba(27, 47, 38, 0.12);
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
  --border-default: rgba(34, 36, 38, 0.15);
  --border-dim: rgba(34, 36, 38, 0.1);
  --font-head: "Fraunces", "Times New Roman", serif;
  --font-body: "DM Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*:before,
*:after {
  border-width: 0;
  border-style: solid;
  border-color: var(--border-default);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  min-height: 100vh;
}

.page,
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  display: grid;
  gap: 36px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  margin: 0 0 0.5em 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  color: var(--accent);
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  color: var(--accent);
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--accent);
}

p {
  margin: 0 0 1em 0;
  line-height: 1.6;
  font-size: 1rem;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0;
  color: #3a3730;
}

.section-block {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-block:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 36, 38, 0.25);
}

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

.section-head h2 {
  margin: 0;
}

.section-lead {
  margin: 0;
  line-height: 1.7;
  max-width: 640px;
  color: #4f4b44;
}

.section-actions {
  display: flex;
  justify-content: center;
}

.section-block .cards-grid {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: all 0.3s ease;
}

a:not(.btn):not(.primary-nav a):hover {
  background-color: rgba(33, 70, 58, 0.1);
  padding: 0 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin: 0 0 0.5em 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--accent-soft);
}

.info-note {
  font-size: 0.9rem;
  color: #4f4b44;
  margin: 0;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(27, 47, 38, 0.12);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  font-size: 0.92rem;
  color: #4f4b44;
  border-bottom: 1px solid rgba(221, 210, 194, 0.6);
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.header-contact {
  border: none;
  font-weight: 600;
  color: var(--accent);
}

.header-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logo-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border: none;
}

.logo-cluster img {
  height: 58px;
  width: 58px;
  border-radius: 12px;
  background: var(--sand);
  padding: 6px;
  box-shadow: inset 0 0 0 2px rgba(33, 70, 58, 0.1);
}

.logo-copy {
  display: grid;
  gap: 2px;
}

.logo-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.logo-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1.1;
}

.nav-cluster {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
  background: var(--card);
}

.nav-toggle-label span {
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

/* Footer */
footer {
  background: var(--accent);
  color: var(--card);
  margin-top: 72px;
  padding: 48px 20px;
  text-align: center;
}

footer p {
  margin: 0 0 0.5em 0;
}

footer a {
  color: var(--sand);
  border-color: var(--sand);
}

footer a:hover {
  background-color: rgba(239, 228, 209, 0.1);
  padding: 0 4px;
}

/* Hero Section */
.hero {
  padding: 72px 48px;
  background: linear-gradient(135deg, rgba(33, 70, 58, 0.12) 0%, rgba(47, 91, 76, 0.05) 100%);
  border-radius: 28px;
  box-shadow: 0 30px 45px rgba(27, 47, 38, 0.15);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: grid;
  gap: 24px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0;
}

.hero-highlights {
  display: grid;
  gap: 28px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f4b44;
}

/* Featured Event Section */
.featured-event {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: var(--card);
  padding: 64px 48px;
  border-radius: 20px;
  margin: 48px 0;
  box-shadow: 0 16px 40px rgba(27, 47, 38, 0.18);
}

.featured-event-inner {
  max-width: 600px;
}

.featured-event-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 12px;
}

.featured-event h2 {
  font-size: 2.2rem;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.featured-event-meta {
  font-size: 1.05rem;
  margin-bottom: 16px;
  opacity: 0.95;
}

.featured-event-desc {
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 600;
  color: var(--accent);
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
  color: #4f4b44;
}

.hero-checklist li {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(33, 70, 58, 0.15);
}

.hero-checklist li:last-child {
  border-bottom: none;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.hero-panel-card p {
  margin: 0;
}

.hero-panel-date {
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.hero-panel-location {
  font-size: 0.95rem;
  color: var(--accent-soft);
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(33, 70, 58, 0.08);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f4b44;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* About Features */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.feature-item {
  display: grid;
  gap: 12px;
  position: relative;
  padding-left: 60px;
}

.feature-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
}

.feature-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feature-item p {
  margin: 0;
  color: #4f4b44;
  line-height: 1.6;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.card {
  background: var(--card);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 47, 38, 0.18);
}

.card h3 {
  margin-top: 0;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.post-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 47, 38, 0.18);
}

.post-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--line);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.post-card a {
  color: var(--accent);
  border: none;
  text-decoration: none;
}

.post-card a:hover {
  text-decoration: underline;
  background: none;
  padding: 0;
}

/* Post Page */
.post-wrapper {
  max-width: 100%;
}

.post-header {
  margin-bottom: 48px;
}

.post-header-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 32px;
}

.post-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-header-content {
  padding: 0;
}

.post-meta,
.post-date {
  color: var(--accent-soft);
  font-size: 0.95rem;
  margin: 0.25em 0;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 800px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.related-posts {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 2px solid var(--line);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Calendar Widget */
.calendar-widget {
  background: var(--card);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}

.calendar-widget h3 {
  margin-top: 0;
  color: var(--accent);
}

.calendar-month {
  margin-bottom: 32px;
}

.calendar-header {
  text-align: center;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.calendar-day-header {
  font-weight: 600;
  color: var(--accent-soft);
  padding: 8px;
  border-bottom: 2px solid var(--line);
}

.calendar-day {
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.calendar-day.empty {
  background: var(--sand);
  opacity: 0.5;
}

.calendar-day.has-event {
  background: rgba(33, 70, 58, 0.05);
  border-color: var(--accent);
  border-width: 2px;
}

.calendar-day-number {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.calendar-event-list {
  font-size: 0.7rem;
  color: var(--accent-soft);
}

.events-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.event-card-lite {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(33, 70, 58, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.event-card-meta {
  margin: 0;
  font-weight: 600;
  color: var(--accent);
}

/* Events List */
.events-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.event-item {
  background: var(--card);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.event-date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.event-description {
  color: var(--accent-soft);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--accent);
  color: var(--card);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--accent-soft);
}

.btn:active {
  opacity: 0.9;
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 12.8px;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid rgba(34, 36, 38, 0.15);
}

.btn-outline:hover {
  background-color: rgba(33, 70, 58, 0.08);
}

/* Navigation buttons */
.primary-nav {
  display: flex;
  gap: 8px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background-color: rgba(33, 70, 58, 0.08);
  color: var(--accent);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.primary-nav a:hover {
  background-color: var(--card);
  color: var(--accent);
  text-decoration: none;
}

/* Header CTA button */
.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 999px;
}

.cta-panel {
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.cta-panel:hover {
  box-shadow: var(--shadow-md);
}

.contact-list {
  display: grid;
  gap: 8px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .featured-event {
    padding: 48px 32px;
  }

  .featured-event h2 {
    font-size: 1.8rem;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-cluster {
    width: 100%;
    display: none;
    flex-direction: column;
    background: rgba(251, 247, 240, 0.95);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-left: 0;
    gap: 16px;
  }

  .nav-toggle-input:checked ~ .nav-cluster {
    display: flex;
  }

  .primary-nav {
    flex-direction: column;
    width: 100%;
  }

  .primary-nav a {
    width: 100%;
    text-align: center;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .page, main {
    padding: 32px 16px 48px;
    gap: 24px;
  }

  .hero {
    padding: 32px 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-block {
    padding: 24px;
  }

  .info-grid,
  .events-highlight {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .post-content {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .primary-nav {
    width: 100%;
    gap: 6px;
  }

  .primary-nav a {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .page, main {
    padding: 20px 12px 36px;
  }

  .section-block {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
}

/* Form and Input Styling */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="tel"],
textarea,
select {
  appearance: none;
  background-color: #fff;
  border: 1px solid var(--border-default);
  border-radius: 4.57143px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1.21428571em;
  color: rgba(0, 0, 0, 0.87);
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
  outline: 0;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #85b7d9;
  background: #fff;
  box-shadow: 0 0 0 0 transparent;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Card Styling */
.info-card,
.event-card-lite,
.card {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  box-sizing: border-box;
  padding: 24px;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
}

.info-card:hover,
.event-card-lite:hover,
.card:hover {
  box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.25), 
              0 20px 25px -5px rgba(15, 23, 42, 0.1), 
              0 8px 10px -6px rgba(15, 23, 42, 0.1);
  border-color: rgba(34, 36, 38, 0.25);
}
