/* Zeal For Zion — v2
   Cream mast, full banner (no overlay), navy teaching board.
   Deep navy, warm gold, cream. */

:root {
  --navy: #0c1728;
  --navy-deep: #08111c;
  --navy-soft: #1b2d46;
  --gold: #c9a45a;
  --gold-bright: #e4c57a;
  --cream: #f6efe2;
  --cream-paper: #fbf6ec;
  --ink: #1a1610;
  --muted: #6e665b;
  --rule: rgba(201, 164, 90, 0.38);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p,
ol,
ul {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  z-index: 100;
  font-weight: 500;
}

.skip:focus {
  top: 1rem;
}

/* Header sits above the banner — never over the art */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream-paper);
  border-bottom: 1px solid rgba(12, 23, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand:hover .brand-name,
.brand:focus-visible .brand-name {
  color: #8a6d28;
}

.mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201, 164, 90, 0.55);
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #8a6d28;
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(12, 23, 40, 0.18);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Banner: full artwork, no overlay, no text on the image */

.masthead {
  background: var(--cream-paper);
}

.banner {
  margin: 0;
  background: var(--cream-paper);
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.intro {
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
}

.intro-inner {
  padding: 3.25rem 0 3.6rem;
  max-width: 46rem;
}

.kicker {
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--navy-soft);
  max-width: 32rem;
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.intro h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.lede {
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  max-width: 34rem;
  color: var(--navy-soft);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.8rem 1.3rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-navy:hover,
.btn-navy:focus-visible {
  background: var(--navy-soft);
}

.btn-line {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-line:hover,
.btn-line:focus-visible {
  border-color: var(--gold);
  color: #8a6d28;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

section h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.section-intro {
  color: rgba(246, 239, 226, 0.62);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Mission: navy field, two stacked columns with a gold gutter */

.mission {
  padding: 5.5rem 0;
  background: var(--navy);
  color: var(--cream);
}

.mission .section-label {
  margin-bottom: 1.8rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
}

.mission-card {
  padding: 0 0 0 1.35rem;
  border-left: 2px solid var(--gold);
}

.mission-card p {
  font-size: 1.08rem;
  color: rgba(246, 239, 226, 0.9);
  max-width: 36em;
}

/* Teaching: cream paper, large unpadded numbers 1–7 */

.teaching {
  padding: 5.75rem 0 6rem;
  background: var(--cream-paper);
  color: var(--ink);
}

.teaching h2 {
  color: var(--navy);
}

.teaching .section-intro {
  color: var(--muted);
}

.spine {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(12, 23, 40, 0.1);
}

.spine li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 1.4rem 1.6rem 0;
  border-bottom: 1px solid rgba(12, 23, 40, 0.1);
  align-items: start;
}

.spine li:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid rgba(12, 23, 40, 0.1);
}

.spine li:nth-child(even) {
  padding-left: 2rem;
}

.spine .num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.15rem;
}

.spine h3 {
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.spine p {
  color: var(--muted);
  font-size: 1.02rem;
}

.spine li:hover h3 {
  color: #8a6d28;
}


/* Tone: short, not a sermon */

.tone {
  padding: 4.5rem 0 5rem;
  background: var(--navy);
  color: var(--cream);
}

.tone h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.tone-copy {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(246, 239, 226, 0.9);
}

/* Work */

.work {
  padding: 5.5rem 0;
  background: var(--cream);
}

.work h2 {
  color: var(--navy);
}

.channels {
  list-style: none;
  padding: 0;
  margin: 2rem 0 2.6rem;
}

.channels li {
  display: grid;
  grid-template-columns: minmax(10rem, 1.15fr) minmax(10rem, 1.35fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(12, 23, 40, 0.1);
}

.channels li:first-child {
  border-top: 1px solid rgba(12, 23, 40, 0.1);
}

.channels strong {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
}

.channels span {
  color: var(--muted);
}

.channels a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s, border-color 0.2s;
}

.channels a:hover,
.channels a:focus-visible {
  color: #8a6d28;
  border-color: #8a6d28;
}

.channels em {
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  justify-self: end;
}

.soon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.4rem;
}

.soon-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.soon-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.soon-list li {
  font-size: 0.84rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(12, 23, 40, 0.14);
  color: var(--ink);
}

.soon-list li::after {
  content: " · Coming soon";
  color: var(--muted);
  font-size: 0.75em;
}


/* Posts: live X timeline in a constrained card */

.posts {
  padding: 5.5rem 0 6rem;
  background: var(--cream-paper);
}

.posts h2 {
  color: var(--navy);
}

.posts .section-intro {
  color: var(--muted);
  margin-bottom: 2.4rem;
}

.posts .section-intro a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s, border-color 0.2s;
}

.posts .section-intro a:hover,
.posts .section-intro a:focus-visible {
  color: #8a6d28;
  border-color: #8a6d28;
}

.posts-stage {
  display: flex;
  justify-content: center;
}

.posts-card {
  width: min(100%, 36rem);
  background: #fffdf8;
  border: 1px solid rgba(201, 164, 90, 0.45);
  box-shadow: 0 18px 40px rgba(12, 23, 40, 0.08);
  overflow: visible;
}

.posts-card-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  padding: 1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(12, 23, 40, 0.08);
  background: var(--cream);
}

.posts-embed {
  min-height: 28rem;
  padding: 0.35rem 0.6rem 0.75rem;
  background: linear-gradient(#fffdf8, var(--cream-paper));
}

.posts-embed .twitter-timeline {
  display: block;
  color: var(--navy);
  text-decoration: none;
  padding: 2.4rem 1.4rem;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  text-align: center;
}

.posts-embed iframe {
  width: 100% !important;
}

/* Contact */

.contact {
  padding: 5rem 0 5.5rem;
  background: var(--navy-deep);
  color: var(--cream);
}

.contact h2 {
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.contact-line {
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
}

.contact-line a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 197, 122, 0.4);
  transition: border-color 0.2s, color 0.2s;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(246, 239, 226, 0.5);
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid rgba(201, 164, 90, 0.18);
}

.footer-inner p {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

  .spine li:nth-child(odd),
  .spine li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 1.7rem));
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--cream-paper);
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1.2rem 1.1rem;
    border-bottom: 1px solid rgba(12, 23, 40, 0.1);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(12, 23, 40, 0.08);
  }

  .intro-inner {
    padding: 2.4rem 0 2.6rem;
  }

  .mission,
  .teaching,
  .tone,
  .work,
  .posts,
  .contact {
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .channels li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .channels em {
    justify-self: start;
    margin-top: 0.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
