/* ============================================================
   Beyond the Shadow – Coaching with Manicus
   Calm, muted palette. Edit the :root variables to rebrand.
   ============================================================ */

:root {
  /* Soft warm off-whites and quiet charcoal — nothing bright */
  --bg: #f6f3ef;
  --bg-alt: #ebe6df;
  --surface: #fffdf9;
  --text: #2f2c2a;
  --text-muted: #6b6560;
  --line: #d8d1c8;
  --accent: #5c5651;          /* subtle charcoal for buttons / links */
  --accent-hover: #3f3b38;
  --max: 68rem;               /* content width */
  --narrow: 40rem;
  --space: clamp(1.25rem, 3vw, 2rem);
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2 * var(--space), var(--narrow));
}

/* Header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

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

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

/* Hero ------------------------------------------------------ */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--text);
  max-width: 32rem;
}

.audience {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.credential {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

.credential a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.credential a:hover {
  color: var(--text);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  color: var(--surface) !important;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.hero-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--text) 8%, transparent);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Who I work with cards ------------------------------------- */

.cards {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.35rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

/* Prefer reduced motion ------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


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

.page-intro {
  padding-bottom: 0;
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
}

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

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}


/* Contact links ---------------------------------------------- */

.contact-links {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  width: fit-content;
}

.contact-links a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}
