/* =========================================================
   MARRIED ON PURPOSE — Design System
   Palette pulled from the brand logo (navy + sky blue),
   warmed with a sand/paper neutral so it doesn't read cold.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&family=Petit+Formal+Script&display=swap');

:root {
  --ink-navy: #111111;
  --purpose-blue: #B07B16;
  --sky-cyan: #E8A93C;
  --paper: #F7F4EC;
  --warm-sand: #EDE1C6;
  --white: #FFFFFF;
  --text-soft: #5A5548;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --script: 'Petit Formal Script', cursive;

  --max-width: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Signature underline stroke (from the logo swoosh) ---------- */
.stroke {
  position: relative;
  display: inline-block;
}
.stroke svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.35em;
  overflow: visible;
}
.stroke path {
  fill: none;
  stroke: var(--sky-cyan);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw-stroke 1s ease-out 0.3s forwards;
}
@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stroke path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ink-navy);
  border-bottom: 2px solid var(--sky-cyan);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img {
  height: 62px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a.active { color: var(--sky-cyan); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--sky-cyan);
}
.nav-cta {
  background: var(--sky-cyan);
  color: var(--ink-navy) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px !important;
}
.nav-cta.active { color: var(--ink-navy) !important; }
.nav-cta.active::after { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0A0A0A 0%, #1A1A1A 62%, #262218 100%);
  color: var(--white);
  padding: 96px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero-photo-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: 0;
  opacity: 0;
  transform: scale(1.09);
  animation: heroPhotoIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroPhotoIn {
  0% { opacity: 0; transform: scale(1.09); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-layer { animation: none; opacity: 1; transform: scale(1); }
}
.hero-bg {
  background-image: url('hero-photo.jpg');
  background-position: center;
}
.hero-photo-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.5) 35%, rgba(10,10,10,0.22) 70%, rgba(10,10,10,0.12) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,169,60,0.22) 0%, rgba(232,169,60,0) 70%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 3;
  display: block;
}
.hero-curve path { fill: var(--paper); }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-cyan);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.08;
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--sky-cyan);
  font-size: 1.18em;
  padding: 0 0.06em;
}
.hero p.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  font-family: var(--body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky-cyan); color: var(--ink-navy); }
.btn-primary:hover { background: #D4961F; }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-solid { background: var(--ink-navy); color: var(--white); }
.btn-solid:hover { background: #2A2A2A; }

/* ---------- Section scaffolding ---------- */
section { padding: 88px 0; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purpose-blue);
  margin-bottom: 14px;
}
h2.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 18ch;
}
.section-intro {
  color: var(--text-soft);
  font-size: 17px;
  max-width: 62ch;
  margin-bottom: 44px;
}
.section-sand { background: var(--warm-sand); }
.section-navy { background: var(--ink-navy); color: var(--white); }
.section-navy .eyebrow { color: var(--sky-cyan); }

.press-strip {
  background: var(--paper);
  text-align: center;
  padding: 30px 0 8px;
}
.press-card {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(27,27,27,0.1);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 4px 16px -8px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.press-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.2);
}
.press-card-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ink-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-card-thumb svg { width: 30px; height: 30px; }
.press-card-text { min-width: 0; }
.press-card-site {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purpose-blue);
  margin-bottom: 3px;
}
.press-card-headline {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-navy);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.press-card-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sky-cyan);
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-navy);
  box-shadow: 0 20px 50px -20px rgba(27,36,86,0.35);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}
.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-nav {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer; padding: 0;
  transition: all 0.25s;
}
.carousel-dot.active { background: var(--sky-cyan); width: 26px; border-radius: 5px; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(27,36,86,0.55);
  color: var(--white);
  border: none; width: 40px; height: 40px; border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-caption {
  position: absolute; top: 16px; left: 16px;
  background: rgba(27,36,86,0.6);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(27,36,86,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
}
.testimonial-mark {
  font-family: var(--display);
  font-size: 46px;
  color: var(--sky-cyan);
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-quote {
  font-size: 15.5px;
  color: var(--ink-navy);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}
.testimonial-tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--purpose-blue);
}

/* ---------- Mission strip ---------- */
.mission-strip {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.mission-strip .scripture {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.5;
  margin-bottom: 14px;
}
.mission-strip .ref {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purpose-blue);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-navy);
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 26px;
}

/* ---------- Bio / About layout ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.bio-photo {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--warm-sand);
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.bio-text p { margin-bottom: 18px; color: var(--text-soft); font-size: 16.5px; }
.bio-placeholder {
  border: 2px dashed rgba(27,36,86,0.2);
  border-radius: 14px;
  padding: 22px;
  color: var(--text-soft);
  font-size: 14.5px;
  background: rgba(228,218,195,0.35);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 26px;
  border: 1px solid rgba(27,36,86,0.08);
}
.value-card .num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--sky-cyan);
  font-weight: 700;
  margin-bottom: 12px;
}
.value-card h3 {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 10px;
}
.value-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}
.form-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px;
  border: 1px solid rgba(27,36,86,0.08);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 7px;
  color: var(--ink-navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(27,36,86,0.15);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 14.5px;
  background: var(--paper);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky-cyan);
  box-shadow: 0 0 0 3px rgba(232,169,60,0.22);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--ink-navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.form-submit:hover { background: #2A2A2A; }
.form-success {
  display: none;
  background: var(--paper);
  border: 1px solid var(--sky-cyan);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  color: var(--ink-navy);
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

.contact-info-card {
  background: var(--ink-navy);
  color: var(--white);
  border-radius: 18px;
  padding: 36px 30px;
}
.contact-photo {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  max-height: 260px;
}
.contact-photo-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: -10px 0 22px;
}
.contact-info-card h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 20px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--white);
}
.contact-row .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-row span.label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}
.contact-row span.value { font-weight: 600; font-size: 14.5px; }

.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 17px;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--sky-cyan); color: var(--ink-navy); }
.social-btn svg, .footer-social a svg { width: 17px; height: 17px; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-navy);
  color: rgba(255,255,255,0.75);
  padding: 52px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 46px; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--sky-cyan); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--white); font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 70px 0 100px; }
}
