:root {
  --ink: #0b2538;
  --navy: #004678;
  --blue: #0096dc;
  --blue-dark: #006da6;
  --soft: #e6f5fb;
  --ice: #f7fbfd;
  --line: #d7e7ef;
  --muted: #5e6f7c;
  --white: #fff;
  --shadow: 0 22px 60px rgba(0, 70, 120, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 920px; margin-bottom: 22px; font-size: clamp(2.55rem, 6vw, 5.1rem); line-height: 1.02; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.03; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
h1, h2, h3 { text-wrap: balance; }
p { color: var(--muted); }

.topbar { background: linear-gradient(90deg, var(--navy), #073653); color: rgba(255,255,255,.9); font-size: .88rem; }
.topbar strong { color: #bfeeff; }
.topbar-inner, .nav-inner, .wrap, .footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; }
.brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(0,150,220,.18); border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0,70,120,.12); overflow: hidden; }
.brand-mark img { width: 44px; height: 44px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: .76rem; font-weight: 650; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 750; font-size: .95rem; }
.nav-links a { position: relative; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav-links a::after, .nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-weight: 850; line-height: 1.1; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0,150,220,.34);
  outline-offset: 3px;
}
.button-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 12px 28px rgba(0,150,220,.24); }
.button-secondary { border-color: rgba(255,255,255,.68); color: #fff; }
.button-light { border-color: var(--line); background: #fff; color: var(--ink); }

.hero, .page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero-home { --hero-image: url("assets/hero-structure.jpg"); }
.hero-services { --hero-image: url("assets/services-hero.png"); }
.hero-projects { --hero-image: url("assets/project-church.png"); }
.hero { min-height: 700px; display: flex; align-items: stretch; }
.page-hero { padding: 78px 0 68px; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,45,78,.96), rgba(0,70,120,.78) 52%, rgba(0,150,220,.34)),
    radial-gradient(circle at 78% 22%, rgba(0,150,220,.34), transparent 28%),
    var(--hero-image, linear-gradient(135deg, var(--navy), #006da6 58%, #003b66));
  background-size: cover;
  background-position: center;
}
.hero::after, .page-hero::after { content: ""; position: absolute; right: -7%; bottom: -18%; width: 58vw; height: 42vw; border: 2px solid rgba(0,150,220,.28); transform: skewY(-9deg); z-index: -1; }
.hero-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 42px; align-items: center; padding: 46px 0 54px; }
.eyebrow { margin: 0 0 14px; color: #bfeeff; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.eyebrow-strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 13px;
  border-left: 4px solid var(--blue);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, rgba(0,150,220,.14), rgba(230,245,251,.84));
  color: var(--blue-dark);
  box-shadow: 0 10px 28px rgba(0,70,120,.08);
}
.hero-copy, .page-hero p { max-width: 740px; margin-bottom: 30px; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-top: 42px; max-width: 880px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.24); }
.proof-strip div { min-height: 96px; padding: 18px; background: rgba(0,45,78,.58); }
.proof-strip strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.15rem; }
.proof-strip span { color: rgba(255,255,255,.78); font-size: .88rem; }

.lead-panel { align-self: center; background: rgba(255,255,255,.97); color: var(--ink); border: 1px solid rgba(0,150,220,.24); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.lead-panel h2 { margin-bottom: 8px; font-size: 1.38rem; }
form { display: grid; gap: 12px; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid #c7dce8; border-radius: 6px; padding: 11px 12px; color: var(--ink); background: #fff; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; }
.form-context {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0,150,220,.22);
  border-radius: 6px;
  background: var(--soft);
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
}
.form-context:not(:empty) { display: block; }
.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}
.form-status[data-state="success"] { color: #087a4b; }
.form-status[data-state="error"] { color: #b42318; }
.form-status[data-state="sending"] { color: var(--blue-dark); }
button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

section { padding: 82px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(243,249,252,.98)), var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head h2 { max-width: 780px; margin-bottom: 0; }
.section-head p { max-width: 440px; margin-bottom: 0; color: var(--ink); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: center; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 36px rgba(0,70,120,.07); overflow: hidden; transition: transform 160ms ease, box-shadow 160ms ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0,70,120,.12); }
.service-card { min-height: 248px; padding: 24px; border-top: 3px solid var(--blue); }
.service-icon-card {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.service-icon {
  width: 100%;
  height: 140px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(0, 150, 220, 0.18);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(230,245,251,.9)),
    radial-gradient(circle at 78% 24%, rgba(0,150,220,.16), transparent 34%),
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.78) 37% 42%, transparent 43%),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 18px 40px rgba(0, 70, 120, 0.11);
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 17px 26px;
  border: 1px solid rgba(0,150,220,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.34);
}

