/* =====================================================================
   JJ Electric 2026 · design layer
   Loaded after style.min.css. Re-skins every existing class in the new
   style (light by default, dark via html[data-theme="dark"]), brand
   yellow #FCBA10, Apple-like typography and spacing.
   ===================================================================== */

:root {
  --brand: #FCBA10;
  --brand-hover: #FFC93F;
  --brand-text: #8F5D00;
  --brand-tint: rgba(252, 186, 16, .16);

  --ink: #1D1D1F;
  --ink-2: #424245;
  --ink-soft: #6E6E73;
  --line: #D2D2D7;
  --bg: #FFFFFF;
  --bg-2: #F5F5F7;
  --card: #F5F5F7;
  --card-on-2: #FFFFFF;
  --field: #FFFFFF;
  --dark-surface: #1D1D1F;
  --nav-bg: rgba(255, 255, 255, .78);

  /* legacy tokens, remapped */
  --primary: #FCBA10;
  --primary-dark: #E0A200;
  --primary-light: #FFD56B;
  --secondary: #1D1D1F;
  --secondary-dark: #000000;
  --secondary-light: #3A3A3C;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.14);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 24px 48px -20px rgba(0,0,0,.22);
  --shadow-glow: none;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --brand-text: #FCBA10;
  --brand-tint: rgba(252, 186, 16, .14);
  --ink: #F5F5F7;
  --ink-2: #C7C7CC;
  --ink-soft: #A1A1A6;
  --line: #38383A;
  --bg: #0B0B0D;
  --bg-2: #141416;
  --card: #1C1C1E;
  --card-on-2: #1C1C1E;
  --field: #1C1C1E;
  --dark-surface: #1C1C1E;
  --nav-bg: rgba(11, 11, 13, .72);

  --secondary: #F5F5F7;
  --white: #1C1C1E;
  --gray-50: #141416;
  --gray-100: #1C1C1E;
  --gray-200: #2C2C2E;
  --gray-300: #3A3A3C;
  --gray-400: #8E8E93;
  --gray-500: #A1A1A6;
  --gray-600: #B8B8BD;
  --gray-700: #C7C7CC;
  --gray-800: #E5E5EA;
  --gray-900: #F5F5F7;
  color-scheme: dark;
}

/* surfaces that stay dark in both themes keep the original light-on-dark tokens */
.section-dark, .footer-always-dark, .lightbox, .project-cta, .team-overlay {
  --white: #FFFFFF;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --secondary: #1D1D1F;
}

