/* Christian Executive Accelerator: shared styles for every page.
   Visual language follows the Emergent Execs design: navy and teal,
   Cormorant Garamond headings, Inter body text, square corners. */

:root {
  --navy: #18206f;
  --navy-dark: #111650;
  --teal: #47a4d4;
  --teal-light: #6dbce8;
  --teal-text: #1f78a8; /* darker teal for small text on light backgrounds, so it stays readable */
  --white: #ffffff;
  --off-white: #f8f8f6;
  --text: #1a1a2e;
  --text-muted: #5a5a72;
  --rule: #e2e2ea;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --prose: 700px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--navy);
  text-decoration-color: var(--teal);
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.9rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 2.85rem);
}

h3 {
  font-size: 1.75rem;
  line-height: 1.2;
}

p,
ul,
ol,
dl {
  margin: 0 0 1.15em;
}

strong {
  font-weight: 600;
  color: var(--text);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.prose {
  max-width: var(--prose);
}

.prose--center {
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

/* Placeholders for facts that are not set yet. Search for "todo" to find them. */
.todo {
  background: #fff1b8;
  outline: 1px dashed #c9a227;
  border-radius: 2px;
  padding: 0 0.25em;
  color: var(--text);
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 22px 0;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}

.wordmark span {
  color: var(--teal-text);
}

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

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

/* Teal button for dark backgrounds */
.btn--accent,
.hero .btn {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy-dark);
}

.btn--accent:hover,
.hero .btn:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--navy-dark);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.section--deep .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--teal);
  color: inherit;
}

.section--deep .btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--small {
  padding: 0.75rem 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 72px) 0;
}

.section--shaded {
  background: var(--off-white);
}

.section--deep {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--deep h2,
.section--deep h3 {
  color: var(--white);
}

.section--deep a:not(.btn) {
  color: var(--teal-light);
}

.section p,
.section li,
.section dd {
  color: var(--text-muted);
}

.section--deep p,
.section--deep li {
  color: rgba(255, 255, 255, 0.78);
}

/* Short teal rule above each section heading */
.section h2:not(.post-card h2, .post-body h2)::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 1.25rem;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.fine,
.section .fine {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pullquote,
.section .pullquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  margin: 1.4em 0;
}

.emphasis,
.section .emphasis {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.text-links a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-text);
  text-decoration: none;
}

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

/* Hero: navy band with white type */
.hero {
  background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 70%, #2a3590 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(64px, 9vw, 120px) 0;
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
}

.hero .fine {
  color: rgba(255, 255, 255, 0.6);
}

.hero .eyebrow {
  color: var(--teal-light);
}

