/* self-hosted-inter-marker */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter/Inter-Bold.woff2') format('woff2');
}

/* ==========================================================================
   JMK Contractor — Design system
   Contractor-format. Brand blue. Bold hero. Photo-rich tiles.
   ========================================================================== */

:root {
  /* Brand colors */
  --brand: #2E6A8F;
  --brand-dark: #2A5F80;
  --brand-darker: #1A4060;
  --brand-tint: #E8F1F7;
  --brand-tint-2: #F4F8FB;

  /* Neutrals */
  --ink: #1A2A36;
  --body: #4A5560;
  --muted: #56606D;
  --line: #E5E9EE;
  --paper: #FFFFFF;
  --cream: #F8F9FB;
  --accent-yellow: #FBC02D;
  --accent-yellow-dark: #F9A825;
  --accent-yellow-ink: #1A2A36;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);

  /* Layout */
  --container-max: 1280px;
  --header-height: 88px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
/* a11y: underline in-content links so color is not the only cue */
.lede a, .prose a, p a:not(.btn):not(.loc-btn) { text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.375rem; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 var(--s-3); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin: 0 0 var(--s-2);
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--body);
}

.text-center { text-align: center; }
.mt-lg { margin-top: var(--s-5); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--s-4); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--accent { background: var(--brand); color: white; border-color: var(--brand); }
.btn--accent:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: white; }

.btn--outline {
  background: transparent;
  color: white;
  border-color: white;
}
.btn--outline:hover { background: white; color: var(--brand); }

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: white; }

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-3);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.site-header__logo img {
  height: 56px;
  width: auto;
  max-width: 240px;
}

.site-header__nav { flex: 1; }
.site-header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: var(--s-4);
}
.site-header__nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}
.site-header__nav a:hover { color: var(--brand); }
.site-header__nav a[aria-current="page"] { color: var(--brand); }
.site-header__nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.site-header__phone:hover { color: var(--brand); }
.site-header__phone svg { color: var(--brand); flex-shrink: 0; }

.lang-toggle {
  display: flex;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.lang-toggle a { color: var(--muted); text-decoration: none; }
.lang-toggle a.is-active { color: var(--brand); }

.site-header__menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: space-around;
}
.site-header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 1024px) {
  .site-header__nav { display: none; }
  .site-header__menu-toggle { display: flex; }
  .site-header__logo img { height: 48px; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: #2C2C2C;
  color: white;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--s-6) var(--s-3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; gap: var(--s-4); }
}

.hero__content { color: white; }
.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  margin: 0 0 var(--s-3);
}
.hero__headline {
  color: var(--accent-yellow);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 var(--s-3);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero__lede {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 var(--s-4);
  max-width: 480px;
}
.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.hero__phone-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.hero__phone-inline:hover { color: var(--brand); }

.hero__media {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}
.hero__media iframe { width: 100%; height: 100%; border: 0; }

/* ---- Stat strip ---- */
.stat-strip {
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  margin: -3rem auto 0;
  max-width: calc(var(--container-max) - 4rem);
  position: relative;
  z-index: 2;
  padding: var(--s-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}

@media (max-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    margin: -2rem var(--s-3) 0;
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2);
}
.stat__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat__icon svg { width: 28px; height: 28px; }
.stat__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 0.25rem;
}
.stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---- Sections ---- */
.section {
  padding: var(--s-7) 0;
}
.section--cream { background: var(--cream); }
.section--brand-tint { background: var(--brand-tint-2); }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.9); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: white; }

@media (max-width: 768px) {
  .section { padding: var(--s-6) 0; }
}

/* ---- Trust strip (below hero, simpler than full stat strip) ---- */
.trust-strip {
  background: var(--cream);
  padding: var(--s-3) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4);
  font-size: 0.875rem;
  color: var(--body);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-strip__check {
  color: var(--brand);
  font-weight: 700;
}

