/* ==========================================================================
   Landing pages: /services/, /areas/, /industries/ and the pages under them.
   Loaded after styles.css and uses its tokens. No WebGL on these pages: the "space"
   is a quiet star chart and the HUD-style readouts carry the rocket theme instead.
   ========================================================================== */

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: clip;
  padding: calc(var(--nav-h) + clamp(28px, 5vw, 72px)) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 34% 70%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 58% 14%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1.5px 1.5px at 86% 62%, rgba(143, 178, 255, .7), transparent),
    radial-gradient(1px 1px at 72% 88%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(60% 70% at 85% 30%, rgba(0, 51, 205, .22), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lp-hero-copy { display: grid; gap: clamp(18px, 2.4vh, 28px); min-width: 0; }
.lp-hero h1 { display: grid; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; letter-spacing: -.02em; font-weight: 900; font-variation-settings: 'wdth' 118; }
.lp-hero h1 .line { display: block; width: fit-content; max-width: 100%; }
.lp-lede { max-width: 54ch; color: var(--ink-dim); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.lp-hero-side { display: grid; gap: 24px; min-width: 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; color: var(--ink-mute); }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--blue-hi); }
.crumbs a { display: inline-block; color: var(--ink-dim); padding: 12px 4px; margin: -6px -4px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--blue-ice); }

/* ---------- Readout (the "mission card") ---------- */
.readout {
  position: relative; background: rgba(8, 13, 32, .78); box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(18px, 2vw, 26px);
}
/* Corner brackets, like the frames on the home page's project cards. */
.readout::before, .readout::after { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid var(--blue-ice); pointer-events: none; }
.readout::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.readout::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.readout-t { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.readout-t i { width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 12px var(--cyan); }
.readout dl { display: grid; }
.readout dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.readout dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding-top: 2px; }
.readout dd { font-size: .95rem; color: var(--ink); }

/* ---------- Flight map (area pages) ---------- */
.fmap { width: 100%; height: auto; max-height: 520px; font-family: var(--mono); }
.fmap-grid line { stroke: rgba(143, 178, 255, .07); stroke-width: 1; }
.fmap-routes line { stroke: rgba(143, 178, 255, .28); stroke-width: 1; stroke-dasharray: 3 5; }
.fmap-routes line.on { stroke: var(--blue-hi); stroke-width: 2; stroke-dasharray: 6 5; animation: route 1.2s linear infinite; }
@keyframes route { to { stroke-dashoffset: -22; } }
.fmap-pt rect { fill: var(--bg); stroke: var(--blue-ice); stroke-width: 1.5; }
.fmap-pt text { fill: var(--ink-dim); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.fmap-pt.base rect { fill: var(--blue-hi); stroke: #fff; }
.fmap-pt.on rect { fill: var(--cyan); stroke: #fff; }
.fmap-pt.on text { fill: #fff; font-weight: 500; }
.fmap a:hover text, .fmap a:focus-visible text { fill: #fff; text-decoration: underline; }
.fmap a:hover rect { fill: var(--blue-hi); }
.fmap a:focus-visible { outline: none; }
.fmap a:focus-visible rect { stroke: var(--cyan); stroke-width: 3; }
.fmap-rk { color: var(--blue-ice); }

/* ---------- Sections ---------- */
.lp-sec { padding-block: clamp(64px, 9vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.lp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.lp-sec-head { display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 24px); }
.lp-sec h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); max-width: 16ch; }
.lp-sub { color: var(--ink-dim); max-width: 40ch; }
.lp-prose { display: grid; gap: 18px; max-width: 64ch; }
.lp-prose p { color: var(--ink-dim); }
.lp-prose a:not(.lp-more), .lp-note a { color: var(--blue-ice); text-decoration: underline; text-underline-offset: 3px; }
.lp-prose a:not(.lp-more):hover, .lp-note a:hover { color: #fff; }
.lp-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ice); padding: 8px 0; }
.lp-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.lp-more:hover { color: #fff; }
.lp-more:hover svg { transform: translateX(5px); }

/* Numbered rows: the home page's service list, compacted. */
.lp-items { border-top: 1px solid var(--line); counter-reset: none; }
.lp-items li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 16px; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); }
.lp-n { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--blue-ice); padding-top: .3em; }
.lp-items h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.05; margin-bottom: 8px; }
.lp-items p { color: var(--ink-dim); max-width: 58ch; }
.lp-kick { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute) !important; margin-bottom: 6px; }