/* ------------------------------------------------------------- base -- */
html { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  letter-spacing: -0.011em;
  line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.07; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
p { text-wrap: pretty; }
::selection { background: var(--brand); color: #1D1D1F; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 6px; }
a { transition: color .16s ease-out, background-color .16s ease-out, opacity .16s ease-out; }

.container { max-width: 1120px; padding: 0 max(22px, 4vw); }
.section { padding: clamp(72px, 10vw, 128px) 0; background: var(--bg); }
.section-gray { background: var(--bg-2); }
.section-dark { background: #0B0B0D; color: #E5E5EA; }
html[data-theme="dark"] .section-dark { background: #000000; border-block: 1px solid #1C1C1E; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #F5F5F7; }

.section-header { margin-bottom: clamp(36px, 5vw, 64px); }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 40em; margin-inline: auto; }
.section-dark .section-header p { color: #A1A1A6; }
.section-label {
  display: inline-block;
  background: none !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--brand-text) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: .005em !important;
  text-transform: none !important;
  margin-bottom: 10px;
}
.section-dark .section-label { color: var(--brand) !important; }

/* ---------------------------------------------------------- buttons -- */
.btn {
  border-radius: 980px;
  padding: 13px 26px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  box-shadow: none;
  transform: none;
  transition: background-color .16s ease-out, color .16s ease-out, border-color .16s ease-out, transform .12s ease-out;
}
.btn:hover { transform: none; box-shadow: none; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-primary { background: var(--brand); color: #1D1D1F; }
.btn-primary:hover { background: var(--brand-hover); color: #1D1D1F; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-2); color: var(--ink); border-color: var(--line); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark { background: #1D1D1F; color: #FFFFFF; }
.btn-dark:hover { background: #000000; color: #FFFFFF; }
html[data-theme="dark"] .btn-dark { background: #F5F5F7; color: #1D1D1F; }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: #FFFFFF; color: #1D1D1F; }
.section-dark .btn-secondary { color: #F5F5F7; border-color: rgba(255,255,255,.3); }
.section-dark .btn-secondary:hover { background: rgba(255,255,255,.08); }

/* ----------------------------------------------------------- header -- */
.top-bar { display: none !important; }
.header, .header.scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: none;
}
html[data-theme="dark"] .header { border-bottom-color: rgba(255,255,255,.08); }
.navbar { min-height: 60px; padding: 6px 0; gap: 24px; }
.logo-img, .header.scrolled .logo-img { height: 42px; width: auto; }
.logo-dark { display: none !important; }
html[data-theme="dark"] .logo-light { display: none !important; }
html[data-theme="dark"] .logo-dark { display: block !important; }
.nav-menu { gap: 2px; margin-left: auto; }
.nav-link, .header .nav-link, .header.scrolled .nav-link {
  color: var(--ink-2) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 12px;
  text-shadow: none;
  border-radius: 980px;
}
.nav-link::after { display: none; }
.nav-link:hover, .header .nav-link:hover { color: var(--ink) !important; background: rgba(127,127,127,.1); }
.nav-link.active, .header .nav-link.active, .header.scrolled .nav-link.active { color: var(--ink) !important; background: var(--brand-tint); }
.nav-cta { margin-left: 8px; padding: 9px 18px !important; font-size: .9rem !important; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2);
  display: inline-grid; place-items: center; cursor: pointer; flex: none;
}
.theme-toggle:hover { background: rgba(127,127,127,.12); }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.mobile-toggle span, .header.scrolled .mobile-toggle span { background: var(--ink); height: 2px; width: 22px; }
.mobile-overlay { background: rgba(0,0,0,.35); backdrop-filter: blur(4px); }

/* ------------------------------------------------------------- hero -- */
.hero {
  min-height: 0 !important;
  padding: clamp(140px, 18vh, 200px) 0 clamp(64px, 9vw, 110px) !important;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(252,186,16,.22) 0%, rgba(252,186,16,0) 70%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%) !important;
  color: var(--ink);
}
html[data-theme="dark"] .hero {
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(252,186,16,.16) 0%, rgba(252,186,16,0) 70%),
    linear-gradient(180deg, #121214 0%, var(--bg) 100%) !important;
}
.hero::before, .hero::after { display: none !important; }
.hero-sky, .hero-watermark, .scroll-indicator { display: none !important; }
.hero h1 { color: var(--ink); font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.03; letter-spacing: -0.032em; margin-bottom: 22px; }
.hero h1 span {
  color: inherit;
  background: linear-gradient(transparent 64%, var(--brand) 64%, var(--brand) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: .04em;
}
html[data-theme="dark"] .hero h1 span { color: var(--brand); background: none; }
.hero-text { color: var(--ink-2) !important; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 36em; margin-inline: auto; }
.hero-content { max-width: 920px; }
.hero-badge { background: var(--brand-tint); color: var(--brand-text); border: 0; border-radius: 980px; }
.hero-trust { gap: 10px; margin-top: 28px; }
.hero-trust span {
  background: var(--card); color: var(--ink-2); border: 0; border-radius: 980px;
  padding: 8px 14px; font-size: .88rem; box-shadow: inset 0 0 0 1px rgba(127,127,127,.12);
}
.hero-trust i { color: var(--brand-text); }
.hero .btn-secondary { color: var(--ink); border-color: var(--line); background: transparent; }

/* ------------------------------------------------------------ cards -- */
.usp-card, .service-card, .intro-feature, .contact-card, .faq-item, .blog-card, .project-card,
.team-member, .certificaat-item, .contact-form-wrapper, .about-feature, .specialty-item, .contact-item,
.section:not(.section-dark) .usp-card {
  background: var(--card) !important;
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
}
.section-gray .usp-card, .section-gray .service-card, .section-gray .intro-feature, .section-gray .contact-card,
.section-gray .faq-item, .section-gray .blog-card, .section-gray .project-card, .section-gray .team-member,
.section-gray .certificaat-item, .section-gray .contact-form-wrapper, .section-gray .about-feature, .section-gray .contact-item {
  background: var(--card-on-2) !important;
}
.usp-card:hover, .service-card:hover, .intro-feature:hover, .contact-card:hover, .blog-card:hover, .project-card:hover,
.team-member:hover, .certificaat-item:hover, .section:not(.section-dark) .usp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}
.section-dark .usp-card {
  background: #1C1C1E !important;
  border: 0 !important;
}
.section-dark .usp-card h4 { color: #F5F5F7; }
.section-dark .usp-card p { color: #A1A1A6; }

.usp-icon, .service-icon, .intro-feature-icon, .contact-item-icon, .contact-avatar {
  background: var(--brand-tint) !important;
  color: var(--brand-text) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.usp-icon i, .service-icon i, .intro-feature-icon i, .contact-item-icon i { color: var(--brand-text) !important; }
.section-dark .usp-icon { background: rgba(252,186,16,.16) !important; color: var(--brand) !important; }
.section-dark .usp-icon i { color: var(--brand) !important; }
.service-card:hover .service-icon { transform: none; }
.service-card h3, .usp-card h4, .intro-feature-content h4 { color: var(--ink); letter-spacing: -0.02em; }
.service-card p, .usp-card p, .intro-feature-content p { color: var(--ink-soft); }
.service-card.service-highlight { box-shadow: inset 0 0 0 2px var(--brand) !important; }
.service-badge { background: var(--brand) !important; color: #1D1D1F !important; border-radius: 980px; }
.service-features li i, .about-feature i, .team-details i, .meta-item i, .footer-contact-item i { color: var(--brand-text) !important; }
.service-link, .project-link, .blog-card-link, .project-location, .contact-item-content a, .blog-article-body a,
.about-content strong, .footer-bottom a, .contact-card-phone {
  color: var(--brand-text) !important;
}
.service-link:hover, .blog-card-link:hover { text-decoration: underline; }

/* intro + specialties (legacy homepage pieces still used elsewhere) */
.intro-section { background: var(--bg) !important; }
.intro-section::before { display: none; }
.specialties-banner { background: var(--bg-2) !important; }
.specialty-item { color: var(--ink); }
.specialty-item i { color: var(--brand-text) !important; }
.specialty-item strong { color: var(--ink); }
.specialty-item span { color: var(--ink-soft); }

/* ------------------------------------------------------------- team -- */
.team-member-image { background: linear-gradient(160deg, #FFE3A6, #FCBA10) !important; }
.team-overlay { background: rgba(0,0,0,.55) !important; }
.team-badge { background: var(--brand) !important; color: #1D1D1F !important; }
.team-action { background: var(--brand) !important; color: #1D1D1F !important; }
.team-member-info h3 { color: var(--ink); }
.contact-card-person h4 { color: var(--ink); }
.contact-card-person span { color: var(--ink-soft); }

/* ------------------------------------------------------------ forms -- */
.form-label { color: var(--ink) !important; font-weight: 600; }
.form-control {
  background: var(--field) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 14px 16px;
  font-family: var(--font);
}
.form-control:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 4px rgba(252,186,16,.28) !important; outline: none; }
.form-control::placeholder { color: var(--ink-soft); }
.alert { border-radius: 14px; }

/* -------------------------------------------------------------- faq -- */
.faq-item-accordion {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.faq-item-accordion:first-of-type { border-top: 1px solid var(--line) !important; }
.faq-item-accordion summary { color: var(--ink) !important; font-size: 1.15rem; font-weight: 600; padding: 22px 0 !important; }
.faq-item-accordion summary::after { color: var(--ink-soft) !important; }
.faq-item-accordion p { color: var(--ink-soft) !important; padding: 0 0 22px !important; }
.faq-item h3 { color: var(--ink); }
.faq-item p { color: var(--ink-soft); }

/* -------------------------------------------------------------- cta -- */
.cta-section {
  background: linear-gradient(180deg, var(--bg) 0%, #FFF0D2 50%, #FFD98A 100%) !important;
  color: var(--ink);
}
html[data-theme="dark"] .cta-section { background: linear-gradient(180deg, var(--bg) 0%, #24180A 55%, #3D2A08 100%) !important; }
.cta-section::before, .cta-section::after { display: none !important; }
.cta-content h2 { color: var(--ink) !important; }
.cta-content p { color: var(--ink-2) !important; }
.cta-box { background: var(--card); border-radius: var(--radius-xl); }
.project-cta { background: linear-gradient(160deg, #2A2A2C, #1D1D1F) !important; border-radius: var(--radius-lg); }
.project-cta h4 { color: #F5F5F7; }

/* --------------------------------------------------------- projects -- */
.project-card { overflow: hidden; }
.project-image { background: var(--bg-2) !important; }
.project-image::after { display: none !important; }
.project-content h3 { color: var(--ink) !important; }
.photo-count { background: rgba(0,0,0,.6) !important; backdrop-filter: blur(6px); border-radius: 980px; }
.project-placeholder, .blog-card-placeholder { background: linear-gradient(160deg, #FFE3A6, #FCBA10) !important; color: #1D1D1F !important; }
.gallery-thumb.active { outline: 2px solid var(--brand); }
.meta-item span, .meta-item strong { color: var(--ink); }
.description-content, .project-description p { color: var(--ink-2); }
.description-content b { color: var(--ink); }
.share-email { background: #1D1D1F !important; }
html[data-theme="dark"] .share-email { background: #3A3A3C !important; }
.share-copy { color: var(--ink) !important; background: var(--card) !important; }

/* ------------------------------------------------------------- blog -- */
.blog-card-category { background: var(--brand-tint) !important; color: var(--brand-text) !important; border-radius: 980px; }
.blog-card-content h3 { color: var(--ink) !important; }
.blog-card-content p, .blog-card-meta { color: var(--ink-soft) !important; }
.blog-filter-btn { background: var(--card) !important; color: var(--ink-2) !important; border: 0 !important; border-radius: 980px !important; }
.blog-filter-btn.active { background: var(--ink) !important; color: var(--bg) !important; }
.blog-tag { background: var(--card); color: var(--ink-2); border-radius: 980px; }
.blog-article-body h2, .blog-article-body h3, .blog-article-body strong { color: var(--ink) !important; }
.blog-article-body p, .blog-article-body li, .blog-article-intro p { color: var(--ink-2); }

/* ---------------------------------------------------------- footer -- */
.footer {
  background: var(--bg-2) !important;
  color: var(--ink-soft);
  border-top: 1px solid rgba(127,127,127,.14);
  padding: 56px 0 28px;
  font-size: .9rem;
}
.footer h4 { color: var(--ink) !important; font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 14px; }
.footer h4::after { display: none !important; }
.footer p, .footer-brand p { color: var(--ink-soft) !important; }
.footer-links a, .footer-contact-item a, .footer-contact-item p { color: var(--ink-2) !important; }
.footer-links a::before { display: none !important; }
.footer-links a:hover, .footer-contact-item a:hover, .footer-legal a:hover { color: var(--ink) !important; text-decoration: underline; padding-left: 0 !important; }
.footer-legal a { color: var(--ink-2) !important; }
.footer-bottom { border-top: 1px solid var(--line) !important; color: var(--ink-soft) !important; }
.footer-bottom p { color: var(--ink-soft) !important; }
.footer-social a { background: var(--card) !important; color: var(--ink-2) !important; border-radius: 50% !important; }
.footer-social a:hover { background: var(--brand) !important; color: #1D1D1F !important; }
.footer .logo-img { height: 54px; }

.scroll-top { background: var(--brand) !important; color: #1D1D1F !important; border-radius: 50% !important; box-shadow: var(--shadow) !important; }
.scroll-top:hover { background: var(--brand-hover) !important; }

/* ---------------------------------------------------------- legal -- */
.legal-content, .legal-article { color: var(--ink-2); }
.legal-article h2, .legal-article h3, .legal-content h2, .legal-content h3 { color: var(--ink); }
.legal-box, .legal-toc, .legal-contact { background: var(--card) !important; border-color: var(--line) !important; border-radius: var(--radius-lg) !important; }
.legal-table th { background: var(--bg-2) !important; color: var(--ink) !important; }
.legal-table td { border-color: var(--line) !important; color: var(--ink-2); }

/* ---------------------------------------------------- mobile menu -- */
@media (max-width: 968px) {
  .nav-menu {
    background: var(--bg) !important;
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    border-left: 1px solid rgba(127,127,127,.14);
    margin-left: 0;
  }
  .nav-menu .nav-link { color: var(--ink) !important; border-bottom: 1px solid var(--line) !important; border-radius: 0; font-size: 1.15rem; padding: 16px 4px !important; background: none !important; }
  .nav-menu .nav-link.active { color: var(--brand-text) !important; }
  .nav-cta.desktop-only { display: none !important; }
  .theme-toggle { margin-left: auto; }
}
@media (min-width: 969px) {
  .mobile-only { display: none !important; }
}

/* ------------------------------------------------- reveal on scroll -- */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s cubic-bezier(.25,.1,.25,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .usp-card:hover, .service-card:hover, .project-card:hover, .blog-card:hover { transform: none; }
}

/* ------------------------------------------- fixes on always-dark bands -- */
.section-dark .about-feature, .section-dark .contact-card, .section-dark .intro-feature,
.section-dark .service-card, .section-dark .faq-item, .section-dark .contact-item, .section-dark .certificaat-item {
  background: #1C1C1E !important;
  color: #E5E5EA;
}
.section-dark .about-feature span, .section-dark .about-content p { color: #C7C7CC; }
.section-dark .about-content h2 { color: #F5F5F7; }
.section-dark .about-content strong { color: var(--brand) !important; }
.section-dark .about-feature i, .section-dark .service-features li i { color: var(--brand) !important; }
.section-dark .contact-card-person h4 { color: #F5F5F7; }
.section-dark .contact-card-person span { color: #A1A1A6; }
.section-dark .contact-avatar { background: rgba(252,186,16,.16) !important; color: var(--brand) !important; }
.section-dark .contact-card-phone { color: var(--brand) !important; }

/* light-on-orange buttons from the old CTA band now sit on a light sunrise */
.cta-section .btn-outline-light, .cta-section .btn-secondary {
  color: var(--ink) !important; border-color: rgba(127,127,127,.45) !important; background: transparent !important;
}
.cta-section .btn-outline-light:hover, .cta-section .btn-secondary:hover { background: var(--ink) !important; color: var(--bg) !important; }

/* hamburger: the old stylesheet forces white bars */
.mobile-toggle span, .header .mobile-toggle span, .header.scrolled .mobile-toggle span { background: var(--ink) !important; }
.mobile-toggle { position: relative; z-index: 1002; }

/* =====================================================================
   PAGE COMPONENTS (pg-*) · calm layouts for the renewed pages
   ===================================================================== */
.pg { --pad: max(22px, 5vw); }
.pg p { margin: 0; }
.pg h1, .pg h2, .pg h3 { margin: 0; }
.pg-wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
.pg-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--pad); }
.pg-sec { padding-block: clamp(80px, 11vw, 140px); background: var(--bg); }
.pg-sec--alt { background: var(--bg-2); }
.pg-sec--tight { padding-block: clamp(56px, 7vw, 88px); }
.pg-eyebrow { display: block; font-size: 1.05rem; font-weight: 600; color: var(--brand-text); margin-bottom: 10px !important; letter-spacing: .005em; }
.pg-h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1.03; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); }
.pg-h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); }
.pg-h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.pg-lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; margin-top: 20px !important; }
.pg-text { font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); max-width: 38em; }
.pg-text + .pg-text { margin-top: 16px !important; }
.pg-soft { color: var(--ink-soft) !important; }
.pg-center { text-align: center; }
.pg-center .pg-lead, .pg-center .pg-text { margin-inline: auto; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.pg-center .pg-actions { justify-content: center; }
.pg-link { color: var(--brand-text) !important; font-weight: 500; }
.pg-link::after { content: " \203A"; }
.pg-link:hover { text-decoration: underline; }
.ic { display: inline-block; vertical-align: -0.18em; flex: none; }

/* hero */
.pg-hero { padding: calc(110px + clamp(36px, 7vh, 90px)) 0 clamp(64px, 8vw, 110px); background: var(--bg); }
.pg-hero--alt { background: var(--bg-2); }
.pg-hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.pg-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }

/* photo pair */
.pg-pics { position: relative; aspect-ratio: 1 / 1.02; }
.pg-pic { position: absolute; width: 64%; aspect-ratio: 4 / 5; margin: 0; border-radius: 26px; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); }
.pg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-pic--a { left: 0; top: 0; }
.pg-pic--b { right: 0; bottom: 0; }
.pg-pic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: #1D1D1F; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 980px; }

/* statement */
.pg-statement { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); max-width: 24em; }
.pg-statement em { font-style: normal; color: var(--ink-soft); }

/* three quiet columns */
.pg-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.pg-cols--4 { grid-template-columns: repeat(4, 1fr); }
.pg-col { border-top: 1px solid var(--line); padding-top: 22px; }
.pg-col .pg-h3 { margin-bottom: 8px !important; }
.pg-col p { color: var(--ink-soft); line-height: 1.55; }
.pg-num { display: block; font-size: .9rem; font-weight: 600; color: var(--brand-text); margin-bottom: 14px; font-variant-numeric: tabular-nums; }

/* people */
.pg-people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.pg-person { background: var(--bg); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.pg-sec--alt .pg-person { background: var(--bg); }
.pg-sec:not(.pg-sec--alt) .pg-person { background: var(--bg-2); }
.pg-person__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.pg-person__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-person__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.pg-person__name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pg-person__meta { color: var(--ink-soft); }
.pg-person__bio { color: var(--ink-2); margin-top: 8px !important; line-height: 1.55; }
.pg-person .pg-actions { margin-top: 18px; }
.pg-tel { font-size: 1.15rem; font-weight: 600; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.pg-tel:hover { color: var(--brand-text) !important; }

/* logo plates: always light, so logos with white backgrounds look intentional */
.pg-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.pg-logo { width: 220px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.pg-logo__plate { width: 100%; height: 120px; border-radius: 20px; background: #FFFFFF; display: grid; place-items: center; padding: 18px 24px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.pg-sec:not(.pg-sec--alt) .pg-logo__plate { background: #F5F5F7; }
html[data-theme="dark"] .pg-logo__plate, html[data-theme="dark"] .pg-sec:not(.pg-sec--alt) .pg-logo__plate { background: #F5F5F7; box-shadow: none; }
.pg-logo__plate img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.pg-logo span { font-size: .92rem; color: var(--ink-soft); text-align: center; }
.pg-logo:hover span { color: var(--ink); }

/* service split */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.pg-split--flip .pg-split__visual { order: -1; }
.pg-visual { aspect-ratio: 5 / 4; border-radius: 30px; display: grid; place-items: center; color: var(--v-ink, #1D1D1F); background: var(--v-bg, var(--bg-2)); }
.pg-visual .ic { width: clamp(88px, 12vw, 140px); height: clamp(88px, 12vw, 140px); stroke-width: 1.2; }
.v-sky   { --v-bg: linear-gradient(160deg, #E3F0FF, #F4F9FF); --v-ink: #0058B9; }
.v-sun   { --v-bg: linear-gradient(160deg, #FFE6A3, #FFF6DD); --v-ink: #8F5D00; }
.v-green { --v-bg: linear-gradient(160deg, #D8F3DF, #F2FBF4); --v-ink: #17803B; }
.v-teal  { --v-bg: linear-gradient(160deg, #D5F1F2, #F0FAFA); --v-ink: #007A80; }
.v-coral { --v-bg: linear-gradient(160deg, #FFE1DA, #FFF4F1); --v-ink: #C2361F; }
.v-ink   { --v-bg: linear-gradient(160deg, #E6E6EA, #F5F5F7); --v-ink: #3A3A3C; }
html[data-theme="dark"] .v-sky   { --v-bg: linear-gradient(160deg, #0F2238, #0B1726); --v-ink: #64A8FF; }
html[data-theme="dark"] .v-sun   { --v-bg: linear-gradient(160deg, #2B2210, #1A1508); --v-ink: #FCBA10; }
html[data-theme="dark"] .v-green { --v-bg: linear-gradient(160deg, #10291A, #0A1A10); --v-ink: #30D158; }
html[data-theme="dark"] .v-teal  { --v-bg: linear-gradient(160deg, #0B2A2C, #071A1B); --v-ink: #40C8E0; }
html[data-theme="dark"] .v-coral { --v-bg: linear-gradient(160deg, #2E1714, #1C0E0C); --v-ink: #FF6B57; }
html[data-theme="dark"] .v-ink   { --v-bg: linear-gradient(160deg, #2C2C2E, #1C1C1E); --v-ink: #C7C7CC; }
.e-sky { color: #0066CC !important; } .e-green { color: #17803B !important; } .e-teal { color: #007A80 !important; } .e-coral { color: #C2361F !important; } .e-ink { color: var(--ink-soft) !important; }
html[data-theme="dark"] .e-sky { color: #64A8FF !important; } html[data-theme="dark"] .e-green { color: #30D158 !important; } html[data-theme="dark"] .e-teal { color: #40C8E0 !important; } html[data-theme="dark"] .e-coral { color: #FF6B57 !important; }

.pg-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.pg-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.4; }
.pg-checks .ic { color: var(--brand-text); margin-top: 1px; }

/* in-page nav pills */
.pg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pg-pills a { padding: 9px 16px; border-radius: 980px; background: var(--bg-2); color: var(--ink-2) !important; font-size: .95rem; }
.pg-hero--alt .pg-pills a { background: var(--bg); }
.pg-pills a:hover { background: var(--brand); color: #1D1D1F !important; text-decoration: none; }

/* faq */
.pg-faq { margin-top: 40px; }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq details:first-child { border-top: 1px solid var(--line); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; font-weight: 300; font-size: 1.7rem; line-height: .8; color: var(--ink-soft); transition: transform .2s ease-out; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details p { padding: 0 0 22px; color: var(--ink-soft); line-height: 1.6; max-width: 62ch; }

/* closing band */
.pg-cta { padding: clamp(90px, 12vw, 150px) var(--pad, 22px); text-align: center; background: linear-gradient(180deg, var(--bg) 0%, #FFF0DC 45%, #FFD98A 100%); }
.pg-sec--alt + .pg-cta { background: linear-gradient(180deg, var(--bg-2) 0%, #FFF0DC 45%, #FFD98A 100%); }
html[data-theme="dark"] .pg-cta, html[data-theme="dark"] .pg-sec--alt + .pg-cta { background: linear-gradient(180deg, var(--bg) 0%, #24170D 55%, #4A2A10 100%); }
.pg-cta .pg-lead { color: #6B4A2B; margin-inline: auto; }
html[data-theme="dark"] .pg-cta .pg-lead, html[data-theme="dark"] .pg-cta .pg-tels { color: #E8C9A8; }
.pg-cta .pg-actions { justify-content: center; }
.pg-tels { margin-top: 22px !important; color: #6B4A2B; }
.pg-tels a { color: inherit !important; font-weight: 600; }

/* contact */
.pg-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pg-reach { display: flex; flex-direction: column; }
.pg-reach__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pg-reach__item:first-child { border-top: 1px solid var(--line); }
.pg-reach__avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--brand-text); }
.pg-reach__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pg-reach__name { font-weight: 600; color: var(--ink); }
.pg-reach__sub { font-size: .9rem; color: var(--ink-soft); }
.pg-form { background: var(--bg-2); border-radius: 28px; padding: clamp(26px, 4vw, 44px); }
.pg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.pg-field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.pg-field label small { font-weight: 400; color: var(--ink-soft); }
.pg-field input, .pg-field select, .pg-field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
html[data-theme="dark"] .pg-field input, html[data-theme="dark"] .pg-field select, html[data-theme="dark"] .pg-field textarea { background: #1C1C1E; }
.pg-field textarea { min-height: 150px; resize: vertical; }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(252,186,16,.25); }
.pg-field input::placeholder, .pg-field textarea::placeholder { color: var(--ink-soft); opacity: .8; }
.pg-form .btn { width: 100%; justify-content: center; }
.pg-form__note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 14px !important; }
.pg-alert { border-radius: 16px; padding: 16px 18px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.pg-alert--ok { background: #E6F7EA; color: #135C2C; }
.pg-alert--err { background: #FFECE8; color: #8A2414; }
html[data-theme="dark"] .pg-alert--ok { background: #10291A; color: #9BE7B0; }
html[data-theme="dark"] .pg-alert--err { background: #2E1714; color: #FFB4A6; }
.pg-alert a { color: inherit !important; font-weight: 600; text-decoration: underline; }

@media (max-width: 900px) {
  .pg-hero__grid, .pg-split, .pg-contact { grid-template-columns: 1fr; }
  .pg-split--flip .pg-split__visual { order: 0; }
  .pg-split__visual { max-width: 520px; width: 100%; }
  .pg-visual { aspect-ratio: 16 / 9; }
  .pg-pics { max-width: 440px; width: 100%; margin-inline: auto; }
  .pg-cols, .pg-cols--4 { grid-template-columns: 1fr; gap: 0; }
  .pg-col { padding-block: 20px; }
  .pg-people { grid-template-columns: 1fr; }
  .pg-checks { grid-template-columns: 1fr; }
  .pg-form__row { grid-template-columns: 1fr; gap: 0; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .pg-cols--4 { grid-template-columns: repeat(2, 1fr); }
}
.pg-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pg-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pg-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pg-hero__grid .pg-h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.pg-logo__plate img { max-height: 76px; }
@media (max-width: 900px) {
  .pg-hero__grid, .pg-split, .pg-contact { grid-template-columns: minmax(0, 1fr); }
}
.pg-logo__plate, .pg-sec:not(.pg-sec--alt) .pg-logo__plate,
html[data-theme="dark"] .pg-logo__plate, html[data-theme="dark"] .pg-sec:not(.pg-sec--alt) .pg-logo__plate {
  background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 24px -14px rgba(0,0,0,.25);
}
.pg-logo__plate img { mix-blend-mode: normal; }
.pg-pic { width: 68%; }
@media (max-width: 900px) { .pg-split__visual { display: none; } }

/* logos on phones: one tidy horizontal row you can swipe */
@media (max-width: 700px) {
  .pg-logos {
    flex-wrap: nowrap; justify-content: flex-start; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--pad, 22px)); padding: 4px var(--pad, 22px) 14px;
    scroll-padding-inline: var(--pad, 22px); scrollbar-width: none;
  }
  .pg-logos::-webkit-scrollbar { display: none; }
  .pg-logo { flex: 0 0 62%; max-width: 230px; scroll-snap-align: start; }
  .pg-logo__plate { height: 104px; padding: 16px 20px; }
  .pg-logo__plate img { max-height: 64px; }
  .pg-logo span { font-size: .85rem; }
}

/* =====================================================================
   MOBILE · touch targets, no iOS zoom, safe areas
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.header { padding-top: env(safe-area-inset-top, 0px); }
.footer { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.theme-toggle { width: 44px; height: 44px; }
.footer-social a { width: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; }
.share-btn { width: 44px !important; height: 44px !important; }
.blog-filter-btn { min-height: 44px; display: inline-flex !important; align-items: center; }
.hero-badge { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }

/* form controls never below 16px, so iPhones don't zoom in */
input:not([type="range"]):not([type="radio"]):not([type="checkbox"]), select, textarea, .form-control { font-size: max(16px, 1rem) !important; }

@media (max-width: 900px) {
  /* text links that act as buttons get a full thumb-sized hit area */
  .more, .pg-link, .pg-tel, .service-link, .project-link, .blog-card-link, .h-towns-more,
  .footer-links a, .footer-legal a, .footer-contact-item a, .pg-reach a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer-links li { margin: 0 !important; }
  .footer-links a { padding-block: 0 !important; }
  .footer-contact-item p { margin: 0 !important; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 6px; }
  .h-towns a { min-height: 44px; display: inline-flex; align-items: center; }
  .pg-pills a { min-height: 44px; display: inline-flex; align-items: center; }
  .h-faq summary, .pg-faq summary, .faq-item-accordion summary { min-height: 44px; align-items: center; }
  .nav-menu .nav-link { min-height: 52px; display: flex !important; align-items: center; }
  .btn { min-height: 48px; }
  .btn-sm { min-height: 44px; }
}
@media (max-width: 900px) {
  .footer-links a, .footer-legal a { min-width: 44px; justify-content: center; }
  .footer-links-col .footer-links a { justify-content: flex-start; }
  .ticket-page > a:first-child { min-height: 44px; display: inline-flex !important; align-items: center; }
}