/* ---- Service grid ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  transition: all 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.service-card h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--body);
  margin: 0 0 var(--s-3);
}
.service-card__link {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-card__link:hover { color: var(--brand-dark); }

/* ---- Portfolio grid ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-3);
}

.portfolio-card {
  background: white;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card__image {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
}
.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.04);
}

.portfolio-card__body {
  padding: var(--s-3);
}
.portfolio-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--ink);
}
.portfolio-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---- Reviews ---- */
.review-card {
  background: white;
  border-radius: var(--r-md);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.review-card__stars {
  color: #F5A623;
  margin-bottom: var(--s-2);
}
.review-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--s-3);
  font-style: italic;
}
.review-card__author {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9375rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--s-6) 0 var(--s-3);
  font-size: 0.9375rem;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
@media (max-width: 768px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
.site-footer h2 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--s-3);
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.625rem; }
.site-footer__logo img { height: 48px; margin-bottom: var(--s-3); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--s-2); }
.mb-md { margin-bottom: var(--s-4); }
.mb-lg { margin-bottom: var(--s-5); }

/* Skip link — hidden until keyboard-focused (a11y best practice) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: white;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Hero background image — positioned as full-cover background, prioritized for LCP */
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,42,54,0.55) 0%, rgba(26,42,54,0.75) 100%);
  z-index: 1;
}
.hero__container { position: relative; z-index: 2; }

/* YouTube facade — click-to-play without loading 520KB of player JS up front */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  background: #000;
}
.yt-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.yt-facade:hover .yt-facade__thumb { transform: scale(1.03); }
.yt-facade__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.yt-facade:hover .yt-facade__play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade__play:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; border-radius: 8px; }

/* Brand yellow CTA — matches the headline color and the legacy site's Get Online Quote button */
.btn--yellow {
  background: var(--accent-yellow);
  color: var(--accent-yellow-ink);
  border-color: var(--accent-yellow);
  font-weight: 700;
}
.btn--yellow:hover {
  background: var(--accent-yellow-dark);
  border-color: var(--accent-yellow-dark);
  color: var(--accent-yellow-ink);
}
.btn--yellow:focus-visible {
  outline: 3px solid var(--accent-yellow);
  outline-offset: 3px;
}

/* About page — secondary hero (shorter than homepage hero) */
.hero--secondary { min-height: 320px; }
.hero--secondary .hero__container { padding: var(--s-5) var(--s-3); }
.hero__container--single { grid-template-columns: 1fr; max-width: 720px; }

/* Narrow container for prose-heavy sections */
.container--narrow { max-width: 760px; }
.prose p { font-size: 1.0625rem; line-height: 1.7; color: var(--body); margin-bottom: 1.25rem; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
  max-width: 1080px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--s-3);
  box-shadow: var(--shadow-md);
  background: var(--cream);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__name { margin: 0 0 0.25rem; font-size: 1.1875rem; }
.team-card__title { margin: 0; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-4);
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.testimonial__quote {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 var(--s-3);
  font-style: italic;
}
.testimonial__author { display: flex; flex-direction: column; gap: 0.125rem; font-style: normal; }
.testimonial__author strong { color: var(--ink); font-size: 0.9375rem; }
.testimonial__author span { color: var(--muted); font-size: 0.8125rem; }

/* Featured service card variant — slightly more prominent than basic */
.service-card--featured {
  border-top: 3px solid var(--accent-yellow);
  background: var(--paper);
  padding: var(--s-4);
}
.service-card--featured h3 { color: var(--ink); }