.hero-copy > :last-child {
  margin-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.hero--plain .hero-copy {
  max-width: 860px;
}

/* Image slots. Each one is a painted-light placeholder until the real illustration is added. */
.art {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: radial-gradient(circle at 68% 28%, #fbe6b8 0, #eebd7a 22%, #c98a5c 46%, #5c5480 72%, #111650 100%);
  object-fit: cover;
}

.art--wide {
  aspect-ratio: 16 / 9;
}

.art--desk {
  background: radial-gradient(circle at 30% 20%, #fdecc8 0, #e9c08a 28%, #b98456 55%, #4a3f6b 100%);
}

.art--snow {
  background: radial-gradient(circle at 72% 30%, #f4f6f7 0, #cdd9e6 26%, #8fa3c4 52%, #c59a63 78%, #3b3a6e 100%);
}

.art--dusk {
  background: radial-gradient(circle at 50% 62%, #fbd98e 0, #e0995a 16%, #6d5a8a 44%, #18206f 74%, #111650 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.split--narrow-art {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
}

/* Lists and cards */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.7em;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 2.5em 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 32px;
}

.card > :last-child {
  margin-bottom: 0;
}

.card strong {
  color: var(--navy);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
}

.facts > div {
  padding: 24px 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  margin: 0 -1px -1px 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.facts dd,
.section .facts dd {
  margin: 6px 0 0;
  font-weight: 500;
  color: var(--text);
}

.steps {
  display: grid;
  gap: 24px;
  margin-top: 2.5em;
}

.steps > div {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--navy);
  padding: 32px;
}

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

.curriculum {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 2.5em;
}

.curriculum ol,
.curriculum ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}

.curriculum li {
  margin-bottom: 0.65em;
}

.label,
.section .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: 2.5em 0;
}

.stats li {
  padding: 8px 0 8px 28px;
  border-left: 2px solid rgba(71, 164, 212, 0.5);
  font-size: 0.95rem;
  line-height: 1.5;
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 2.5em 0 0;
}

.faq > div {
  border-top: 1px solid var(--rule);
  padding: 26px 0;
}

.faq dt {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq dd {
  margin: 0;
}

/* Bios */
.bios {
  display: grid;
  gap: 56px;
  margin-top: 2.5em;
}

.bio {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.bio img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.bio-name,
.section .bio-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 4px;
}

.bio-role,
.section .bio-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
}

/* Closing call to action band */
.cta-band {
  text-align: center;
}

.cta-band .prose {
  max-width: 640px;
  margin-inline: auto;
}

.cta-band h2::before {
  margin-inline: auto;
}

.cta-band p {
  font-size: 1.125rem;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 2em;
}

/* Forms */
.form {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: clamp(24px, 4vw, 48px);
  max-width: 760px;
}

.field {
  margin-bottom: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding: 0;
}

.field .hint {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b4b4c6;
  border-radius: var(--radius);
  padding: 12px 14px;
}

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

.field textarea {
  min-height: 140px;
  resize: vertical;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

.field .choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.choice input {
  margin-top: 0.35em;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--navy);
}

.req {
  color: var(--teal-text);
  font-weight: 400;
  font-size: 0.875rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status,
.section .form-status {
  background: #fff1b8;
  border: 1px solid #c9a227;
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  margin-bottom: 18px;
}

/* Blog */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5em;
}

.category-links a {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
}

.category-links a[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.category-links a:hover {
  border-color: var(--teal);
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(24, 32, 111, 0.1);
}

.post-card .art {
  border-radius: 0;
}

.post-card-body {
  padding: 32px;
  border-top: 3px solid var(--navy);
  flex: 1;
}

.post-card h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

/* Makes the whole card clickable */
.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card p {
  margin-bottom: 0.7em;
}

.post-card-body > :last-child {
  margin-bottom: 0;
}

.post {
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 9vw, 128px);
}

.post-header {
  max-width: 900px;
  margin: 0 auto 2.5em;
}

.post-header .art {
  margin-bottom: 2.5em;
}

.post-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--teal-text);
}

.byline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3em;
}

.post-body {
  max-width: var(--prose);
  margin-inline: auto;
}

.post-body p,
.post-body li {
  color: var(--text-muted);
}

.post-body h2 {
  font-size: 2.1rem;
  margin-top: 1.6em;
}

.post-body h3 {
  margin-top: 1.5em;
}

.post-body li {
  margin-bottom: 0.5em;
}

.personal-ad {
  background: var(--off-white);
  border-left: 2px solid var(--teal);
  padding: 24px 28px;
}

.scripture-note {
  font-size: 0.8125rem;
  margin-top: 2.5em;
}

.callout {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: clamp(24px, 4vw, 40px);
  margin: 3.5em 0 3em;
}

.callout > :last-child {
  margin-bottom: 0;
}

.author-box {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  font-size: 0.95rem;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.related {
  margin-top: 2.5em;
}

/* Vision Night agenda */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.8em 0 2.2em;
  border-left: 2px solid rgba(71, 164, 212, 0.5);
}

.timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0 12px 24px;
}

.timeline .time {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-text);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 64px 0 32px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .wordmark {
  color: var(--white);
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer .wordmark span {
  color: var(--teal-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

address {
  font-style: normal;
}

.footer-base {
  padding-top: 32px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-base p {
  margin: 0;
}

/* Small screens */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .split--narrow-art {
    grid-template-columns: 1fr;
  }

  .hero-grid .art,
  .split .art {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(100% - 40px, var(--container));
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav ul {
    gap: 24px;
  }

  .wordmark {
    font-size: 1.3rem;
  }

  .bio {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

  .post-card,
  .btn {
    transition: none;
  }
}
