/* Formed in His Heart — cream / maroon / gold pastoral theme. No build step. */
:root {
  --cream: #faf6ee;
  --cream-deep: #f2eadb;
  --paper: #fffdf8;
  --maroon: #6e1b26;
  --maroon-dark: #4f121b;
  --gold: #b8913a;
  --gold-soft: #d9c08a;
  --ink: #2c2420;
  --muted: #6b5d55;
  --line: #e4d8c2;
  --radius: 10px;
  --max: 1100px;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-dark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--maroon); line-height: 1.2; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92vw); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 42px; height: 42px; }
.brand-text { font-family: var(--serif); font-size: 1.55rem; color: var(--maroon); font-weight: 600; line-height: 1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; font-weight: 600; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; letter-spacing: .03em; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); border-bottom-color: var(--gold); }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(184,145,58,.18), transparent 60%),
    linear-gradient(180deg, var(--cream-deep), var(--cream));
  text-align: center; padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--line);
}
.eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8rem; }
.hero .subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--maroon-dark); margin-bottom: 1.4rem; }
.hero .lede { max-width: 720px; margin: 0 auto 2rem; color: var(--muted); font-size: 1.12rem; }
.ornament { width: 120px; height: 14px; margin: 0 auto 1.4rem; color: var(--gold); }

.page-hero { background: linear-gradient(180deg, var(--cream-deep), var(--cream)); padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--line); text-align: center; }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; background: var(--maroon); color: var(--cream); padding: .8rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: .03em; border: 2px solid var(--maroon); cursor: pointer; font-size: 1rem; font-family: var(--sans); }
.btn:hover { background: var(--maroon-dark); color: var(--cream); border-color: var(--maroon-dark); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--cream); }
.btn-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title p { color: var(--muted); max-width: 680px; margin: 0 auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: 0 2px 10px rgba(79,18,27,.05); }
.card .icon { width: 46px; height: 46px; color: var(--maroon); margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); margin: 0; }

.quote { background: var(--maroon); color: var(--cream); text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-style: italic; max-width: 820px; margin: 0 auto; line-height: 1.45; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--sans); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }

/* Two-column layout with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 3rem; align-items: start; }
.prose h2 { margin-top: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.sidebar { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: 6rem; }
.sidebar h3 { font-size: 1.35rem; }
.sidebar ul { margin: 0; padding-left: 1.1rem; }
.sidebar li { margin-bottom: .45rem; }
.sidebar li::marker { color: var(--gold); }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.2rem 0 1.6rem; }
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.tool strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--maroon); }
.tool span { color: var(--muted); font-size: .95rem; }

/* Sessions */
.sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: s; }
.session { display: grid; grid-template-columns: 70px 1fr; gap: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; align-items: start; }
.session .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.session h3 { margin-bottom: .35rem; }
.session p { color: var(--muted); margin: 0; }

/* Form */
.form-wrap { max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 2.2rem; }
.field { margin-bottom: 1.2rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--maroon-dark); }
input, select, textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--cream); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { min-height: 160px; resize: vertical; }
.disclaimer { font-size: .92rem; color: var(--muted); background: var(--cream-deep); border-left: 3px solid var(--gold); padding: .8rem 1rem; border-radius: 4px; margin: 1.2rem 0; }
.form-status { margin-top: 1rem; font-weight: 600; color: var(--maroon); }

/* Footer */
.site-footer { background: var(--maroon-dark); color: var(--cream-deep); padding: 2.5rem 0; font-size: .92rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--gold-soft); }
.site-footer .foot-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-header { position: static; }
  .session { grid-template-columns: 52px 1fr; padding: 1.2rem; }
  .session .num { font-size: 2rem; padding-right: .6rem; }
}