/* mobile-dropdown-marker */
/* Mobile dropdown menu */
@media (max-width: 880px) {
  .site-header__menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper, #fff);
    border-top: 1px solid var(--divider, #e5e5e5);
    border-bottom: 1px solid var(--divider, #e5e5e5);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
    animation: mobileMenuDrop 0.2s ease-out;
  }
  
  .mobile-menu.is-open {
    display: block;
  }
  
  @keyframes mobileMenuDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
  }
  
  .mobile-menu li a {
    display: block;
    padding: 0.875rem 1.25rem;
    color: var(--ink, #1A2A36);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    min-height: 44px;
    border-bottom: 1px solid var(--divider, #f0f0f0);
  }
  
  .mobile-menu li:last-child a { border-bottom: 0; }
  .mobile-menu li a:hover { background: var(--cream, #F7F4ED); }
  .mobile-menu li a[aria-current="page"] { color: var(--brand, #2E6A8F); font-weight: 600; }
  
  .mobile-menu__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--divider, #e5e5e5);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .mobile-menu__lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.875rem;
  }
  .mobile-menu__lang a {
    color: var(--muted, #6B7280);
    text-decoration: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu__lang a.is-active { color: var(--ink, #1A2A36); font-weight: 600; }
  
  .mobile-menu__cta {
    display: block;
    width: 100%;
    padding: 0.875rem;
    text-align: center;
    background: var(--accent-yellow, #FBC02D);
    color: var(--ink, #1A2A36);
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
  }
  
  .site-header { position: relative; }
}

/* Sticky mobile bottom CTA bar */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 880px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper, #fff);
    border-top: 1px solid var(--divider, #e5e5e5);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 90;
    padding: 0.625rem;
    gap: 0.5rem;
    padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0));
  }
  
  .mobile-sticky-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.15s var(--ease, ease);
  }
  .mobile-sticky-cta a:active { transform: scale(0.97); }
  
  .mobile-sticky-cta__call {
    background: transparent;
    color: var(--ink, #1A2A36);
    border: 2px solid var(--ink, #1A2A36);
  }
  
  .mobile-sticky-cta__quote {
    background: var(--accent-yellow, #FBC02D);
    color: var(--ink, #1A2A36);
  }
  
  /* Body padding so content isn't hidden under the bar */
  body { padding-bottom: 80px; }
}

/* mobile-menu-desktop-hide-marker */
/* Hide mobile menu panel by default at ALL widths. Mobile media query
   re-shows it inside the @media (max-width: 880px) rule when .is-open. */
.mobile-menu {
  display: none;
}

/* Hide the hamburger toggle on desktop */
@media (min-width: 881px) {
  .site-header__menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Make sure the desktop nav and the desktop EN/ES toggle + Get a quote
   are visible on desktop (they may have been hidden by other rules). */
@media (min-width: 881px) {
  .site-header__nav,
  .site-header__actions {
    display: flex;
  }
}

/* Mobile-only display: keep menu hidden until JS opens it */
@media (max-width: 880px) {
  .mobile-menu {
    /* override the universal .mobile-menu { display: none } above when open */
  }
  .mobile-menu.is-open {
    display: block !important;
  }
}
/* end-mobile-menu-desktop-hide */

/* lite-youtube-fix-marker */
.lite-youtube {
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 0;
}
.lite-youtube__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.lite-youtube__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.lite-youtube__play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #212121cc;
  border-radius: 14% / 50%;
  transition: background 0.15s ease;
}
.lite-youtube:hover .lite-youtube__play::before,
.lite-youtube:focus .lite-youtube__play::before {
  background: #ff0000;
}
.lite-youtube__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -10px 0 0 -7px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}
.lite-youtube.is-active iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lite-youtube.is-active .lite-youtube__poster,
.lite-youtube.is-active .lite-youtube__play {
  display: none;
}
/* end-lite-youtube-fix */


/* phase-b-v2-locations-marker */
:root {
  --jmk-yellow: #FBC02D;
  --jmk-yellow-hover: #E6AD27;
  --jmk-dark: #1A1A1A;
  --jmk-dark-2: #2A2A2A;
  --jmk-gray: #6B6B6B;
  --jmk-light: #F7F7F5;
  --jmk-line: #E8E8E3;
}

.page-location, .page-locations-hub {
  background: #fff;
}

/* ===== Breadcrumbs ===== */
.loc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}
.loc-breadcrumbs a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.loc-breadcrumbs a:hover { color: var(--jmk-yellow); }
.loc-breadcrumbs span[aria-current] { color: var(--jmk-yellow); }

/* ===== Hero (A1 style with photo bg + floating GBP card) ===== */
.loc-hero {
  position: relative;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-color: var(--accent-yellow-ink);
  color: #fff;
  padding: 3rem 1.5rem 4rem;
  margin: 0 -1rem 0; /* break out of typical content margin */
}
.loc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.65) 100%);
}
.loc-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.loc-hero__text {
  padding-top: 1rem;
}
.loc-hero__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--jmk-yellow);
  margin: 0 0 0.75rem;
}
.loc-hero__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: #fff;
  font-weight: 700;
}
.loc-hero__intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 55ch;
  margin: 0 0 1.75rem;
}
.loc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--jmk-yellow);
  color: var(--accent-yellow-ink);
  padding: 0.9rem 1.4rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.loc-hero__cta:hover { background: var(--jmk-yellow-hover); }
.loc-hero__cta svg { width: 18px; height: 18px; }

.loc-hero__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.loc-hero__map iframe {
  display: block;
  width: 100%;
  height: 240px;
}
.loc-hero__card-body {
  padding: 1.25rem;
  color: var(--accent-yellow-ink);
}
.loc-hero__card-body h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-yellow-ink);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}
.loc-hero__addr {
  margin: 0 0 0.5rem;
  color: var(--jmk-gray);
  font-size: 0.9rem;
}
.loc-hero__phone {
  margin: 0 0 0.5rem;
}
.loc-hero__phone a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-yellow-ink);
  text-decoration: none;
}
.loc-hero__phone a:hover { color: var(--jmk-yellow-hover); }
.loc-hero__hours {
  margin: 0;
  color: var(--jmk-gray);
  font-size: 0.85rem;
}