.service-icon svg {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 18px rgba(0,70,120,.16));
}

.service-icon .icon-accent {
  stroke: var(--blue);
}

.service-icon .icon-fill {
  fill: rgba(0,150,220,.08);
  stroke: none;
}

.service-icon .icon-dot {
  fill: var(--blue);
  stroke: none;
}

.service-icon-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 18px;
  padding: 0;
  list-style: none;
}

.service-icon-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-icon-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 150, 220, 0.1);
}

.service-icon-card .text-link {
  margin-top: auto;
}
.tag { display: inline-flex; align-items: center; min-height: 28px; margin-bottom: 18px; padding: 0 10px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .78rem; font-weight: 850; }
.text-link { display: inline-flex; margin-top: 8px; color: var(--blue-dark); font-weight: 850; }
.inline-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(0, 109, 166, .34);
  text-underline-offset: 3px;
}
.inline-link:hover { text-decoration-color: currentColor; }
.image-card {
  height: 280px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(230, 245, 251, 0.78), rgba(255, 255, 255, 0.96)),
    var(--soft);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(0, 70, 120, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}
.grid-3 > .card { display: flex; flex-direction: column; }
.case-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.case-body .text-link { margin-top: auto; padding-top: 18px; }
.case-meta { margin-bottom: 10px; color: var(--blue-dark); font-weight: 850; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.feature-image { min-height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.feature-contain {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(230, 245, 251, 0.9), rgba(255, 255, 255, 0.98)),
    #fff;
}

.feature-contain img {
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.instagram-section {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(191,238,255,.14), transparent 24%),
    linear-gradient(135deg, rgba(0,50,86,.98), rgba(7,38,60,.99));
  color: #fff;
}
.instagram-section::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(191,238,255,.12);
  pointer-events: none;
}
.instagram-section p {
  color: rgba(255,255,255,.82);
}
.instagram-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: center;
}
.instagram-copy {
  position: relative;
  z-index: 1;
}
.instagram-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.instagram-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191,238,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.instagram-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}
.instagram-mark .icon-dot {
  fill: #fff;
  stroke: none;
}
.instagram-section h2 {
  max-width: 620px;
  margin-bottom: 18px;
}
.instagram-section .actions {
  margin-top: 24px;
}
.instagram-gallery {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.instagram-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(191,238,255,.2);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}
.instagram-shot-main {
  grid-row: 1 / span 2;
}
.instagram-shot img {
  object-fit: cover;
}
.check-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.check-list span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--blue-dark); font-weight: 900; }

