:root{
  --bg:#ffffff;
  --bg2:#f7f8fb;
  --text:#0f172a;
  --muted:rgba(15,23,42,.70);
  --border:rgba(15,23,42,.10);
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --shadow2:0 10px 26px rgba(15,23,42,.10);
  --accent:#2563eb;
  --gold:#d9b75e;
  --goldSoft:rgba(217,183,94,.18);
  --searchBlueBg:#eef5fb;
  --searchBlueBg2:#f7fbff;
  --searchBlueBorder:#bfd0de;
  --searchBlueAccent:#7f9db3;
  --searchBlueAccent2:#5f7f97;
  --searchBlueText:#274356;
  --searchBlueSoft:#dce9f3;
}
html,body{background:var(--bg)!important;color:var(--text)!important}
body *{color:inherit}
a{color:var(--accent)}
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:12px;top:12px;width:auto;height:auto;z-index:9999;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 12px}
.gallery-wrap{background:radial-gradient(900px 520px at 15% 0%,rgba(37,99,235,.10),transparent 55%),radial-gradient(900px 520px at 90% 10%,rgba(2,132,199,.10),transparent 55%),linear-gradient(180deg,var(--bg),var(--bg2))}
.gallery-container{max-width:1180px;margin:0 auto;padding:26px 16px 40px}
.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;padding:20px;border:1px solid var(--border);border-radius:28px;background:rgba(255,255,255,.75);backdrop-filter:blur(8px);box-shadow:var(--shadow);align-items:start}
.gallery-hero-home{margin-bottom:26px}
.h1{margin:0 0 10px;font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.6px;font-weight:950;text-wrap:balance}
.sub{margin:0 0 14px;color:var(--muted);line-height:1.7}
.chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0 0 14px}
.chip{padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:#fff;font-size:13px}
.lead{margin:0 0 12px;line-height:1.85;max-width:72ch}
.bullets{margin:0;padding-left:18px}
.bullets li{margin:8px 0;line-height:1.7}
.card{border:1px solid var(--border);border-radius:20px;background:rgba(255,255,255,.92);padding:16px;box-shadow:var(--shadow2)}
.ctaRow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(15,23,42,.14);background:#fff;text-decoration:none;font-weight:900;font-size:14px;color:rgba(15,23,42,.95)!important;cursor:pointer}
.btn.primary{border-color:rgba(37,99,235,.35);background:rgba(37,99,235,.10)}
.btn.call{margin-left:auto;background:rgba(15,23,42,.04)}
.quotePanel{display:flex;flex-direction:column;gap:12px}
.quotePanel h2{margin:0;font-size:16px;font-weight:950}
.quotePanel p{margin:0;color:var(--muted);line-height:1.7;font-size:14px}
.side-cta-row{margin-top:0}
.divider{height:1px;background:rgba(15,23,42,.10);margin:2px 0}
.miniChecklist{border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:12px;background:rgba(255,255,255,.85)}
.miniChecklist strong{display:block;font-size:13px;margin-bottom:8px}
.miniChecklist ul{margin:0;padding-left:18px;color:var(--muted)}
.miniChecklist li{margin:6px 0;line-height:1.55;font-size:13px}
.section{margin-top:26px}
.section h2{margin:0 0 10px;font-size:24px;font-weight:950;letter-spacing:-.3px}
.kicker{margin:0 0 14px;color:var(--muted);line-height:1.75;max-width:90ch}
.gallery-toolbar-section{display:grid;gap:8px}
.gallery-search-box{margin:8px 0 10px;padding:18px;border:1px solid var(--searchBlueBorder);border-radius:22px;background:linear-gradient(180deg,var(--searchBlueBg2),var(--searchBlueBg));box-shadow:0 12px 28px rgba(95,127,151,.10)}
.gallery-search-label{display:block;margin:0 0 10px;font-size:16px;font-weight:950;color:var(--searchBlueText)}
.gallery-search-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.gallery-search-input{width:100%;min-height:50px;border:1px solid var(--searchBlueBorder);border-radius:999px;padding:12px 18px;font-size:15px;color:var(--searchBlueText);background:#fff;outline:none}
.gallery-search-input::placeholder{color:rgba(39,67,86,.58)}
.gallery-search-input:focus{border-color:var(--searchBlueAccent);box-shadow:0 0 0 4px rgba(127,157,179,.18);background:#fff}
.gallery-search-clear{min-height:50px;border:1px solid var(--searchBlueBorder);border-radius:999px;padding:10px 18px;background:linear-gradient(180deg,#ffffff,var(--searchBlueSoft));font-weight:900;cursor:pointer;color:var(--searchBlueText)}
.gallery-search-clear:hover{background:linear-gradient(180deg,var(--searchBlueSoft),#d5e4ef);border-color:var(--searchBlueAccent)}
.gallery-search-note{margin:9px 0 0;font-size:13px;color:rgba(39,67,86,.78);line-height:1.5}
.gallery-no-results{margin-bottom:16px}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.filter-btn{border:1px solid rgba(15,23,42,.14);background:#fff;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer;color:rgba(15,23,42,.95)}
.filter-btn.active,.filter-btn:hover{border-color:var(--searchBlueAccent);background:var(--searchBlueSoft);color:var(--searchBlueText)}
.gallery-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start;margin-top:16px}
.project-list-area{min-width:0}
.gallery-side-cards{display:grid;gap:14px;position:sticky;top:92px}
.project-grid-light{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-card-light{padding:0;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.project-card-light:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.project-image-link{position:relative;display:block;background:#eef2f7;overflow:hidden;text-decoration:none}
.project-image-link img,.placeholder-light{width:100%;height:245px;display:block;object-fit:cover;background:#eef2f7;transition:transform .35s ease}
.project-card-light:hover img{transform:scale(1.035)}
.placeholder-light{display:grid;place-items:center;font-size:26px;font-weight:950;color:rgba(15,23,42,.48)}
.photo-count-light{position:absolute;right:12px;bottom:12px;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}
.project-card-body-light{padding:16px}
.card-tags{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.badge{display:inline-flex;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:rgba(37,99,235,.10);font-size:12px;font-weight:900}
.gold-badge{background:var(--goldSoft);border-color:rgba(217,183,94,.35);color:#6b4a08}
.project-card-body-light h3{margin:0 0 8px;font-weight:950;font-size:21px;letter-spacing:-.2px}
.project-card-body-light p{margin:0 0 12px;color:var(--muted);line-height:1.7;min-height:48px}
.project-meta-grid{display:grid;gap:8px;margin:14px 0;border-top:1px solid var(--border);padding-top:12px}
.project-meta-grid div{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.project-meta-grid span{font-size:13px;color:var(--muted);font-weight:800}
.project-meta-grid strong{text-align:right;font-size:13px;color:#0f172a}
.link{text-decoration:none;font-weight:900}
.link:hover{text-decoration:underline}
.empty-card{grid-column:1/-1}
.empty-card p{color:var(--muted)}
.serviceLinks{display:grid;gap:8px}
.serviceLinks h2{margin:0 0 4px;font-size:18px;font-weight:950}
.serviceLinks a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;font-weight:900;border:1px solid var(--border);border-radius:14px;padding:10px 12px;background:#fff;color:#0f172a}
.serviceLinks a:hover{background:rgba(37,99,235,.10);border-color:rgba(37,99,235,.30)}
.serviceLinks a::after{content:'→';color:#1d4ed8}
.priceNoteCard{background:#fffaf0;border-color:rgba(217,183,94,.35)}
.priceNoteCard h2{margin:0 0 8px;font-size:18px;font-weight:950}
.priceNoteCard p{margin:0;color:var(--muted);line-height:1.7}
.bottomGalleryCta{margin-top:26px}
.bottomGalleryCta p{color:var(--muted)}
.project-detail-hero{display:grid;grid-template-columns:1fr .9fr;gap:18px;align-items:stretch;padding:20px;border:1px solid var(--border);border-radius:28px;background:rgba(255,255,255,.80);box-shadow:var(--shadow);backdrop-filter:blur(8px);margin-bottom:18px}
.project-detail-copy{padding:8px 4px;display:flex;flex-direction:column;justify-content:center}
.back-link-light{display:inline-flex;width:max-content;margin-bottom:16px;text-decoration:none;font-weight:900;color:#1d4ed8;background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 12px}
.project-cover-card{border:1px solid var(--border);border-radius:22px;background:#eef2f7;overflow:hidden;min-height:360px;box-shadow:var(--shadow2)}
.project-cover-card img{width:100%;height:100%;min-height:360px;display:block;object-fit:cover}
.project-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.project-info-card{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow2);padding:20px}
.project-info-card.wide{grid-column:1/-1}
.project-info-card p{color:var(--muted);line-height:1.75;margin:0}
.detail-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.detail-metric-grid div{border:1px solid var(--border);border-radius:16px;background:#f8fafc;padding:14px}
.detail-metric-grid span{display:block;color:var(--muted);font-size:13px;font-weight:900;margin-bottom:6px}
.detail-metric-grid strong{display:block;color:var(--text);font-size:15px;line-height:1.35}
.project-note-box{margin-top:16px!important;background:#fffaf0;border:1px solid rgba(217,183,94,.35);border-radius:16px;padding:14px;color:#6b4a08!important}
.project-images-section{margin-top:26px}
.project-photo-grid-light{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-photo-card{margin:0;background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow2);overflow:hidden}
.project-photo-card img{width:100%;height:420px;display:block;object-fit:cover;background:#eef2f7}
.project-photo-card figcaption{display:flex;justify-content:space-between;gap:14px;padding:14px 16px;border-top:1px solid var(--border)}
.project-photo-card strong{display:block;font-size:15px;color:var(--text)}
.project-photo-card span{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.project-photo-card small{font-size:12px;color:#6b4a08;background:var(--goldSoft);border:1px solid rgba(217,183,94,.35);border-radius:999px;padding:6px 10px;height:max-content;font-weight:900}
@media(max-width:1080px){.gallery-content-layout{grid-template-columns:1fr}.gallery-side-cards{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.project-detail-hero{grid-template-columns:1fr}.project-cover-card,.project-cover-card img{min-height:300px}.detail-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.proof{grid-template-columns:1fr}.btn.call{margin-left:0}}
@media(max-width:760px){.project-grid-light,.gallery-side-cards,.project-detail-grid,.project-photo-grid-light{grid-template-columns:1fr}.project-image-link img,.placeholder-light{height:235px}.project-photo-card img{height:300px}.detail-metric-grid{grid-template-columns:1fr}}
@media(max-width:520px){.gallery-container{padding:18px 12px 38px}.hero,.project-detail-hero{padding:16px;border-radius:22px}.h1,h1{font-size:32px}.ctaRow .btn{width:100%}.filter-row{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;width:100%}.filter-row::-webkit-scrollbar{display:none}.filter-btn{white-space:nowrap}.project-card-body-light p{min-height:0}.project-cover-card,.project-cover-card img{min-height:240px}.project-photo-card img{height:250px}.project-photo-card figcaption{flex-direction:column}.chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap}}
@media (max-width: 760px){
  .gallery-wrap,
  .gallery-wrap *{
    max-width: 100%;
  }

  .gallery-container{
    width: 100%;
    max-width: 100%;
    padding: 14px 12px 34px;
    overflow: hidden;
  }

  .gallery-wrap .hero,
  .gallery-hero-home{
    display: block !important;
    padding: 16px !important;
    border-radius: 22px !important;
    overflow: hidden;
  }

  .gallery-wrap .h1{
    font-size: 32px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 10px !important;
  }

  .gallery-wrap .sub,
  .gallery-wrap .lead,
  .gallery-wrap .kicker,
  .gallery-wrap .quotePanel p{
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .gallery-wrap .bullets{
    padding-left: 18px !important;
    margin: 12px 0 !important;
  }

  .gallery-wrap .bullets li{
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 8px 0 !important;
  }

  .gallery-wrap .chips{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 7px !important;
    margin-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-wrap .chips::-webkit-scrollbar{
    display: none;
  }

  .gallery-wrap .chip{
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 7px 10px !important;
    flex: 0 0 auto !important;
  }

  .gallery-wrap .ctaRow{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .gallery-wrap .btn,
  .gallery-wrap .btn.call,
  .gallery-wrap .btn.primary{
    width: 100% !important;
    margin-left: 0 !important;
    min-height: 44px !important;
    text-align: center !important;
  }

  .gallery-wrap .quotePanel{
    margin-top: 14px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .gallery-wrap .quotePanel h2,
  .gallery-wrap .serviceLinks h2,
  .gallery-wrap .priceNoteCard h2{
    font-size: 18px !important;
  }

  .gallery-wrap .miniChecklist{
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .gallery-wrap .miniChecklist li{
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .gallery-toolbar-section{
    margin-top: 22px !important;
  }

  .gallery-toolbar-section h2{
    font-size: 25px !important;
  }

  .gallery-search-box{
    padding: 14px !important;
    border-radius: 18px !important;
    margin: 10px 0 !important;
  }

  .gallery-search-row{
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .gallery-search-input,
  .gallery-search-clear{
    min-height: 44px !important;
    font-size: 14px !important;
    width: 100% !important;
  }

  .gallery-search-note{
    font-size: 12px !important;
  }

  .filter-row{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    width: 100% !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar{
    display: none;
  }

  .filter-btn{
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 9px 12px !important;
  }

  .gallery-content-layout{
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin-top: 12px !important;
  }

  .project-list-area{
    order: 1 !important;
    width: 100% !important;
  }

  .gallery-side-cards{
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    position: static !important;
    width: 100% !important;
  }

  .project-grid-light{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .project-card-light{
    width: 100% !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .project-image-link img,
  .placeholder-light{
    height: 230px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .project-card-body-light{
    padding: 15px !important;
  }

  .project-card-body-light h3{
    font-size: 20px !important;
  }

  .project-card-body-light p{
    min-height: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .project-meta-grid div{
    gap: 10px !important;
  }

  .project-meta-grid span,
  .project-meta-grid strong{
    font-size: 12.5px !important;
  }

  .serviceLinks a{
    min-height: 44px !important;
  }

  .bottomGalleryCta{
    margin-top: 20px !important;
  }

  .bottomGalleryCta .ctaRow{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px){
  .gallery-container{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .gallery-wrap .hero,
  .gallery-hero-home{
    padding: 14px !important;
  }

  .gallery-wrap .h1{
    font-size: 29px !important;
  }

  .project-image-link img,
  .placeholder-light{
    height: 215px !important;
  }
}