/* ===== Appointment strip ===== */
.loc-appt {
  background: #fff;
  margin: -2.5rem auto 0;
  max-width: 1100px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}
.loc-appt__inner {
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.loc-appt__text h2 {
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: var(--accent-yellow-ink);
  font-weight: 700;
}
.loc-appt__text p {
  margin: 0;
  color: var(--jmk-gray);
  font-size: 0.95rem;
}
.loc-appt__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 0;
}
.loc-btn--primary {
  background-color: #1A2A36;
  color: #FFFFFF;
  border: 2px solid #1A2A36;
}
.loc-btn--primary:hover { background-color: #2A3F50; border-color: #2A3F50; }
.loc-btn--outline {
  background: transparent;
  color: var(--accent-yellow-ink);
  border: 2px solid var(--accent-yellow-ink);
}
.loc-btn--outline:hover {
  background: var(--accent-yellow-ink);
  color: #fff;
}
.loc-btn svg { width: 16px; height: 16px; }

/* ===== Local company 2-col block ===== */
.loc-local {
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}
.loc-local__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}
.loc-local__text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--accent-yellow-ink);
  font-weight: 700;
  margin: 0 0 1rem;
}
.loc-local__text p {
  color: #333;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.loc-local__photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: var(--accent-yellow-ink);
}

.loc-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--jmk-light);
  border-top: 4px solid var(--jmk-yellow);
  border-radius: 6px;
}
.loc-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
  border-right: 1px solid var(--jmk-line);
}
.loc-trust__item:last-child { border-right: none; }
.loc-trust__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jmk-gray);
  margin-bottom: 0.25rem;
}
.loc-trust__val {
  font-weight: 700;
  color: var(--accent-yellow-ink);
}

/* ===== Service strips (alternating photo/card) ===== */
.loc-strip {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 380px;
}
.loc-strip__photo {
  background-size: cover;
  background-position: center;
  background-color: var(--accent-yellow-ink);
  min-height: 380px;
  border-radius: 8px;
}
.loc-strip__card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-top: 4px solid var(--jmk-yellow);
}
.loc-strip--left .loc-strip__card {
  margin-left: -3rem;
  z-index: 2;
}
.loc-strip--right .loc-strip__card {
  margin-right: -3rem;
  z-index: 2;
  order: 1;
}
.loc-strip--right .loc-strip__photo {
  order: 2;
}
.loc-strip__card h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--accent-yellow-ink);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.loc-strip__card p {
  color: #444;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

/* ===== Services grid (6 cards w/ yellow icons) ===== */
.loc-services {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.loc-services__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.loc-services__head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-yellow-ink);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.loc-services__head p {
  color: var(--jmk-gray);
  margin: 0;
  line-height: 1.6;
}
.loc-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.svc-card {
  background: var(--jmk-light);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.svc-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--jmk-yellow);
  color: var(--accent-yellow-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.svc-card__icon svg { width: 32px; height: 32px; }
.svc-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-yellow-ink);
  margin: 0 0 0.6rem;
}
.svc-card__blurb {
  color: var(--jmk-gray);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.svc-card__link {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--accent-yellow-ink);
  color: var(--accent-yellow-ink);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.svc-card__link:hover {
  background: var(--accent-yellow-ink);
  color: #fff;
}

/* ===== Resources block ===== */
.loc-resources {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
  background: var(--jmk-light);
  border-radius: 8px;
}
.loc-resources h2 {
  font-size: 1.4rem;
  color: var(--accent-yellow-ink);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.loc-resources > p {
  color: var(--jmk-gray);
  margin: 0 0 1.5rem;
}
.loc-resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.loc-resource {
  background: #fff;
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--jmk-line);
}
.loc-resource h4 {
  font-size: 1rem;
  color: var(--accent-yellow-ink);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.loc-resource p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--jmk-gray);
}
.loc-resource a {
  color: var(--jmk-yellow-hover);
  text-decoration: none;
  font-weight: 600;
}

