/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f5f0;
  --text: #1a1a1a;
  --text-light: #555;
  --nav-height: 64px;
  --footer-height: 48px;
  --page-padding: 40px;
}

html {
  font-size: 20px;
}

html, body {
  min-height: 100%;
}

html {
  height: 100%;
}

body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

/* ===== Navigation ===== */
nav {
  height: var(--nav-height);
  min-height: var(--nav-height);
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  opacity: 0.5;
}

.nav-logo span {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

.nav-links a.active {
  opacity: 0.5;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ===== Main Content ===== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 var(--page-padding);
  min-height: 0;
}

main > * {
  margin-top: auto;
  margin-bottom: auto;
}

/* ===== Home Page ===== */
.home-content {
  max-width: 620px;
}

.home-content .lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.home-content .intro {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.home-content ul {
  margin-bottom: 1.2rem;
  padding-left: 2.2rem;
}

.home-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.2rem;
}

.home-content .cta {
  font-size: 1rem;
  margin-top: 0.4rem;
}

.home-content a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-light);
  transition: border-color 0.2s ease;
}

.home-content a:hover {
  border-color: var(--text);
}

/* ===== Offerings Page ===== */
.offerings-content {
  max-width: 620px;
  width: 100%;
}

.accordion {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.2rem 0;
  text-align: left;
  gap: 1rem;
}

.accordion-header:hover .accordion-title {
  opacity: 0.5;
}

.accordion-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.accordion-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.accordion-meta {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.accordion-icon {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}

.accordion.open .accordion-body {
  max-height: 1200px;
  padding: 0 0 1.4rem;
}

.tier-subhead {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.accordion-body ul {
  padding-left: 2.2rem;
  margin-bottom: 1rem;
}

.accordion-body li {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.2rem;
}

.accordion-body li strong {
  font-weight: 600;
}

.tier-note {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
}

.tier-note a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--text-light);
  transition: opacity 0.2s ease;
}

.tier-note a:hover {
  opacity: 0.6;
}

/* ===== About Page ===== */
.about-content {
  max-width: 600px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ===== Contact Page ===== */
.contact-content {
  max-width: 480px;
}

.contact-content h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.contact-content .contact-intro {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.5rem;
  text-align: left;
}

.contact-item dt {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--text-light);
}

.contact-item dd {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-light);
  transition: border-color 0.2s ease;
}

.contact-item a:hover {
  border-color: var(--text);
}

/* ===== Footer ===== */
footer {
  height: var(--footer-height);
  min-height: var(--footer-height);
  display: flex;
  align-items: center;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
  margin: 0 var(--page-padding) 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  :root {
    --page-padding: 24px;
    --nav-height: 56px;
    --footer-height: 40px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 48px;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

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