/* ParkCommand site, 2026 refresh: photo heroes with parallax, photo bands, building-type cards,
   revenue and resource layouts. Loaded after style.css on every page. */

/* ------------------------------------------------------------------ photos */
.bg-garage { background-image: url(/assets/photos/garage-ev.jpg); background-image: image-set(url(/assets/photos/garage-ev.webp) type("image/webp"), url(/assets/photos/garage-ev.jpg) type("image/jpeg")); }
.bg-plaza { background-image: url(/assets/photos/plaza.jpg); background-image: image-set(url(/assets/photos/plaza.webp) type("image/webp"), url(/assets/photos/plaza.jpg) type("image/jpeg")); }
.bg-lobby { background-image: url(/assets/photos/lobby.jpg); background-image: image-set(url(/assets/photos/lobby.webp) type("image/webp"), url(/assets/photos/lobby.jpg) type("image/jpeg")); }
.bg-patrol { background-image: url(/assets/photos/patrol.jpg); background-image: image-set(url(/assets/photos/patrol.webp) type("image/webp"), url(/assets/photos/patrol.jpg) type("image/jpeg")); }
.bg-aerial { background-image: url(/assets/photos/aerial.jpg); background-image: image-set(url(/assets/photos/aerial.webp) type("image/webp"), url(/assets/photos/aerial.jpg) type("image/jpeg")); }
.bg-ev { background-image: url(/assets/photos/ev.jpg); background-image: image-set(url(/assets/photos/ev.webp) type("image/webp"), url(/assets/photos/ev.jpg) type("image/jpeg")); }
.bg-skyline { background-image: url(/assets/photos/skyline.jpg); background-image: image-set(url(/assets/photos/skyline.webp) type("image/webp"), url(/assets/photos/skyline.jpg) type("image/jpeg")); }
.bg-manager { background-image: url(/assets/photos/manager.jpg); background-image: image-set(url(/assets/photos/manager.webp) type("image/webp"), url(/assets/photos/manager.jpg) type("image/jpeg")); }
.bg-concierge { background-image: url(/assets/photos/concierge.jpg); background-image: image-set(url(/assets/photos/concierge.webp) type("image/webp"), url(/assets/photos/concierge.jpg) type("image/jpeg")); }
/* People photos (Canva). */
.bg-patrol-tap { background-image: url(/assets/photos/patrol-tap.jpg); background-image: image-set(url(/assets/photos/patrol-tap.webp) type("image/webp"), url(/assets/photos/patrol-tap.jpg) type("image/jpeg")); }
.bg-resident-phone { background-image: url(/assets/photos/resident-phone.jpg); background-image: image-set(url(/assets/photos/resident-phone.webp) type("image/webp"), url(/assets/photos/resident-phone.jpg) type("image/jpeg")); }
.bg-manager-tablet { background-image: url(/assets/photos/manager-tablet.jpg); background-image: image-set(url(/assets/photos/manager-tablet.webp) type("image/webp"), url(/assets/photos/manager-tablet.jpg) type("image/jpeg")); }
@media (max-width: 760px) {
  .bg-manager { background-image: url(/assets/photos/manager-sm.webp); }
  .bg-concierge { background-image: url(/assets/photos/concierge-sm.webp); }
  .bg-patrol-tap { background-image: url(/assets/photos/patrol-tap-sm.webp); }
  .bg-resident-phone { background-image: url(/assets/photos/resident-phone-sm.webp); }
  .bg-manager-tablet { background-image: url(/assets/photos/manager-tablet-sm.webp); }
  .bg-garage { background-image: url(/assets/photos/garage-ev-sm.webp); }
  .bg-plaza { background-image: url(/assets/photos/plaza-sm.webp); }
  .bg-lobby { background-image: url(/assets/photos/lobby-sm.webp); }
  .bg-patrol { background-image: url(/assets/photos/patrol-sm.webp); }
  .bg-aerial { background-image: url(/assets/photos/aerial-sm.webp); }
  .bg-ev { background-image: url(/assets/photos/ev-sm.webp); }
  .bg-skyline { background-image: url(/assets/photos/skyline-sm.webp); }
}