/* Hub index rows: the whole row is the link (via the heading's ::after). */
.lp-index li { transition: background .25s; }
.lp-index h3 a::after { content: ''; position: absolute; inset: 0; }
.lp-index h3 a:focus-visible { outline: none; }
.lp-index li:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.lp-index li:hover { background: linear-gradient(90deg, rgba(42, 98, 255, .12), transparent 70%); }
.lp-index li:hover h3 { color: var(--blue-ice); }
.lp-go { align-self: center; color: var(--blue-ice); }
.lp-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.lp-index li:hover .lp-go svg { transform: translateX(6px); }

.lp-notes { padding-block: 0 clamp(40px, 5vw, 64px); }
.lp-note { color: var(--ink-dim); max-width: 70ch; margin-left: auto; padding: 18px 22px; box-shadow: inset 2px 0 0 var(--blue-hi); background: rgba(10, 16, 36, .5); }
.lp-work + .lp-notes { margin-top: calc(clamp(64px, 9vw, 130px) * -.5); padding-top: 0; }

/* FAQ reuses the home page's <details> styling. */
.lp-sec .faq-list { border-top: 1px solid var(--line); }
.lp-sec summary { font-size: clamp(1rem, 1.4vw, 1.2rem); }

/* ---------- Related links ---------- */
.lp-rel-h { margin-bottom: clamp(28px, 4vw, 48px); }
.lp-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.lp-rel-col h3 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .2em; color: var(--blue-ice); margin-bottom: 14px; font-variation-settings: normal; }
.lp-rel-col ul { border-top: 1px solid var(--line); }
.lp-rel-col li { border-bottom: 1px solid var(--line); padding: 4px 0 10px; }
.lp-rel-col a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 4px; font-weight: 700; font-size: 1.05rem; }
.lp-rel-col a svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue-ice); stroke-width: 2; transition: transform .3s var(--ease); }
.lp-rel-col a:hover { color: var(--blue-ice); }
.lp-rel-col a:hover svg { transform: translateX(5px); }
.lp-rel-col p { color: var(--ink-mute); font-size: .9rem; }

/* ---------- Call to action band ---------- */
.lp-cta { background: linear-gradient(180deg, transparent, rgba(0, 51, 205, .16) 40%, rgba(0, 51, 205, .26)); padding-bottom: clamp(72px, 10vw, 140px); }
.lp-cta .stripe { margin-bottom: clamp(56px, 8vw, 110px); }
.lp-cta-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.lp-cta h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 13ch; }
.lp-cta-side { display: grid; gap: 22px; }
.lp-cta-side p { color: var(--ink-dim); max-width: 42ch; }

