/* =========================================================
   Agape Talk: design tokens
   Palette: warm ivory ground with a muted sage/olive accent
   and a very sparing champagne-gold highlight.
   ========================================================= */
:root {
  --ink: #f7f3eb;           /* page background, top */
  --ink-2: #eef0e8;         /* page background, lower / alt sections */
  --panel: #fffdf8;         /* card / panel surface */
  --panel-2: #f5f1e6;       /* raised panel */
  --line: rgba(48, 42, 38, 0.14);
  --gold: #b59a67;          /* sparing highlight accent only */
  --gold-soft: #8c7038;     /* readable gold-brown for text/links */
  --parchment: #302a26;     /* primary text */
  --muted: #6e655d;         /* secondary text */
  --bronze: #59634b;        /* deep olive, used for buttons */
  --focus: #68705a;
  --accent: #68705a;        /* main sage/olive brand accent */
  --accent-dark: #4d5340;
  --button: #59634b;
  --button-hover: #68705a;
  --button-text: #ffffff;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--parchment);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 40%, var(--ink-2) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-color: rgba(104,112,90,0.35); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); text-decoration-color: var(--accent-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--parchment);
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

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

section { padding: 96px 0; position: relative; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--button);
  color: var(--button-text);
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(247, 243, 235, 0.86);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--parchment);
  text-decoration: none;
}
.brand .mark { width: 34px; height: 34px; color: var(--accent); flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand-name em { font-style: normal; color: var(--gold-soft); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.main-nav a:hover { color: var(--accent-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--button); color: var(--button-text); }
.btn-gold:hover { background: var(--button-hover); color: var(--button-text); }
.btn-ghost { background: transparent; color: var(--parchment); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-block { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--parchment);
    border-radius: 8px;
    padding: 8px 10px;
  }
}

/* On narrow phones, drop the phone-number button from the header row so
   it doesn't crowd the primary CTA and hamburger onto an overflowing
   line. The number is still reachable from the mobile menu below. */
@media (max-width: 480px) {
  .header-cta { gap: 8px; }
  .header-cta .btn-ghost { display: none; }
  .header-cta .btn-gold { padding: 10px 16px; font-size: 0.86rem; }
  .brand-name { font-size: 1.12rem; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 16px 24px;
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.mobile-nav a:hover { color: var(--accent-dark); }
.mobile-nav-phone { color: var(--accent-dark) !important; font-weight: 600; }

/* ---------- Hero (above the fold) ---------- */
.hero {
  padding-top: 88px;
  padding-bottom: 72px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-watermark {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 620px;
  height: 620px;
  color: var(--accent);
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.12rem; max-width: 46ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6em; }
.hero-note {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.hero-emblem-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}
.hero-emblem-card .mark-lg { width: 150px; height: 150px; margin: 0 auto 18px; color: var(--accent); }
.hero-emblem-card p { margin: 0 auto; color: var(--gold-soft); font-family: var(--font-display); font-size: 1.15rem; max-width: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--parchment); }

/* ---------- Section headers ---------- */
.section-head { max-width: 60ch; margin-bottom: 48px; }
@media (max-width: 620px) {
  .section-head { margin-bottom: 28px; }
  #offerings.section-alt { padding: 40px 0; }
}
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Offerings grid ---------- */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .offerings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 400px) {
  .offerings-grid { grid-template-columns: 1fr; }
}

.offering-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.offering-card .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.offering-card h3 { margin-bottom: 8px; }
.offering-card p { font-size: 0.94rem; margin: 0; }

@media (max-width: 620px) {
  .offering-card { padding: 16px 14px; }
  .offering-card .icon { width: 22px; height: 22px; margin-bottom: 8px; }
  .offering-card h3 { font-size: 0.96rem; margin-bottom: 4px; }
  .offering-card p { font-size: 0.82rem; line-height: 1.45; }
}

/* ---------- About (anonymous) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-emblem {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-emblem .mark { width: 96px; height: 96px; color: var(--accent); }
.about-copy p { max-width: 60ch; }
.about-copy .signature-line {
  margin-top: 1.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-soft);
}

/* ---------- Steps (real sequence) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.94rem; margin: 0; }

.promise-banner {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(181,154,103,0.4);
  background: rgba(181,154,103,0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.promise-banner .icon { width: 26px; height: 26px; color: var(--gold); flex: none; }
.promise-banner p { margin: 0; color: var(--parchment); font-size: 0.96rem; }
.promise-banner strong { color: var(--gold-soft); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info .info-row .icon { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-info .info-row h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-info .info-row p { margin: 0; font-size: 0.94rem; }

.form-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  padding: 32px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field .req { color: var(--accent); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--parchment);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  position: relative;
}
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.chip input:checked + span {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(104,112,90,0.1);
}
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.consent-row input { margin-top: 4px; }
.consent-row label { font-size: 0.84rem; color: var(--muted); }
.consent-row a { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--parchment);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .mark { width: 26px; height: 26px; color: var(--accent); }
.footer-brand span { font-family: var(--font-display); font-size: 1.15rem; }
.site-footer p { font-size: 0.9rem; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}
.disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 90ch;
  margin: 18px 0 0;
  opacity: 0.85;
}

/* ---------- Cookie notice ---------- */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 300;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.86rem; color: var(--parchment); flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Simple pages (thank-you, 404, privacy) ---------- */
.simple-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.simple-page .mark { width: 70px; height: 70px; color: var(--accent); margin-bottom: 20px; }
.simple-page h1 { margin-bottom: 0.35em; }
.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal p, .legal li { color: var(--muted); }
.legal { max-width: 74ch; }
.back-link { display: inline-flex; margin-top: 28px; }

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