/* ===== Neighborhoods ===== */
.loc-neighborhoods {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.loc-neighborhoods h2 {
  font-size: 1.4rem;
  color: var(--accent-yellow-ink);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.loc-neighborhoods > p {
  color: var(--jmk-gray);
  margin: 0 0 1.25rem;
}
.loc-neighborhoods__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}
.loc-neighborhoods__list li {
  padding: 0.65rem 0.95rem;
  background: #fff;
  border: 1px solid var(--jmk-line);
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--accent-yellow-ink);
}

/* ===== FAQ accordion ===== */
.loc-faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.loc-faq h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-yellow-ink);
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem;
}
.loc-faq__item {
  background: var(--jmk-light);
  border-radius: 6px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border-left: 4px solid var(--jmk-yellow);
}
.loc-faq__item summary {
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow-ink);
  list-style: none;
  position: relative;
  transition: background 0.15s;
}
.loc-faq__item summary:hover { background: rgba(251, 192, 45, 0.08); }
.loc-faq__item summary::-webkit-details-marker { display: none; }
.loc-faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--jmk-yellow);
  border-bottom: 2px solid var(--jmk-yellow);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s;
}
.loc-faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.loc-faq__body {
  padding: 0 1.25rem 1.25rem;
  color: #444;
  line-height: 1.65;
}
.loc-faq__body p { margin: 0; }

/* ===== Locations Hub Page ===== */
.hub-hero {
  position: relative;
  background-image: var(--hub-bg);
  background-size: cover;
  background-position: center;
  background-color: var(--accent-yellow-ink);
  color: #fff;
  padding: 4rem 1.5rem 5rem;
  margin: 0 -1rem 0;
}
.hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 100%);
}
.hub-hero__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hub-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.hub-hero__intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 650px;
  margin: 0 auto;
}
.hub-grid-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.hub-card {
  position: relative;
  display: block;
  min-height: 280px;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-color: var(--accent-yellow-ink);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.hub-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}
