/* ==========================================================================
   The Architecture of Grace — base stylesheet
   Swap the variables below once brand colours/fonts are decided.
   ========================================================================== */

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #f1ece3;
  --color-text: #24211d;
  --color-text-soft: #5c574d;
  --color-accent: #6b4a3a;
  --color-accent-soft: #d9c8b8;
  --color-line: #e4dccf;
  --color-button-text: #faf7f2;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
  color: inherit;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-line);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 16px 24px;
    border-top: 1px solid var(--color-line);
  }

  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-button-text);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

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

.hero {
  padding-top: 120px;
  padding-bottom: 96px;
  text-align: center;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-text-soft);
  margin-bottom: 1em;
}

.hero p.lede {
  max-width: 620px;
  margin: 0 auto 2em;
  font-size: 1.15rem;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.placeholder-copy {
  background: repeating-linear-gradient(
    -45deg,
    rgba(107, 74, 58, 0.06),
    rgba(107, 74, 58, 0.06) 10px,
    rgba(107, 74, 58, 0.02) 10px,
    rgba(107, 74, 58, 0.02) 20px
  );
  border: 1px dashed var(--color-accent-soft);
  border-radius: 8px;
  padding: 4px 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Booking embed ---------- */

.booking-toggle {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.booking-toggle button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}

.booking-toggle button.active {
  background: var(--color-accent);
  color: var(--color-button-text);
  border-color: var(--color-accent);
}

.cal-embed {
  min-height: 650px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 12px;
  color: var(--color-text-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 48px 0;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--color-text-soft);
}