/* ---------- Footer with the full link set ---------- */
.lp-foot { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
.foot-col { display: grid; align-content: start; gap: 2px; font-size: .92rem; }
.foot-col a { color: var(--ink-dim); padding: 10px 0; min-width: 44px; width: fit-content; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-h { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.foot-h a { color: var(--blue-ice); }
.foot-mail { color: var(--blue-ice); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lp-foot .foot-social { display: flex; flex-wrap: wrap; gap: 0 22px; }

/* Current section in the landing-page nav. */
.nav-links a[aria-current='page']:not(.btn) { color: #fff; }
.nav-links a[aria-current='page']:not(.btn)::after { right: 0; }

/* ---------- Responsive ---------- */
/* ---------- Featured service (services hub) ---------- */
.lp-feat { background: linear-gradient(180deg, rgba(0, 51, 205, .12), transparent 80%); }
.lp-feat .eyebrow { color: var(--cyan); }
.lp-feat h2 { font-variation-settings: 'wdth' 112; }
.lp-feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.lp-feat-list li { background: var(--bg); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.lp-feat-list li::before { content: ''; width: 10px; height: 10px; background: var(--blue-hi); transform: rotate(45deg); }
.lp-feat-list h3 { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.08; }
.lp-feat-list p { color: var(--ink-dim); }

/* ---------- Market My Church panel ----------
   Dressed in MMC's own brand, from mmc.blueshiftmarketing.io: navy #041529, red #BF0B30, tan #A98974,
   Orelega One titles, Oswald text, the wavy colour strip, the white logo and the red pill button.
   Fonts and art are self-hosted (fonts/mmc/, brand/mmc/); the fonts only download on pages that show the panel. */
@font-face { font-family: 'Orelega One'; src: url(../fonts/mmc/orelega-one.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url(../fonts/mmc/oswald.woff2) format('woff2'); font-weight: 200 700; font-display: swap; }
.lp-mmc {
  --mmc-navy: #041529; --mmc-red: #BF0B30; --mmc-red-dk: #F32650; --mmc-tan: #A98974; --mmc-paper: #FCFCFC;
  --mmc-title: 'Orelega One', Rockwell, Georgia, serif; --mmc-text: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  position: relative; background: var(--mmc-navy); color: var(--mmc-paper); scroll-margin-top: var(--nav-h);
}
.lp-mmc-strip { display: block; width: 100%; height: 12px; }
.lp-mmc-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); align-items: center; }
.lp-mmc-brand { display: grid; gap: 18px; justify-items: start; }
.lp-mmc-logo { width: clamp(200px, 22vw, 300px); height: auto; }
.lp-mmc-k { font: 500 .95rem/1 var(--mmc-text); letter-spacing: .14em; text-transform: uppercase; color: var(--mmc-tan); display: flex; align-items: center; gap: 12px; }
.lp-mmc-k::before { content: ''; width: 36px; height: 2px; background: var(--mmc-red-dk); }
.lp-mmc-copy { display: grid; gap: 20px; }
.lp-mmc h2 { font: 400 clamp(2rem, 3.6vw, 3.2rem)/1.04 var(--mmc-title); letter-spacing: 0; text-transform: none; max-width: 20ch; color: #fff; }
.lp-mmc-t { font: 400 clamp(1.05rem, 1.3vw, 1.2rem)/1.55 var(--mmc-text); color: #d9dee6; max-width: 54ch; }
.lp-mmc-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.lp-mmc-go {
  display: inline-flex; align-items: center; justify-content: center; padding: 1.05em 2em 1.1em; border-radius: 999px;
  border: 2px solid var(--mmc-red); background: var(--mmc-red); color: #fff;
  font: 400 .95rem/1 var(--mmc-title); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.lp-mmc-go:hover { background: #fff; border-color: #fff; color: var(--mmc-navy); transform: translateY(-2px); }
.lp-mmc-go:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lp-mmc-url { font: 400 .9rem/1 var(--mmc-text); letter-spacing: .08em; color: var(--mmc-tan); }

@media (max-width: 1000px) {
  .lp-mmc-in { grid-template-columns: 1fr; align-items: start; }
  .lp-hero-grid, .lp-split, .lp-cta-in { grid-template-columns: 1fr; }
  .lp-sec-head { position: static; }
  .lp-hero-side { max-width: 560px; }
  .lp-rel-grid { grid-template-columns: 1fr 1fr; }
  .lp-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-foot .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .lp-feat-list { grid-template-columns: 1fr; }
  /* Normal width on phones so the longest single words (RESTAURANTS., BLOOMINGTON.) fit at 320-390 px. */
  .lp-hero h1 { font-size: min(9.4vw, 3.4rem); font-variation-settings: 'wdth' 100; }
  .lp-cta h2 { font-size: min(9.6vw, 2.4rem); }
  .lp-items li { grid-template-columns: 36px minmax(0, 1fr); }
  .lp-go { display: none; }
  .lp-rel-grid { grid-template-columns: 1fr; }
  .lp-foot { grid-template-columns: 1fr 1fr; }
  .readout dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .fmap-routes line.on { animation: none; }
  .lp-index li, .lp-more svg, .lp-rel-col a svg, .lp-go svg { transition: none; }
}