.hub-card__body {
  position: relative;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  box-sizing: border-box;
}
.hub-card__body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.hub-card__body p {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.hub-card__cta {
  color: var(--jmk-yellow);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .loc-hero { padding: 2rem 1rem 2.5rem; }
  .loc-hero__inner { grid-template-columns: 1fr; }
  .loc-hero__card { max-width: 100%; }
  .loc-appt__inner { grid-template-columns: 1fr; padding: 1.5rem; }
  .loc-local__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .loc-strip { grid-template-columns: 1fr; min-height: auto; gap: 1rem; }
  .loc-strip__photo { min-height: 220px; }
  .loc-strip--left .loc-strip__card,
  .loc-strip--right .loc-strip__card {
    margin: 0;
  }
  .loc-strip--right .loc-strip__card { order: 2; }
  .loc-strip--right .loc-strip__photo { order: 1; }
  .loc-trust__item { border-right: none; border-bottom: 1px solid var(--jmk-line); padding-bottom: 0.75rem; }
  .loc-trust__item:last-child { border-bottom: none; }
}
/* end-phase-b-v2-locations */

/* phase-b-v2-footer-marker */
.site-footer {
  background: var(--jmk-dark, #1A1A1A);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.5rem 1.5rem;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand .site-footer__logo {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.site-footer__brand .site-footer__logo span {
  color: var(--jmk-yellow);
  font-weight: 600;
  margin-left: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.site-footer__addr,
.site-footer__phone,
.site-footer__creds {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.site-footer__phone a {
  color: var(--jmk-yellow);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.site-footer__phone a:hover { text-decoration: underline; }
.site-footer__creds {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
}
.site-footer__col h2 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__col li {
  margin-bottom: 0.5rem;
}
.site-footer__col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.site-footer__col a:hover { color: var(--jmk-yellow); }
.site-footer__col--cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.site-footer__col--cta .loc-btn {
  width: 100%;
  justify-content: center;
}

.site-footer__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.site-footer__bar a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-footer__bar a:hover { color: var(--jmk-yellow); }

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}
@media (max-width: 540px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__bar { flex-direction: column; align-items: center; text-align: center; }
}
/* end-phase-b-v2-footer */

/* hub-polish-marker */
/* Yellow hub heading for contrast */
.hub-hero__title {
  color: var(--jmk-yellow) !important;
}

/* Solid dark cards instead of repeated photos */
.hub-card {
  background-image: none !important;
  background: linear-gradient(160deg, #1A1A1A 0%, #2A2A2A 60%, #1A1A1A 100%) !important;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--jmk-yellow);
}
.hub-card__overlay {
  display: none !important;
}
.hub-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(251, 192, 45, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hub-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--jmk-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.hub-card:hover::after {
  transform: scaleX(1);
}
.hub-card__body {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  padding-top: 1.75rem;
}
.hub-card__body h2 {
  color: #fff !important;
  font-size: 1.5rem !important;
  margin-bottom: 0.75rem !important;
}
.hub-card__body p {
  color: rgba(255,255,255,0.78) !important;
  margin-bottom: 1.25rem !important;
}
/* end-hub-polish */

/* Clickable portfolio cards on homepage */
.portfolio-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
.portfolio-card-link:hover .portfolio-card__title {
  color: var(--brand);
}
.portfolio-card-link .portfolio-card {
  cursor: pointer;
}

/* === ARCHITECTS PAGE — BEGIN === */
/* All rules below scoped to body.page-architects to avoid leaking to other pages */

.page-architects {
  /* Extended palette for editorial feel */
  --arch-ink: #0F1419;
  --arch-charcoal: #1F2730;
  --arch-charcoal-soft: #2B3540;
  --arch-sand: #F5F1EA;
  --arch-sand-deep: #EDE6D8;
  --arch-line-soft: #D9D2C2;
  --arch-rule: #C9C0AE;
}


/* ---- Grid foundation (architect scope) ---- */
.page-architects .grid {
  display: grid;
}
.page-architects .grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.page-architects .grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 900px) {
  .page-architects .grid--3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-architects .grid--2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- Section spacing baseline (architect scope) ---- */
.page-architects .section,
.page-architects .section--alt {
  padding: 5rem 0;
}
.page-architects .section .container,
.page-architects .section--alt .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.page-architects .mb-md { margin-bottom: 1.5rem; }
.page-architects .mb-lg { margin-bottom: 2.5rem; }
.page-architects .mt-lg { margin-top: 2.5rem; }
.page-architects .text-center { text-align: center; }

/* ---- Hero foundation (architect scope) ---- */
.page-architects .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  background: var(--arch-ink);
}
.page-architects .hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-architects .hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.page-architects .hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ---- Typography refinement ---- */
.page-architects {
  color: var(--body);
}
.page-architects p,
.page-architects li {
  line-height: 1.75;
  font-size: 1.0625rem;
}
.page-architects h1,
.page-architects h2,
.page-architects h3 {
  color: var(--arch-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-architects h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.page-architects h2 {
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.page-architects h3 {
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.35rem;
  line-height: 1.3;
}
.page-architects .section__eyebrow,
.page-architects .hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 1.25rem;
}
.page-architects strong {
  color: var(--arch-ink);
  font-weight: 700;
}

/* ---- Section background variation ---- */
.page-architects .section--alt {
  background: var(--arch-sand);
  position: relative;
}

/* Sharp section dividers */
.page-architects .section--alt {
  border-top: 1px solid var(--arch-rule);
  border-bottom: 1px solid var(--arch-rule);
}

.page-architects .section {
  position: relative;
}

/* Hairline rule between adjacent sections for editorial rhythm */


/* Section transitions: sharp, no gradient */

/* ---- Hero treatment ---- */
.page-architects .hero {
  position: relative;
  overflow: hidden;
  background: var(--arch-ink);
}
.page-architects .hero__bg {
  filter: saturate(0.85) brightness(0.65);
}
.page-architects .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,25,0.35) 0%, rgba(15,20,25,0.75) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(58,127,168,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
/* Subtle grain texture */
.page-architects .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}
.page-architects .hero__container {
  position: relative;
  z-index: 3;
}
.page-architects .hero__content {
  position: relative;
}
/* Thin accent line above eyebrow */
.page-architects .hero__content::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent-yellow);
  margin-bottom: 1.5rem;
}
.page-architects .hero__headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 1.5rem;
}
.page-architects .hero__lede {
  color: rgba(255,255,255,0.88);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---- Card refinement (feature cards) ---- */
.page-architects .feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 1px 2px rgba(15,20,25,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.page-architects .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,20,25,0.08), 0 4px 12px rgba(15,20,25,0.04);
  border-color: var(--arch-line-soft);
}
.page-architects .feature-card h3 {
  margin-bottom: 0.875rem;
  position: relative;
  padding-bottom: 0.875rem;
}
.page-architects .feature-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brand);
}
.page-architects .feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
.page-architects .section--alt .feature-card {
  background: #fff;
  border-color: var(--arch-line-soft);
}

/* Why-JMK two-column list refinement */
.page-architects .section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-architects .section ul li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}
.page-architects .section ul li:last-child {
  border-bottom: none;
}