.process { background: var(--ink); color: #fff; }
.process p { color: rgba(255,255,255,.72); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.process-card { min-height: 230px; padding: 26px; background: #12384f; }
.process-number { margin-bottom: 32px; color: #bfeeff; font-weight: 900; }

.cta-band { background: linear-gradient(135deg, var(--navy), #073653); color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-card { padding: 28px; border: 1px solid rgba(0,150,220,.22); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 12px; margin-top: 22px; }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 800; }
.detail-grid, .case-study { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
.detail-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--ice));
  box-shadow: var(--shadow);
}
.detail-panel .button { margin-top: 10px; }
.article-wrap { max-width: 820px; }
.article-wrap ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 22px;
  color: var(--muted);
}
.article-wrap h2 { margin-top: 28px; }
.case-study { grid-template-columns: minmax(320px, .9fr) 1.1fr; }
.case-study h2 { font-size: 1.7rem; }
.case-study-intro {
  padding-bottom: 38px;
}
.project-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: stretch;
}
.project-summary .feature-image {
  min-height: 420px;
}
.project-facts {
  display: flex;
  flex-direction: column;
}
.project-facts .eyebrow {
  color: var(--blue-dark);
}
.project-facts dl {
  display: grid;
  gap: 16px;
  margin: 2px 0 24px;
}
.project-facts div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.project-facts dt {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.project-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}
.project-facts .button {
  margin-top: auto;
}
.case-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
}
.case-narrative .eyebrow {
  color: var(--blue-dark);
}
.case-sidebar {
  position: sticky;
  top: 118px;
}
.case-sidebar h2 {
  font-size: 1.45rem;
}
.case-sidebar .check-list strong {
  color: var(--ink);
}

footer { padding: 34px 0; background: #071d2c; color: rgba(255,255,255,.76); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 960px) {
  .topbar-inner { min-height: 48px; }
  .nav-inner { flex-wrap: wrap; gap: 12px 18px; padding: 10px 0 12px; }
  .nav-links {
    order: 3;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }
  .nav-links a::after, .nav-links a.active::after { display: none; }
  .nav-links a.active {
    border-color: rgba(0,150,220,.32);
    background: var(--soft);
    color: var(--navy);
  }
  .hero { min-height: auto; }
  .hero-inner, .grid-2, .contact-layout { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: 1fr; }
  .detail-grid, .case-study, .project-summary, .case-narrative { grid-template-columns: 1fr; }
  .case-sidebar { position: static; }
  .hero-inner { padding: 44px 0 46px; }
  .proof-strip, .grid-3, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lead-panel { max-width: 540px; }
  .section-head { align-items: start; }
  .contact-card { max-width: 720px; }
}
@media (max-width: 640px) {
  .topbar-inner, .nav-inner, .wrap, .hero-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .topbar-inner, .footer-inner, .section-head { align-items: start; flex-direction: column; }
  .topbar-inner { gap: 6px; padding: 9px 0; font-size: .8rem; }
  .nav-inner { min-height: 68px; }
  .brand { gap: 9px; font-size: .95rem; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-mark img { width: 39px; height: 39px; }
  .brand small, .nav .button { display: none; }
  h1 { font-size: clamp(2.3rem, 15vw, 3.8rem); line-height: 1.04; }
  h2 { font-size: clamp(1.9rem, 11vw, 2.65rem); line-height: 1.05; }
  section { padding: 58px 0; }
  .proof-strip, .grid-3, .process-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 16px 0 34px; }
  .page-hero { padding: 58px 0 48px; }
  .hero-copy, .page-hero p { font-size: 1rem; }
  .actions, .cta-band .actions { width: 100%; }
  .actions .button, .cta-band .button, .lead-panel .button, .contact-card .button { width: 100%; }
  .lead-panel, .contact-card, .service-card { padding: 20px; }
  .service-icon-card { min-height: auto; }
  .service-icon { height: 118px; margin-bottom: 18px; }
  .service-icon::before { inset: 14px 18px; border-radius: 22px; }
  .service-icon svg { width: 76px; height: 76px; }
  .image-card { height: 230px; padding: 10px; }
  .feature-image { min-height: 300px; }
  .instagram-gallery {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .instagram-section::before {
    inset: 14px;
  }
  .instagram-shot,
  .instagram-shot-main {
    grid-row: auto;
    min-height: 220px;
  }
  .contact-list a, .contact-list div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .process-card { min-height: auto; }
  .process-number { margin-bottom: 22px; }
}
@media (max-width: 420px) {
  .topbar-inner, .nav-inner, .wrap, .hero-inner, .footer-inner { width: min(100% - 22px, 1180px); }
  .brand { max-width: 100%; }
  .brand > span:last-child { min-width: 0; }
  .nav-links a { padding: 0 10px; font-size: .88rem; }
  h1 { font-size: clamp(2.05rem, 14vw, 3.1rem); }
  .proof-strip div { min-height: auto; }
  .case-body { padding: 18px; }
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
