html {
  height: 100%;
}

:root {
  --bg: #f8f4ec;
  --panel: #f1e7d4;
  --text: #3a3521;
  --muted: #6b6044;
  --accent: #ad7332;
  --accent-dark: #8b5119;
  --border: #d8c9ad;
  --white: #ffffff;
}

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

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.single-hero {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body.single-hero main {
  flex: 1;
}

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

.site-shell {
  max-width: 1200px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: #4a4536;
}

a {
  text-decoration: none;
  color: inherit;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero {
  padding: 24px clamp(20px, 6vw, 120px) 60px;
  background-color: var(--bg);
  width: 100%;
  margin: 0;
}

.hero-full {
  min-height: 100vh;
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-full .hero-inner {
  gap: clamp(32px, 8vw, 96px);
}

.hero-full .hero-text {
  max-width: 520px;
}

.hero-full .hero-image img {
  width: 100%;
  height: clamp(320px, 70vh, 640px);
  object-fit: cover;
  border-radius: 0;
}

.lead {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--muted);
}

.primary-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 36px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.primary-btn:hover,
.primary-btn:focus-visible {
  transform: translateY(-2px);
  background-color: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: none;
}

main section:not(.hero) {
  padding: 120px clamp(20px, 6vw, 120px);
}

.story {
  background-color: var(--panel);
}

.section-heading {
  margin-bottom: 32px;
}

.story-text {
  max-width: 880px;
  columns: 2;
  column-gap: 40px;
  font-size: 1rem;
}

.story-text p {
  break-inside: avoid;
}

.events {
  background-color: var(--panel);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.event-card {
  background-color: var(--bg);
  border-radius: 0;
  padding: 0;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.event-details {
  margin-top: 48px;
  background-color: var(--bg);
  padding: 40px;
  border: 1px solid var(--border);
}

.event-details h3 {
  margin-top: 0;
}

.event-body h3,
.event-details h3 {
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.event-details-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-details-list li {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  column-gap: 12px;
  row-gap: 4px;
  font-size: 1rem;
  color: #4a4536;
  align-items: start;
}

.event-details-list strong {
  font-weight: 600;
  color: var(--text);
}

.event-details-note {
  margin: 16px 0 0;
  color: var(--muted);
}

.event-body {
  padding: 40px;
}

p > strong:first-child {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.event-image img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.gallery {
  background-color: var(--bg);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 24px;
}

.gallery-masonry img {
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  border-radius: 0;
}

.faq {
  background-color: var(--bg);
}

.faq-intro {
  color: var(--muted);
  margin-bottom: 0;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.faq-list li {
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

.faq-list strong {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--text);
}

.contact {
  background-color: var(--panel);
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: stretch;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 0;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
}

input[type="text"],
textarea,
select {
  padding: 14px 16px;
  border-radius: 0;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  padding-right: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b5119' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  background-size: 12px 8px;
  cursor: pointer;
}

select:focus-visible,
input[type="text"]:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 2px rgba(173, 115, 50, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-label {
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.checkbox-group input {
  margin-right: 8px;
}

.success-message {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-message.visible {
  opacity: 1;
}

.site-footer {
  padding: 32px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .story-text {
    columns: 1;
  }

  .gallery-masonry {
    column-count: 2;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px clamp(20px, 6vw, 120px);
    gap: 12px;
    border-top: 1px solid var(--border);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .navbar {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 16px;
  }

  main section {
    padding: 60px 20px;
  }

  .event-details {
    padding: 32px 24px;
  }

  .event-details-list li {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    column-count: 1;
  }
}