/* ---- Architects-we-collaborate block ---- */
.page-architects #faq + .section,
.page-architects .section--alt .feature-card[data-architect] {
  /* placeholder for future per-architect styles */
}

/* ---- FAQ refinement ---- */
.page-architects .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-architects .faq-item:hover {
  border-color: var(--arch-line-soft);
  box-shadow: 0 4px 16px rgba(15,20,25,0.04);
}
.page-architects .faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.625rem;
  color: var(--arch-ink);
}
.page-architects .faq-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
}

/* ---- Constructibility section ---- */
.page-architects .section .container > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--body);
}

/* ---- Architect contact form refinement ---- */
.page-architects .section--cta {
  background: linear-gradient(180deg, var(--arch-sand-deep) 0%, var(--arch-sand) 100%);
  padding: 5rem 0 6rem;
  position: relative;
}
.page-architects .section--cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--brand);
}
.page-architects .quote-form {
  background: #fff;
  padding: 3rem 3rem 2.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--arch-line-soft);
  box-shadow: 0 16px 48px rgba(15,20,25,0.06), 0 4px 12px rgba(15,20,25,0.04);
  margin-top: 2rem;
}
.page-architects .form-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--arch-line-soft);
}
.page-architects .form-section-label:not(:first-child) {
  margin-top: 2.25rem;
}
.page-architects .quote-form label {
  display: block;
  margin-bottom: 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--arch-ink);
  letter-spacing: 0.01em;
}
.page-architects .quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
  margin-bottom: 0;
}
.page-architects .quote-form .form-row label {
  margin-bottom: 1.125rem;
}
.page-architects .quote-form input[type="text"],
.page-architects .quote-form input[type="email"],
.page-architects .quote-form input[type="tel"],
.page-architects .quote-form select,
.page-architects .quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--arch-ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.page-architects .quote-form input:focus,
.page-architects .quote-form select:focus,
.page-architects .quote-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}
.page-architects .quote-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
.page-architects .quote-form button[type="submit"] {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--arch-ink);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.page-architects .quote-form button[type="submit"]:hover {
  background: var(--arch-charcoal);
  transform: translateY(-1px);
}
.page-architects .form-required {
  color: var(--brand);
  font-weight: 600;
  margin-left: 0.15rem;
}
.page-architects .form-helper {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---- Mobile spacing ---- */
@media (max-width: 768px) {
  .page-architects .section,
  .page-architects .section--alt,
  .page-architects .section--cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .page-architects .hero__headline {
    font-size: 2rem;
    line-height: 1.08;
  }
  .page-architects .hero__lede {
    font-size: 1rem;
  }
  .page-architects .feature-card {
    padding: 1.75rem 1.5rem;
  }
  .page-architects .faq-item {
    padding: 1.5rem 1.25rem;
  }
  .page-architects .quote-form {
    padding: 2rem 1.5rem 1.75rem;
  }
  .page-architects .quote-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-architects h2 {
    font-size: 1.65rem;
  }
}


/* ---- Architect collaboration cards (editorial treatment) ---- */
.page-architects .feature-card--architect {
  padding: 2.75rem 2.5rem;
  background: #fff;
  border: 1px solid var(--arch-line-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
}
.page-architects .feature-card--architect h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}
.page-architects .feature-card--architect h3::after {
  display: none;
}
.page-architects .feature-card--architect > p:first-of-type {
  margin-bottom: 1rem;
  color: var(--arch-charcoal);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- Why architects choose JMK — refined two-column ---- */
.page-architects .section .grid--2 > div {
  background: var(--arch-sand);
  padding: 2.5rem 2.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--arch-line-soft);
}
.page-architects .section--alt .grid--2 > div {
  background: #fff;
}
.page-architects .section .grid--2 > div > h3 {
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--arch-rule);
  color: var(--arch-ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.page-architects .section .grid--2 ul {
  margin: 0;
}
.page-architects .section .grid--2 ul li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201, 192, 174, 0.5);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.page-architects .section .grid--2 ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.page-architects .section .grid--2 ul li:first-child {
  padding-top: 0;
}

/* ---- Delivery models cards: stronger card treatment ---- */
.page-architects .section--alt .grid--3 .feature-card {
  background: #fff;
  border-color: var(--arch-line-soft);
  position: relative;
}
.page-architects .section--alt .grid--3 .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--brand);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

