:root {
  --bg-primary: #FDFDFB; /* Warm off-white */
  --bg-secondary: #F4F3EE; /* Muted beige */
  --text-primary: #2b2b28;
  --text-secondary: #585854;
  --accent: #2e433f; /* Deep calm green */
  --accent-hover: #223330;
  
  --font-serif: "Lora", "Source Serif 4", serif;
  --font-sans: "Inter", "Source Sans 3", sans-serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2.5rem;
  --spacing-lg: 5rem;
  --spacing-xl: 8rem;
  
  /* Mobile Spacing Tokens */
  --mobile-h-to-img: 1.5rem;
  --mobile-img-to-text: 1.5rem;
  --mobile-h-to-text: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mobile-only {
  display: none !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--mobile-h-to-text);
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.02em;
}

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

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  max-width: 65ch;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Handwritten Signature */
.signature-text {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  color: #5C4A3E;
  margin-top: 14px;
  opacity: 0.9;
  display: inline-block;
  transform: rotate(-2deg);
}

/* UI Elements */
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 4px; /* subtle rounded corners */
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #fff;
  opacity: 1;
}

.btn-secondary {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.3s ease;
}

.microcopy {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 0.75rem;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: var(--spacing-xl) 0;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.grid-2.reverse > :nth-child(1) { order: 2; }
.grid-2.reverse > :nth-child(2) { order: 1; }

.grid-2.asymmetric {
  grid-template-columns: 4fr 5fr;
}

.grid-2.asymmetric-reverse {
  grid-template-columns: 5fr 4fr;
}

/* specific text alignment */
.text-column {
  max-width: 550px;
}

/* Images */
.img-wrapper {
  overflow: hidden;
  border-radius: 2px;
}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-img {
  aspect-ratio: 3/4;
}

.landscape-img {
  aspect-ratio: 3/2;
}

.portrait-img {
  aspect-ratio: 4/5;
  max-width: 400px;
}

.portrait-img img,
.landscape-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Header */
.header {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent);
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  padding: var(--spacing-lg) 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

ul.bullet-list {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

ul.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

ul.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.trust-signals {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--accent);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.trust-signals span {
  display: flex;
  align-items: center;
}

.trust-signals span::after {
  content: "•";
  margin-left: 1.5rem;
  opacity: 0.5;
}

.trust-signals span:last-child::after {
  display: none;
}

/* Sections */
.narrow-column {
  max-width: 800px;
  margin: 0 auto;
}

.narrative-block {
  font-size: 1.125rem;
  line-height: 1.8;
}

.narrative-block p {
  margin-bottom: 1.75rem;
}

/* Mobile */
@media (max-width: 900px) {
  .grid-2, .grid-2.asymmetric, .grid-2.asymmetric-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-2.reverse > :nth-child(1), .grid-2.reverse > :nth-child(2) { 
    order: unset; 
  }
  
  /* Hero stacked layout & spacing */
  .hero .container {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-h-to-img);
  }
  .hero .img-wrapper {
    max-height: 45vh;
  }
  .hero .img-wrapper img {
    height: 100%;
    object-position: center top;
  }

  /* Responsive Image Visibility Classes */
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
    margin-bottom: var(--mobile-img-to-text) !important;
    margin-top: 0 !important;
  }

  /* Make all images full width on mobile to prevent text wrapping */
  .portrait-img,
  .landscape-img,
  .hero-img {
    max-width: 100% !important;
    width: 100%;
  }


  /* Standard Headline Margins on Mobile */
  h1, h2, h3, h4 {
    margin-bottom: var(--mobile-h-to-img);
  }

  /* If there is NO image, the headline to text gap should be h-to-text */
  /* This is handled by h1/h2 default margin unless we detect no subsequent image.
     For simplicity in this static setup, we keep it consistent or use 1.5rem. */

  .section {
    padding: 2.5rem 0 !important;
  }

  .hero {
    padding-top: 2.5rem !important;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  /* Override inline padding-bottom styles on sections for mobile consistency */
  .section[style*="padding-bottom"] {
    padding-bottom: 2.5rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  
  body {
    padding-bottom: 5.5rem; /* Room for sticky CTA */
  }
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background-color: var(--bg-primary);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    z-index: 999;
  }
  
  .mobile-sticky-cta .btn-primary {
    display: block;
    width: 100%;
    padding: 1.1rem;
  }
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 0;
}

.faq-question {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-secondary);
}

/* Booking Calendar placeholder */
.calendar-embed {
  background: white;
  min-height: 600px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.05);
  margin: 3rem 0;
}
