/* First Touch Ministry — landing page. Bold and modern: dark, big type, FTM green. */

:root {
  /* Navy from the ministry logos, beside the FTM green (Daryll, 2026-09-26). */
  --navy: #0a2d8c;
  --navy-deep: #07205f;
  --light: #f4f6f2;
  --bg: #0b0f0c;
  --bg-2: #111813;
  --card: #151d17;
  --line: #243027;
  --text: #f1f5f1;
  --muted: #a3b0a6;
  --green: #5cb85c;
  --green-strong: #84cd84;
  --green-deep: #2f6b2f;
  --radius: 18px;
  --wrap: 1120px;
  --font-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-strong); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green-strong); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--green); color: #07130a; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── Buttons ── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #07130a;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { background: var(--green-strong); border-color: var(--green-strong); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(241, 245, 241, .35); }
.btn--ghost:hover { background: rgba(241, 245, 241, .08); border-color: var(--text); color: var(--text); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--dark { background: #07130a; border-color: #07130a; color: var(--green-strong); }
.btn--dark:hover { background: #0f2414; border-color: #0f2414; color: #fff; }

/* ── Header ── */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .2s ease, box-shadow .2s ease; }
.top.is-scrolled { background: rgba(11, 15, 12, .88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav__links li:has(.btn--ghost) { margin-left: 4px; }
.nav__links a:not(.btn) { display: inline-block; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav__links a:not(.btn):hover { opacity: 1; color: var(--green-strong); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: 0 auto; }
.nav__bars::before, .nav__bars::after { content: ''; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded='true'] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded='true'] .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded='true'] .nav__bars::after { top: 0; transform: rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 75% 35%, rgba(92, 184, 92, .38), transparent 70%),
    radial-gradient(35% 40% at 15% 85%, rgba(47, 107, 47, .45), transparent 70%),
    radial-gradient(60% 60% at 50% 50%, #0f1a12, var(--bg) 70%);
}
.hero__inner { position: relative; }
/* The glow fades into the page instead of stopping where the hero does. */
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.eyebrow { margin: 0 0 14px; color: var(--green-strong); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow--dark { color: #0b2410; }
.hero__title { font-size: clamp(52px, 11vw, 132px); font-weight: 800; letter-spacing: -0.04em; }
.hero__title em { font-style: normal; color: var(--green); }
.nw { white-space: nowrap; }
.actions--hero .btn { min-height: 60px; padding: 0 32px; font-size: 18px; }
.hero__when { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(21, 29, 23, .7); font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(92, 184, 92, .2); }

/* ── Sections ── */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); }
.section__title { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin-bottom: 40px; }
.lead { font-size: 20px; color: var(--text); margin: 0 0 24px; }

/* Plan your visit */
.visit { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: stretch; }
.visit__aside { display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.facts { margin: 0; display: grid; gap: 18px; }
.fact { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fact dt { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-strong); margin-bottom: 4px; }
.fact dd { margin: 0; color: var(--text); }
.visit__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.visit__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 28% 82%; }
.visit__photo figcaption {
  position: absolute; inset: auto 0 0; padding: 60px 22px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-family: var(--font-head); font-size: 26px; font-weight: 800;
}
.map { position: relative; min-height: 260px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.88) hue-rotate(180deg) saturate(.8); }
.map__open {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center;
  color: var(--text); text-decoration: none;
  background:
    linear-gradient(rgba(92, 184, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(92, 184, 92, .07) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--card);
}
.map__pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--green); transform: rotate(-45deg); box-shadow: 0 0 0 8px rgba(92, 184, 92, .18); margin-bottom: 6px; }
.map__where { font-weight: 600; }
.map__cta { margin-top: 6px; padding: 10px 18px; border: 1px solid rgba(241, 245, 241, .35); border-radius: 999px; font-weight: 600; font-size: 15px; }
.map__open:hover .map__cta { background: rgba(241, 245, 241, .08); border-color: var(--text); }

/* Every week */
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.week > li { grid-column: span 2; }
.week > li:nth-child(n + 4) { grid-column: span 3; }
.card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.card__when { margin: 0 0 12px; color: var(--green-strong); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.card__title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.card__text { margin: 0; color: var(--muted); }
.card--youth { background: linear-gradient(135deg, var(--green-deep), #173b1a); border-color: transparent; }
.card--youth .card__when { color: #c9f0c9; }
.card--youth .card__text { color: #d9eed9; }

/* Youth: the letters and their logos as one block, centred in its half; the words beside it. */
.youth {
  color: #07130a; overflow: hidden;
  background:
    radial-gradient(60% 90% at 20% 50%, rgba(255, 255, 255, .18), transparent 60%),
    var(--green);
}
.youth__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-top: 100px; padding-bottom: 100px; }
.youth__brand { justify-self: center; display: grid; gap: 22px; width: min(100%, 440px); }
.youth__big {
  margin: 0; font-family: var(--font-head); font-weight: 800; line-height: .78; letter-spacing: -0.05em;
  font-size: clamp(112px, 17vw, 208px); text-align: center; color: #07130a;
}
/* On a white panel: the logos' own green would vanish into the band's. As wide as the letters. */
.youth__logos {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -18px rgba(7, 19, 10, .5);
}
.youth__logos img { width: 100%; height: auto; max-height: 64px; object-fit: contain; }
.youth__x { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy-deep); }
.youth__text { max-width: 520px; }
.youth__title { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; margin-bottom: 18px; }
.youth__when { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 700; font-size: 20px; }
.youth__dot { width: 10px; height: 10px; border-radius: 50%; background: #07130a; }
.youth__text p:not(.youth__when):not(.eyebrow) { margin: 0 0 26px; font-size: 18px; line-height: 1.6; }

/* Ministries: a light band so the logos show in their own colors */
.ministries { background: var(--light); color: var(--navy-deep); padding: 110px 0; }
.eyebrow--navy { color: var(--navy); }
.ministries__title { color: var(--navy-deep); max-width: 760px; }
.mins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.min {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 0 rgba(7, 32, 95, .06), 0 12px 30px -18px rgba(7, 32, 95, .35);
}
/* Every logo in the same box, sized by its shape, so the cards read as one set. */
.min__mark { align-self: stretch; height: 128px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #e6eaf2; box-sizing: content-box; }
.min__logo { display: block; width: auto; max-width: 100%; object-fit: contain; }
.min__logo--square { height: 118px; }
.min__logo--wide { height: auto; width: 270px; max-height: 108px; }
.min__mark--pair { flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.min__mark--pair .min__logo { height: 56px; width: auto; }
.min__when { margin: 0 0 8px; color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.min__text { margin: 0; color: #3d4a63; }

/* Pastors */
.welcome { margin: 0 0 56px; padding: 0 0 0 26px; border-left: 4px solid var(--green); max-width: 820px; }
.welcome p { margin: 0 0 14px; font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; }
.welcome footer { color: var(--green-strong); font-weight: 600; }
.pastors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pastor { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-align: center; }
.pastor__face {
  display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 18px;
  border-radius: 50%; border: 2px solid var(--green-deep); background: rgba(92, 184, 92, .08);
  font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--green-strong);
}
.pastor__face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* A photo in place of the initials: a thin green ring around it, no fill behind. */
.pastor__face--photo { overflow: hidden; padding: 3px; background: none; border-color: var(--green); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.pastor__face--photo:hover { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(92, 184, 92, .18); }
.pastor__face--photo:focus-visible { outline: 3px solid var(--green-strong); outline-offset: 4px; }

/* The larger photo, over the page. */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92svh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 6, .82); backdrop-filter: blur(6px); }
.lightbox__figure { margin: 0; }
.lightbox__img { display: block; width: 100%; height: auto; max-height: 82svh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.lightbox__caption { margin-top: 14px; text-align: center; color: var(--text); font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(241, 245, 241, .3); background: var(--card); color: var(--text); cursor: pointer;
}
.lightbox__close::before, .lightbox__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: currentColor; }
.lightbox__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox__close:hover { background: var(--line); }
@media (max-width: 480px) {
  .lightbox__close { top: 8px; right: 8px; }
}
.pastor__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.pastor__role { margin: 0; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--bg); }
.foot__row { display: grid; grid-template-columns: 1fr auto auto; column-gap: 96px; row-gap: 32px; }
.foot__logo { height: 42px; width: auto; }
.foot__tag { margin: 12px 0 0; color: var(--muted); }
.foot__contact { font-style: normal; color: var(--muted); }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot__links a, .foot__contact a { display: inline-block; padding: 10px 0; }
.foot__contact { line-height: 1.7; }
.foot__links a, .foot__contact a { color: var(--text); text-decoration: none; }
.foot__links a:hover, .foot__contact a:hover { color: var(--green-strong); }
.foot__copy { margin-top: 36px; color: var(--muted); font-size: 14px; }

/* ── Tablets and phones, widest first ── */
@media (max-width: 1080px) {
  .mins { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .js .nav__links {
    position: absolute; inset: 72px 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .js .nav__links.is-open { display: flex; }
  /* Solid while the menu is open, so nothing shows through it. */
  .top:has(.nav__links.is-open) { background: var(--bg); backdrop-filter: none; }
  .js .nav__links a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .js .nav__links li:has(.btn) { margin: 12px 0 0; }
  .js .nav__links .btn { width: 100%; min-height: 48px; }
  /* Without the script there is no menu to open: the links wrap under the logo instead. */
  html:not(.js) .nav__toggle { display: none; }
  html:not(.js) .top__row { height: auto; flex-wrap: wrap; padding: 10px 20px; }
  html:not(.js) .nav__links { flex-wrap: wrap; gap: 4px 18px; }
  .section { padding: 80px 0; }
  .visit, .youth__inner { grid-template-columns: 1fr; }
  .visit__photo img { aspect-ratio: 16 / 9; }
  .week { grid-template-columns: repeat(2, 1fr); }
  .week > li, .week > li:nth-child(n + 4) { grid-column: auto; }
  .week > li:last-child { grid-column: 1 / -1; }
  .ministries { padding: 80px 0; }
  .youth__inner { gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .youth__brand { justify-self: start; width: min(100%, 360px); }
  .youth__big { font-size: clamp(96px, 30vw, 170px); text-align: left; }
  .youth__text { max-width: 60ch; }
  .foot__row { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .foot__row > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .week { grid-template-columns: 1fr; }
  .mins { grid-template-columns: 1fr; }
  .min__mark { height: 108px; }
  .min__logo--square { height: 100px; }
  .pastors { grid-template-columns: 1fr; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; }
  .hero__when { font-size: 15px; }
  .hero__title .nw { display: block; }
  /* Each phrase on its own line, sized so the longer one ("Touching People.") always fits. */
  .hero__title { font-size: 12vw; }
  .visit__photo figcaption { font-size: 19px; padding: 32px 16px 12px; }
}
@media (max-width: 360px) {
  .hero { padding-top: 96px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .08em; }
  .hero__when { margin-top: 20px; padding: 8px 14px; }
}
/* Phones on their side: the first screen still shows the time and the buttons. */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 96px 0 48px; }
  .hero__title { font-size: clamp(40px, 13svh, 72px); }
  .hero__when, .actions--hero { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
