/* ==========================================================================
   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: "Newsreader", "Times New Roman", 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: 560;
  font-optical-sizing: auto;
  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 {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.nav-logo .logo-mark {
  flex-shrink: 0;
  width: 34px;
  height: 17px;
}

.nav-logo .logo-full {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nav-logo .logo-full { display: none; }
}

/* Standalone brand badge — AoG monogram over the skyline, sits above the homepage hero */
.brand-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto 40px;
}

.brand-badge .logo-mono {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 0.9;
}

.brand-badge .logo-mono-o {
  font-size: 0.62em;
  vertical-align: baseline;
  margin: 0 -0.05em;
  letter-spacing: -0.03em;
}

.brand-badge .logo-mark {
  width: 120px;
  height: 60px;
}

.brand-badge .brand-caption {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.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);
}

.btn-ghost {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-line);
}

.btn-ghost:hover {
  text-decoration-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;
}

/* Resource cards (resources.html) — preview image + smaller body copy */
.resource-card .resource-thumb {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-line);
  margin-bottom: 20px;
}

.resource-card p {
  font-size: 0.875rem;
}

/* About page bio copy — a touch larger than body default */
.bio-text p {
  font-size: 1.0625rem;
}

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

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

/* Offer comparison (Advocate/Architect) — plain columns, top-aligned */
.offers-grid {
  align-items: start;
}

/* How it works — grid so matching steps line up at the same height */
.steps-grid {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  align-items: stretch;
  row-gap: 24px;
}

.steps-grid .card {
  height: 100%;
}

/* Coaching page — what's included, per offer, equal-height boxes */
.included-grid {
  align-items: stretch;
}

.included-grid .card {
  display: flex;
  flex-direction: column;
}

.included-grid .card hr {
  margin-top: auto;
}

/* ---------- 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);
}

.no-times-note {
  text-align: center;
  margin-top: 16px;
}

/* ---------- Form fields (screener) ---------- */

.field-grid {
  display: grid;
  gap: 18px;
}

label.field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.hint {
  font-size: 0.75rem;
  color: var(--color-text-soft);
  margin-top: 5px;
}

input.field,
textarea.field,
select.field {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 11px 14px;
}

input.field:focus,
textarea.field:focus,
select.field:focus {
  border-color: var(--color-accent);
  outline: none;
}

textarea.field {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}

/* ---------- 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);
}