/* ---- Constructibility section: typographic emphasis ---- */
.page-architects .section .container[style*="880px"] h2 {
  font-size: 2.125rem;
  margin-bottom: 1.75rem;
}
.page-architects .section .container[style*="880px"] p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--body);
}
.page-architects .section .container[style*="880px"] p strong {
  color: var(--arch-ink);
}

/* ---- Buttons (architect scope, in case base styles are also missing) ---- */
.page-architects .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.page-architects .btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.page-architects .btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.page-architects .btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}
.page-architects .hero .btn--primary {
  background: var(--accent-yellow);
  color: var(--arch-ink);
  border-color: var(--accent-yellow);
  font-weight: 700;
}
.page-architects .hero .btn--primary:hover {
  background: var(--accent-yellow-dark);
  border-color: var(--accent-yellow-dark);
}
.page-architects .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.page-architects .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* === ARCHITECTS PAGE — END === */

/* ---- Testimonial cards on architects page ---- */
.page-architects .testimonial-card {
  background: #fff;
  border: 1px solid var(--arch-line-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  padding: 2.5rem 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.page-architects .testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--arch-ink);
  font-style: italic;
  margin: 0 0 1.5rem;
  position: relative;
  padding-top: 0.5rem;
}
.page-architects .testimonial-card__quote::before {
  content: "\201C";
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.25;
  font-family: Georgia, serif;
  font-style: normal;
  font-weight: 700;
}
.page-architects .testimonial-card__attribution {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--arch-line-soft);
  font-size: 0.875rem;
}
.page-architects .testimonial-card__name {
  font-weight: 700;
  color: var(--arch-ink);
  display: block;
  margin-bottom: 0.15rem;
  font-style: normal;
  letter-spacing: 0.005em;
}
.page-architects .testimonial-card__role {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* ---- Team photos ---- */
.page-architects .team-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 2rem auto 0;
}
@media (max-width: 600px) {
  .page-architects .team-photos {
    grid-template-columns: 1fr;
  }
}
.page-architects .team-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--arch-sand-deep);
}
.page-architects .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}
.page-architects .team-photo__caption {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--arch-ink);
  text-align: center;
}
.page-architects .team-photo__name {
  font-weight: 700;
  display: block;
}
.page-architects .team-photo__role {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  display: block;
}

/* ---- Two-column with image (constructibility) ---- */
.page-architects .two-col-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .page-architects .two-col-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.page-architects .two-col-image__image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.page-architects .two-col-image__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