/* A photo layer behind a hero or band. Taller than its box so it can drift (parallax). */
.ph-bg {
  position: absolute;
  inset: -12% 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.ph-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(5, 11, 26, 0.9) 0%, rgba(5, 11, 26, 0.62) 40%, rgba(5, 11, 26, 0.12) 100%), linear-gradient(0deg, rgba(5, 11, 26, 0.9) 0%, transparent 30%);
}
.hero.has-photo::before,
.page-hero.has-photo::before { opacity: 0.3; }
.hero.has-photo::after,
.page-hero.has-photo::after { opacity: 0.35; }
.page-hero.has-photo .ph-shade { background: linear-gradient(180deg, rgba(5, 11, 26, 0.55) 0%, rgba(5, 11, 26, 0.8) 70%, #050b1a 100%); }
.hero.has-photo { min-height: min(100vh, 980px); display: flex; align-items: center; }
.hero.has-photo .hero-grid { width: 100%; }

/* Hero stats under the call to action */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero-stats li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.hero-stats b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.hero-stats span { font-size: 12.5px; color: rgba(226, 232, 240, 0.75); }

/* ------------------------------------------------------------------ photo band */
.photo-band {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.photo-band .ph-shade { background: linear-gradient(90deg, rgba(5, 11, 26, 0.9) 0%, rgba(5, 11, 26, 0.6) 55%, rgba(5, 11, 26, 0.25) 100%); }
.photo-band.right .ph-shade { background: linear-gradient(270deg, rgba(5, 11, 26, 0.9) 0%, rgba(5, 11, 26, 0.6) 55%, rgba(5, 11, 26, 0.25) 100%); }
.photo-band .band-copy { max-width: 600px; }
.photo-band.right .band-copy { margin-left: auto; }
.photo-band h2 {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.photo-band p { margin: 0 0 26px; font-size: 18px; color: rgba(226, 232, 240, 0.86); }
.photo-band .eyebrow { color: #7dd3fc; }
.band-list { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.band-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(241, 245, 249, 0.92); }
.band-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); box-shadow: 0 0 12px rgba(56, 212, 255, 0.8); }

/* ------------------------------------------------------------------ building-type cards */
.kinds { display: grid; gap: 22px; }
@media (min-width: 900px) { .kinds { grid-template-columns: repeat(3, 1fr); } }
.kind {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: 26px;
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.kind .ph-bg { inset: 0; transition: transform 0.8s ease; }
.kind .ph-shade { background: linear-gradient(0deg, rgba(5, 11, 26, 0.95) 0%, rgba(5, 11, 26, 0.55) 45%, rgba(5, 11, 26, 0.05) 100%); }
.kind:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.kind:hover .ph-bg { transform: scale(1.06); }
.kind .tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.kind h3 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.kind p { margin: 0 0 14px; color: rgba(226, 232, 240, 0.86); }
.kind ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: rgba(241, 245, 249, 0.9); }
.kind ul li::before { content: "✓"; margin-right: 8px; color: var(--cyan); font-weight: 700; }

/* ------------------------------------------------------------------ revenue */
.revenue-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .revenue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .revenue-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.rev-card:hover { transform: translateY(-4px); border-color: rgba(22, 100, 232, 0.35); }
.rev-card .ti {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px -10px rgba(22, 100, 232, 0.8);
}
.rev-card .ti .icon { width: 24px; height: 24px; }
.rev-card h3 { margin: 0 0 8px; font-size: 20px; }
.rev-card p { margin: 0 0 16px; color: var(--ink-2); }
.rev-card .more { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.rev-card .figure { margin: 0 0 14px; font-family: var(--display); font-size: 15px; color: var(--muted); }
.rev-card .figure b { font-size: 26px; color: var(--ink); }

/* Estimate calculators (revenue estimate, visitor stalls) */
.est {
  display: grid;
  gap: 26px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(160deg, #0b1530, #050b1a);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .est { grid-template-columns: 1.1fr 0.9fr; padding: 40px; } }
.est h3 { margin: 0 0 6px; font-family: var(--display); font-size: 26px; }
.est .est-sub { margin: 0 0 22px; color: rgba(226, 232, 240, 0.75); }
.est label { display: block; margin: 0 0 16px; font-size: 14px; font-weight: 600; color: rgba(241, 245, 249, 0.92); }
.est label span.val { float: right; font-family: var(--display); color: var(--cyan); }
.est input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--cyan); }
.est input[type="number"] {
  width: 100%;
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}
.est-out {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.est-out .big { font-family: var(--display); font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: -0.03em; background: linear-gradient(90deg, #fff, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.est-out .lbl { margin-top: 8px; color: rgba(226, 232, 240, 0.8); }
.est-out dl { margin: 20px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.est-out dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.est-out dt { color: rgba(226, 232, 240, 0.72); }
.est-out dd { margin: 0; font-weight: 600; }
.est-note { margin: 16px 0 0; font-size: 12.5px; color: rgba(226, 232, 240, 0.6); }

/* ------------------------------------------------------------------ feature rows with photos */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.split-photo .ph-bg { inset: -8% 0; }
.split-photo .chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  color: #fff;
  background: rgba(5, 11, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
}
.split-photo .chip b { font-family: var(--display); font-size: 18px; }
.split h2 { margin: 12px 0 14px; font-family: var(--display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.025em; }
.split p { color: var(--ink-2); font-size: 17px; }

/* ------------------------------------------------------------------ downloads (templates) */
.downloads { display: grid; gap: 18px; }
@media (min-width: 760px) { .downloads { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .downloads { grid-template-columns: repeat(3, 1fr); } }
.dl {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.dl .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: -24px -24px 20px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, #eef4ff, #e0f2fe);
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.dl .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dl h3 { margin: 0 0 6px; font-size: 18px; }
.dl p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.dl .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.dl .btn { padding: 9px 16px; font-size: 14px; }

/* ------------------------------------------------------------------ licensing tiers */
.tiers { display: grid; gap: 20px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tier.hl { background: linear-gradient(160deg, #0b1530, #050b1a); color: #fff; border-color: transparent; }
.tier.hl p, .tier.hl li { color: rgba(226, 232, 240, 0.85); }
.tier h3 { margin: 0 0 6px; font-family: var(--display); font-size: 22px; }
.tier p { margin: 0 0 16px; color: var(--ink-2); }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tier li { display: flex; gap: 10px; color: var(--ink-2); }
.tier li::before { content: "✓"; color: var(--blue-2); font-weight: 700; }

/* ------------------------------------------------------------------ footer credit line */
.footer-bottom .legal-line { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.footer-bottom .legal-line .sep { opacity: 0.4; }
.footer-bottom .legal-line a { text-decoration: underline; text-decoration-color: rgba(148, 163, 184, 0.4); text-underline-offset: 3px; }
.footer-bottom .legal-line a:hover { color: #fff; }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  .ph-bg { transform: none !important; }
  .kind, .kind .ph-bg, .rev-card { transition: none; }
}
@media (max-width: 760px) {
  .photo-band { min-height: 0; padding: 84px 0; }
  .kind { min-height: 380px; }
  .hero.has-photo { min-height: 0; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-stats li { padding: 10px; }
  .hero-stats b { font-size: 19px; }
}

/* Numbered steps in a split section */
.steps-list { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps-list li { position: relative; padding-left: 52px; color: var(--ink-2); }
.steps-list li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.steps-list b { color: var(--ink); }

/* Pricing calculator: one row per building */
.calc-bldg { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 8px; margin-bottom: 8px; }
.calc-bldg select,
.calc-bldg input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.calc-bldg .calc-del { width: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 20px; line-height: 1; }
.calc-bldg .calc-del:hover { color: var(--red); border-color: var(--red); }
#calc-add { margin-top: 4px; }

/* Contact: photo behind the demo form */
.contact-top.has-photo { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); }
.contact-top.has-photo .ph-shade { background: linear-gradient(100deg, rgba(5, 11, 26, 0.92) 0%, rgba(5, 11, 26, 0.7) 50%, rgba(5, 11, 26, 0.45) 100%); }

/* Help centre: its hero lets search suggestions overflow, so the photo stays inside the box (no drift). */
.kb-hero.has-photo .ph-bg { inset: 0; }

/* Blog: article photos (Canva) on the cards and behind each article's title */
.post-card .cover.photo { background: #0b1530; }
.post-card .cover.photo::after { display: none; }
.post-card .cover.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .cover.photo img { transform: scale(1.06); }
.bg-blog-paper-visitor-passes { background-image: url(/assets/photos/blog-paper-visitor-passes.webp); }
.bg-blog-visitor-logbook { background-image: url(/assets/photos/blog-visitor-logbook.webp); }
.bg-blog-patrol-proof { background-image: url(/assets/photos/blog-patrol-proof.webp); }
.bg-blog-wrong-car-towed { background-image: url(/assets/photos/blog-wrong-car-towed.webp); }
.bg-blog-nfc-checkpoints { background-image: url(/assets/photos/patrol-tap.webp); }
.bg-blog-spare-stalls { background-image: url(/assets/photos/aerial.webp); }
.bg-blog-ev-charger-sharing { background-image: url(/assets/photos/garage-ev.webp); }
.bg-blog-contractor-parking { background-image: url(/assets/photos/plaza.webp); }
.bg-blog-patrol-report { background-image: url(/assets/photos/manager-tablet.webp); }
.bg-blog-visitor-parking-rules { background-image: url(/assets/photos/resident-phone.webp); }
@media (max-width: 760px) {
  .bg-blog-nfc-checkpoints { background-image: url(/assets/photos/patrol-tap-sm.webp); }
  .bg-blog-spare-stalls { background-image: url(/assets/photos/aerial-sm.webp); }
  .bg-blog-ev-charger-sharing { background-image: url(/assets/photos/garage-ev-sm.webp); }
  .bg-blog-contractor-parking { background-image: url(/assets/photos/plaza-sm.webp); }
  .bg-blog-patrol-report { background-image: url(/assets/photos/manager-tablet-sm.webp); }
  .bg-blog-visitor-parking-rules { background-image: url(/assets/photos/resident-phone-sm.webp); }
  .bg-blog-paper-visitor-passes { background-image: url(/assets/photos/blog-paper-visitor-passes-sm.webp); }
  .bg-blog-visitor-logbook { background-image: url(/assets/photos/blog-visitor-logbook-sm.webp); }
  .bg-blog-patrol-proof { background-image: url(/assets/photos/blog-patrol-proof-sm.webp); }
  .bg-blog-wrong-car-towed { background-image: url(/assets/photos/blog-wrong-car-towed-sm.webp); }
}

/* ------------------------------------------------------------------ illustrated cards
   Dark cards with a 3D illustration (Canva) in the lower right, the text in the upper left. The
   illustrations sit on the same navy as the card, so the image blends into it. */
.has-illus {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  color: #fff !important;
  background: #040a22 !important;
  border: 1px solid rgba(96, 165, 250, 0.16) !important;
  box-shadow: 0 20px 40px -24px rgba(2, 8, 30, 0.7) !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.has-illus::before {
  content: "";
  position: absolute;
  z-index: -2;
  right: -6%;
  bottom: -8%;
  width: 60%;
  aspect-ratio: 1;
  background: var(--illus) center / cover no-repeat;
  /* Soft edges: the art fades into the card instead of showing its square. */
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  transition: transform 0.6s ease;
}
/* Fade the art into the card so the words stay readable. */
.has-illus::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, #040a22 0%, rgba(4, 10, 34, 0.86) 32%, rgba(4, 10, 34, 0.18) 66%, rgba(4, 10, 34, 0) 100%), linear-gradient(0deg, rgba(4, 10, 34, 0.55) 0%, transparent 40%);
  pointer-events: none;
}
.has-illus:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.45) !important;
  box-shadow: 0 30px 60px -28px rgba(22, 100, 232, 0.55) !important;
}
.has-illus:hover::before { transform: scale(1.06) translate(-2%, -2%); }
.has-illus h3 { color: #fff !important; position: relative; max-width: 78%; }
.has-illus p { color: rgba(203, 213, 225, 0.86) !important; position: relative; max-width: 66%; text-shadow: 0 1px 8px rgba(4, 10, 34, 0.9); }
.has-illus .more,
.has-illus .link,
.has-illus a:not(.btn) { color: #7dd3fc !important; position: relative; }
.has-illus .ti,
.has-illus .fi {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #93c5fd !important;
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.25) !important;
}
.has-illus .ti .icon,
.has-illus .fi .icon { color: #93c5fd !important; }
/* Wide feature tiles keep the art smaller relative to their width. */
.tile.wide.has-illus::before { width: 42%; right: 0; bottom: -18%; }
.tile.feature.has-illus { background: #040a22 !important; }
@media (max-width: 760px) {
  /* Phones: the art sits under the words instead of behind them. */
  .has-illus { min-height: 0; padding-bottom: 46% !important; }
  .has-illus::before { width: 52%; right: -4%; bottom: -6%; }
  .has-illus::after { background: linear-gradient(180deg, #040a22 0%, rgba(4, 10, 34, 0.9) 45%, rgba(4, 10, 34, 0.1) 75%); }
  .has-illus h3, .has-illus p { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .has-illus, .has-illus::before { transition: none; }
}

/* Large photo behind the home page's "How it works" section */
.section.dark.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.section.dark.has-photo .ph-shade { background: linear-gradient(180deg, rgba(5, 11, 26, 0.86) 0%, rgba(5, 11, 26, 0.78) 50%, rgba(5, 11, 26, 0.92) 100%); }

/* ============================================================= *
 * 2026-10-06  Licensing tier hover + photo headers on the
 *             "By property type" cards (solutions/about).
 * ============================================================= */

/* Licensing: the three partnership tiers lift like the other cards. */
.tier { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
@media (hover: hover) {
  .tier:hover { transform: translateY(-6px); box-shadow: 0 26px 56px -24px rgba(15, 23, 42, .45); border-color: #c7dafd; }
  .tier.hl:hover { transform: translateY(-6px); box-shadow: 0 32px 72px -22px rgba(22, 100, 232, .7); border-color: rgba(56, 212, 255, .5); }
}
@media (prefers-reduced-motion: reduce) { .tier { transition: none; } }

/* A photo header strip on each "By property type" card. */
.type { position: relative; overflow: hidden; }
.type .type-photo { position: relative; height: 122px; margin: -26px -26px 20px; overflow: hidden; }
.type .type-photo .ph-bg { position: absolute; inset: 0; z-index: 0; transition: transform .6s ease; }
.type .type-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 11, 26, .12), rgba(5, 11, 26, .52)); }
@media (hover: hover) { .type:hover .type-photo .ph-bg { transform: scale(1.06); } }
.type .fi { position: relative; z-index: 2; margin-top: -42px; box-shadow: 0 10px 22px -8px rgba(2, 8, 30, .55); }
@media (prefers-reduced-motion: reduce) { .type .type-photo .ph-bg { transition: none; transform: none !important; } }

/* ---- 2026-10-06b: hero pillars + about story icon badges ---- */
.hero-stats.pillars { max-width: 660px; }
.hero-stats.pillars li { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.hero-stats.pillars .pi { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); box-shadow: 0 8px 20px -8px rgba(56, 212, 255, .55); }
.hero-stats.pillars .pi .icon { width: 19px; height: 19px; }
.hero-stats.pillars b { font-size: 17px; margin-top: 2px; }
.hero-stats.pillars span { font-size: 12.5px; line-height: 1.45; }
@media (max-width: 560px) { .hero-stats.pillars { grid-template-columns: 1fr; } }

.story-figs .sf-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--cyan)); box-shadow: 0 10px 22px -10px rgba(22, 100, 232, .55); }
.story-figs .sf-ic .icon { width: 20px; height: 20px; }

/* Canadian flag badges (keep the flag on Build-in-Canada) */
.hero-stats.pillars .pi.pi-ca { background: rgba(255, 255, 255, .16); font-size: 20px; line-height: 1; }
.story-figs .sf-ic.sf-ca { background: #eaf2ff; font-size: 22px; line-height: 1; }

/* Canadian flag image badges (cross-platform, not emoji) */
.hero-stats.pillars .pi.pi-ca { background: rgba(255, 255, 255, .16); }
.hero-stats.pillars .pi.pi-ca img { width: 26px; height: auto; border-radius: 3px; display: block; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.story-figs .sf-ic.sf-ca { background: #eaf2ff; }
.story-figs .sf-ic.sf-ca img { width: 30px; height: auto; border-radius: 3px; display: block; }

/* Hero motto (positioning line in place of the pillar tiles) */
.hero-motto { margin: 32px 0 0; max-width: 620px; padding-left: 22px; border-left: 3px solid var(--cyan); font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.34; color: #fff; }

/* ------------------------------------------------------------------ 2026-10: products menu by module, people photos */
/* Products: one column per module. The menu spans the header (its item does not anchor it). */
.site-header .nav { position: relative; }
.nav-item.has-mega { position: static; }
.dropdown.mega { width: min(1080px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 10px; }
.dropdown .drop-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown .drop-head { display: flex; align-items: center; gap: 8px; margin: 4px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.dropdown .drop-head .icon { width: 15px; height: 15px; }
.dropdown.mega a .di { width: 32px; height: 32px; border-radius: 9px; }
.dropdown.mega a b { font-size: 14px; }
.dropdown .drop-links { justify-content: flex-start; gap: 22px; flex-wrap: wrap; }
.mobile-menu .m-head { display: block; padding: 12px 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
@media (max-width: 1100px) { .dropdown.mega { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ticked feature lists inside photo rows */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat; }
.ticks b { color: var(--ink); }

/* A second floating card, top right of a photo */
.split-photo .chip.top { left: auto; right: 18px; top: 18px; bottom: auto; }

