:root{
      /* Brand palette (per request) */
      --brand:  #071633;   /* main */
      --cta:    #de602d;   /* buttons / calls-to-action */
      --charcoal: #2b2b2b; /* body text */
      /* Neutrals */
      --ink:   #0b0f14;
      --muted: #6b7280;
      --paper: #ffffff;
      --wash:  #f7f7fb;
      --line:  rgba(15,23,42,.12);
      --radius: 18px;
      --shadow: 0 10px 30px rgba(2,6,23,.10);
      --shadow2:0 6px 18px rgba(2,6,23,.10);
      --max: 1100px;
    }
    *{ box-sizing:border-box; }
    html,body{ margin:0; padding:0; }
    body{
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color: var(--charcoal);
      background: var(--paper);
      line-height: 1.5;
    }
    a{ color: inherit; text-decoration: none; }
    a:hover{ text-decoration: underline; }
    .container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
    .pill{
      display:inline-flex; align-items:center; gap:.5rem;
      padding:.45rem .75rem; border:1px solid var(--line);
      border-radius: 999px; background: #ffffff;
      backdrop-filter: blur(8px);
    }
    /* Header */
    header{
        position: relative;
      position: sticky; top:0; z-index: 20;
      background: #ffffff;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }
    .nav{
      display:flex; align-items:center; justify-content:space-between;
      padding: 12px 0;
      gap: 14px;
    }
    .brandRow{
      align-items:center;
    }
    .brandTitle{
      display:flex;
      flex-direction:column;
    } display:flex; align-items:center; gap:12px; min-width: 240px; }
.brandLogoImg{
      width: 250px !important;
      height: auto !important;
      max-width: 90vw;
      object-fit: contain;
      display: block;
}
    .brandTitle h1{
      font-size:18px;
      line-height:1.2;
      margin:0;
      font-weight:900;
      color:#071633;
      max-width:260px;
    }
    .brandTitle small{
      display:block;
      margin-top:6px;
      font-weight:700;
      font-size:14px;
      color:#2b2b2b;
    }
    nav ul{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      align-items:center;
      gap:22px;
      flex-wrap:nowrap;
      white-space:nowrap;
    }
    nav a{
      font-weight:900;
      font-size:15px;
      letter-spacing:.3px;
      color:#071633;
      text-decoration:none;
    }
    nav a:hover{ opacity: 1; text-decoration:none; }
    .ctaRow{ display:flex; gap:10px; align-items:center; flex-wrap: wrap; justify-content:flex-end; }
    .btn{
      display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
      padding: .72rem 1rem;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--paper);
      box-shadow: 0 1px 0 rgba(2,6,23,.04);
      font-weight: 850;
      cursor:pointer;
    }
    .btnPrimary{
      border-color: transparent;
      background: linear-gradient(135deg, var(--cta), #ff7a44);
      color: white;
      box-shadow: var(--shadow2);
    }
    .btn:hover{ transform: translateY(-1px); }
    .btn:active{ transform: translateY(0px); }

    /* Hero */
    .hero{
      /* CHANGED: pulled hero up (desktop) */
      padding: 70px 0 90px;

      position: relative;
      overflow:hidden;
      background:
        radial-gradient(900px 500px at 10% 10%, rgba(7,22,51,.18), transparent 55%),
        radial-gradient(900px 500px at 90% 25%, rgba(222,96,45,.14), transparent 55%),
        linear-gradient(180deg, var(--wash), #ffffff 55%);
      border-bottom: 1px solid var(--line);
    }
    .heroInner{
      display:grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 26px;

      /* CHANGED: reduced extra top padding inside hero */
      padding: 20px 0 30px;

      align-items: center;
    }
    .kicker{
      color: var(--brand);
      font-weight: 950;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-size: 12px;
    }
    .hero h2{
      font-size: clamp(28px, 4.3vw, 44px);
      line-height: 1.08;
      margin: 10px 0 12px;
      color: var(--ink);
      letter-spacing: -.02em;
    }
    .hero p{
      margin: 0 0 16px;
      color: var(--charcoal);
      font-size: 16px;
      max-width: 58ch;
    }
    .heroCards{ display:grid; gap: 12px; }
    .card{
      background: #ffffff;
      border:1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow2);
    }
    .cardPad{ padding: 16px; }
    .heroCardTop{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
    .badge{
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      color: inherit !important;
      box-shadow: none !important;
    }
    .heroMeta{
      margin-top: 10px;
      display:grid; gap:10px;
      font-size: 14px;
      color: var(--charcoal);
    }
    .metaRow{ display:flex; gap:10px; align-items:flex-start; }
    .icon{ width:18px; height:18px; flex:0 0 auto; margin-top: 1px; color: var(--cta); }

    /* Sections */
    section{ padding: 54px 0; }
    .sectionHead{ display:flex; align-items:flex-end; justify-content:space-between; gap: 16px; margin-bottom: 18px; }
    .sectionHead h3{
      margin:0;
      font-size: 26px;
      color: var(--ink);
      letter-spacing: -.01em;
    }
    .sectionHead p{ margin:0; color: var(--muted); max-width: 70ch; }
    .grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service{
      padding: 18px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--paper);
      box-shadow: var(--shadow2);
      display:flex; gap: 12px;
    }
    .service strong{ display:block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
    .service span{ color: var(--muted); font-size: 14px; }
    .service .dot{
      width: 40px; height: 40px; border-radius: 14px;
      background: linear-gradient(135deg, rgba(7,22,51,.16), rgba(222,96,45,.14));
      border:1px solid var(--line);
      display:grid; place-items:center;
      flex:0 0 auto;
    }
    /* Install brands */
    .brandChip span{ font-weight: 900; color: var(--brand); font-size: 13px; }

    /* Gallery */
    .gallery{
      background: linear-gradient(180deg, #ffffff, var(--wash));
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .galleryGrid{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
    .ph{
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: var(--shadow2);
      overflow:hidden;
      position:relative;
      min-height: 190px;
    }
    .ph img{ width: 100%; height: 100%; object-fit: cover; display:block; }
    .ph::after{
      content:"";
      position:absolute; inset:0;
      background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.38));
      pointer-events:none;
      opacity:.35;
    }
    .cap{
      position:absolute; left:12px; right:12px; bottom:10px;
      color: rgba(255,255,255,.94);
      font-weight: 900;
      text-shadow: 0 2px 10px rgba(0,0,0,.35);
      font-size: 13px;
      display:flex; justify-content:space-between; gap:12px;
    }
    /* Testimonials */
    .quote{
      padding: 18px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--paper);
      box-shadow: var(--shadow2);
    }
    .quote p{ margin: 0 0 10px; color: var(--charcoal); }
    .quote b{ color: var(--ink); }

    /* FAQ */
    details{
      border: 1px solid var(--line);
      background: var(--paper);
      border-radius: var(--radius);
      box-shadow: var(--shadow2);
      padding: 14px 16px;
    }
    details + details{ margin-top: 10px; }
    summary{ cursor:pointer; font-weight: 950; color: var(--ink); }
    details p{ margin: 10px 0 0; color: var(--muted); }

    /* Contact */
    .contactWrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    form label{ display:block; font-weight: 900; color: var(--ink); font-size: 13px; margin: 0 0 6px; }
    input, textarea{
      width:100%;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 12px 12px;
      font: inherit;
      background: #fff;
      outline: none;
    }
    textarea{ min-height: 120px; resize: vertical; }
    input:focus, textarea:focus{ border-color: rgba(222,96,45,.55); box-shadow: 0 0 0 4px rgba(222,96,45,.14); }
    .hint{ color: var(--muted); font-size: 13px; margin-top: 8px; }
    footer{
      padding: 26px 0 40px;
      border-top: 1px solid var(--line);
      background: #fff;
      color: var(--muted);
      font-size: 13px;
    }

    /* Mobile */
    @media (max-width: 880px){
      .heroInner{ grid-template-columns: 1fr; padding: 34px 0 26px; }
      nav ul{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      align-items:center;
      gap:22px;
      flex-wrap:nowrap;
      white-space:nowrap;
    }
      .grid3{ grid-template-columns: 1fr; }
      .grid2{ grid-template-columns: 1fr; }
      .contactWrap{ grid-template-columns: 1fr; }
      .brandRow{
      align-items:center;
    }
    .brandTitle{
      display:flex;
      flex-direction:column;
    } min-width: unset; }
.brandLogoImg{
      width: 250px !important;
      height: auto !important;
      max-width: 90vw;
      object-fit: contain;
      display: block;
}
    }

    /* ---- Responsive header fixes ---- */
    @media (max-width: 980px){
      .nav{ gap: 10px; }
      nav ul{ gap: 16px; }
      nav a{ font-size: 14px; }
    }

    @media (max-width: 760px){
      .nav{
        flex-wrap: wrap;
        justify-content: center;
      }
      .brandRow{
        width: 100%;
        justify-content: center;
      }
      .brandLogoImg{
        width: 200px !important;
        max-width: 80vw;
      }

      /* Keep nav on one line but allow swipe */
      nav{
        width: 100%;
      }
      nav ul{
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 6px 2px;
      }
      nav ul::-webkit-scrollbar{ display:none; }

      .ctaRow{
        width: 100%;
        justify-content: center;
      }
      .ctaRow .btn{
        flex: 1 1 auto;
        min-width: 160px;
      }
    }

    @media (max-width: 420px){
      .brandLogoImg{
        width: 180px !important;
      }
      nav a{ font-size: 13px; }
    }

    /* Center logo on mobile */
    @media (max-width: 760px){
      .brandRow{
        width:100%;
        justify-content:center !important;
      }
      .brandLogoImg{
        margin: 0 auto;
        display:block;
      }
    }

    /* Center nav on mobile */
    @media (max-width: 760px){
      nav ul{
        justify-content: center !important;
      }
    }

    @media (max-width: 760px){
      nav ul{
        justify-content: center !important;
        gap: 26px;
      }
      nav a{
        font-size: 17px;
      }

      /* Stack CTA buttons below nav */
      .ctaRow{
        width: 100%;
        justify-content: center;
        margin-top: 12px;
      }
      .ctaRow .btn{
        display:block;
        width: 90%;
        text-align:center;
      }
    }

    /* Independent brand logo sizing */
    .brandChip img.amarrLogo{
        max-height: 75px;
        width: auto;
    }
    .brandChip img.liftmasterLogo{
        max-height: 85px;
        width: auto;
    }

    /* Brands: clean, centered, aligned */
    .brandChip span{ display:none; } /* remove extra text in pills */

    .brandChip a{
      display:inline-flex;
      align-items: baseline;
      justify-content:center;
      padding: 10px 12px;
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid rgba(15,23,42,.12);
      box-shadow: 0 6px 18px rgba(2,6,23,.08);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .brandChip a:hover{
      transform: scale(1.05);
      box-shadow: 0 14px 30px rgba(2,6,23,.14);
      border-color: rgba(222,96,45,.55);
      text-decoration:none;
    }
    .brandChip a:active{ transform: scale(1.02); }

    /* Independent logo sizing + baseline fine-tune */
    .brandChip img{
      display:block;
      background: transparent; /* ensure transparent PNGs sit clean */
    }
    .brandChip img.amarrLogo{ max-height: 70px; width:auto; transform: translateY(2px); }
    .brandChip img.liftmasterLogo{ max-height: 82px; width:auto; }

    @media (max-width: 760px){
      .brandChip a{ width: 100%; }
    }

    /* Equal width brand cards */
    .brandChip a{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:center;
      padding: 20px;
      border-radius: 18px;
      background:#ffffff;
      border:2px solid rgba(15,23,42,.10);
      box-shadow: 0 6px 18px rgba(2,6,23,.08);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
    .brandChip a:hover{
      transform: scale(1.05);
      box-shadow: 0 18px 38px rgba(2,6,23,.18);
      border-color: #de602d; /* stronger orange hover */
    }

    /* Light gray background for Services section */
    .servicesSection{
        background: #f5f6f8;
        padding: 60px 0;
    }

    /* Light gray background for Recent Work */
    .gallerySection{
        background: #f5f6f8;
        padding: 60px 0;
    }

    /* Stronger shadow for service cards */
    .servicesSection .card{
        box-shadow: 0 14px 35px rgba(0,0,0,.12);
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .servicesSection .card:hover{
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(0,0,0,.18);
    }

    /* Gallery image hover lift */
    .gallerySection .gallery img{
        transition: transform .25s ease, box-shadow .25s ease;
        box-shadow: 0 8px 22px rgba(0,0,0,.08);
        border-radius: 14px;
    }
    .gallerySection .gallery img:hover{
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.18);
    }

    /* Additional orange separators throughout page */
    section{
        position: relative;
    }
    section:not(:first-of-type)::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #de602d;
    }

    /* Headline underline accent */
    section h2{
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }
    section h2::after{
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
        height: 3px;
        background: #de602d;
    }

    /* Blue + Orange header accent line */
    header::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(
            to bottom,
            #071633 0px,
            #071633 2px,
            #de602d 2px,
            #de602d 6px
        );
    }

    /* Stacked footer accent line */
    footer{
        position: relative;
    }
    footer::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(
            to bottom,
            #071633 0px,
            #071633 2px,
            #de602d 2px,
            #de602d 6px
        );
    }

    /* Subtle background image for hero */
    .heroWithBg{
        position: relative;
        background: url("../images/IMG_1340.JPG") center/cover no-repeat;
    }
    .heroWithBg::before{
        content: "";
        position: absolute;
        inset: 0;
        background:
        linear-gradient(rgba(255,255,255,0.80), rgba(255,255,255,0.80)),
        linear-gradient(rgba(7,22,51,0.12), rgba(7,22,51,0.12)); /* controls visibility */
    }
    .heroWithBg > *{
        position: relative;
        z-index: 1;
    }

    /* Subtle bottom fade from hero into white */
    .heroWithBg::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 120px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
        pointer-events: none;
    }

    @media (max-width: 760px){
        .hero h1{
            font-size: 32px;
        }
    }

    .hero h1{
        text-shadow: 0 4px 14px rgba(0,0,0,.18);
    }

    /* Blue pill for Sales • Service • Install */
    .servicePill,
    .servicePill *,
    .servicePill:before,
    .servicePill:after{
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .servicePill{
      background:#071633 !important;
      color:#ffffff !important;
      padding: 8px 16px !important;
      border-radius: 999px !important;
      font-weight: 800 !important;
      font-size: 13px !important;
      display: inline-flex !important;
      align-items: center !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
    }

    /* Brand link hover enhancements */
    .brandChip a{
        position: relative;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .brandChip a::after{
        content: "↗";
        position: absolute;
        top: 8px;
        right: 10px;
        font-size: 14px;
        color: #071633;
        opacity: 0;
        transition: opacity .18s ease, transform .18s ease;
    }

    .brandChip a:hover{
        background: rgba(7,22,51,0.06);
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(2,6,23,.18);
    }

    .brandChip a:hover::after{
        opacity: 1;
        transform: translateY(-2px);
    }

    .brandLink:hover{ text-decoration:none; }

    /* Strict equal horizontal and vertical sizing */
    .brandsBar{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:36px;
    }

    .brandChip{
        width:280px;
        height:175px;
        display:flex;
    }

    .brandLink{
        width:100%;
        height:100%;
        display:flex;
        padding:10px;
        align-items:center;
        justify-content:center;
        background:#ffffff;
        border-radius:10px;
        border:2px solid rgba(15,23,42,.08);
        box-shadow:0 8px 22px rgba(0,0,0,.08);
        transition:all .2s ease;
    }

    .brandLink:hover{
        transform:translateY(-4px);
        box-shadow:0 18px 38px rgba(0,0,0,.18);
        border-color:#de602d;
    }

    .brandLink img{
        width:auto;
    }

    .brandLink img.amarrLogo{
        max-height:105px;
        width:auto;
    }

    .brandLink img.liftmasterLogo{
        max-height:145px;
        width:auto;
    }

    /* Responsive brand pills */
    @media (max-width: 760px){
      .brandsBar{
        flex-direction: column;
        align-items: center;
        gap: 12px;            /* tighter spacing */
      }
      .brandChip{
        width: 100vw;         /* full width */
        max-width: 100%;
        height: 155px;        /* slightly shorter */
      }
      .brandLink{
        border-radius: 10px;
        width: 100%;
      }
      .brandLink img.amarrLogo{ max-height: 90px; }
      .brandLink img.liftmasterLogo{ max-height: 115px; } /* reduced */
    }

    .recentWorkSection .sectionHead{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap: 18px;
    }

    .recentWorkSection .sectionHead p{
      max-width: 70ch;
    }

    .recentWorkMeta{
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content:flex-end;
    }

    .metaChip{
      font-weight: 800;
      font-size: 12px;
      letter-spacing: .2px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(7,22,51,.06);
      color: #071633;
      border: 1px solid rgba(7,22,51,.10);
    }

    .gallery{
      margin-top: 24px;
      display:grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .workCaption span{
      font-size: 12px;
      font-weight: 800;
      color: rgba(255,255,255,.85);
    }

    /* Responsive */
    @media (max-width: 980px){
      .gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 640px){
      .recentWorkSection{ padding: 58px 0; }
      .recentWorkSection .sectionHead{ flex-direction: column; align-items:flex-start; }
      .recentWorkMeta{ justify-content:flex-start; }
      .gallery{ grid-template-columns: 1fr; gap: 14px; }
    }

    /* Lightbox */
    .lightbox{
      position: fixed;
      inset: 0;
      display:none;
      z-index: 9999;
    }
    .lightbox.isOpen{ display:block; }
    .lightboxBackdrop{
      position:absolute;
      inset:0;
      background: rgba(2,6,23,.72);
    }
    .lightboxPanel{
      position:absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: min(92vw, 980px);
      max-height: 86vh;
      background: #ffffff;
      border-radius: 18px;
      overflow:hidden;
      box-shadow: 0 30px 90px rgba(0,0,0,.35);
      border: 1px solid rgba(255,255,255,.12);
    }
    .lightboxImg{
      width:100%;
      height: 86vh;
      max-height: 86vh;
      object-fit: contain;
      background: #0b1224;
    }
    .lightboxClose{
      position:absolute;
      right: 10px;
      top: 10px;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: none;
      background: rgba(255,255,255,.92);
      font-size: 26px;
      font-weight: 900;
      cursor:pointer;
      line-height: 1;
    }

    /* ===== Recent Work (Clean cards, consistent layout) ===== */
    #gallery{
      padding: 70px 0;
      background: #f5f6f8;
    }

    .rwHead{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap: 18px;
      margin-bottom: 22px;
    }

    .rwHead h2{ margin: 0 0 8px 0; }

    .rwHead p{
      margin: 0;
      color: rgba(43,43,43,.82);
      max-width: 70ch;
    }

    .rwChips{
      display:flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content:flex-end;
    }

    .rwChip{
      display:inline-flex;
      align-items:center;
      padding: 8px 12px;
      border-radius: 999px;
      font-weight: 900;
      font-size: 12px;
      letter-spacing: .2px;
      background: #ffffff;
      color: #071633;
    }

    .rwGrid{
      display:grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .rwCard{
      background:#ffffff;
      border-radius: 14px;
      overflow:hidden;
      box-shadow: 0 12px 28px rgba(0,0,0,.10);
      transition: transform .18s ease, box-shadow .18s ease;
    }

    .rwCard:hover{
      transform: translateY(-4px);
      box-shadow: 0 20px 45px rgba(0,0,0,.16);
    }

    /* Consistent aspect ratio cards on desktop */
    .rwCard img{
      width:100%;
      aspect-ratio: 3 / 2;
      height: auto;
      object-fit: cover;
      object-position: center;
      display:block;
    }

    @media (max-width: 980px){
      .rwGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .rwCard img{ aspect-ratio: 3 / 2; }
    }

    @media (max-width: 640px){
      #gallery{ padding: 58px 0; }
      .rwHead{ flex-direction: column; align-items:flex-start; }
      .rwChips{ justify-content:flex-start; }
      .rwGrid{ grid-template-columns: 1fr; gap: 14px; }

      /* Mobile: show more of vertical photos without killing layout */
      .rwCard img{
        aspect-ratio: 3 / 4;
        object-fit: cover;
      }
    }

    /* Recent Work Lightbox */
    .rwLightbox{ position:fixed; inset:0; display:none; z-index:9999; }
    .rwLightbox.isOpen{ display:block; }
    .rwLbBackdrop{ position:absolute; inset:0; background: rgba(2,6,23,.72); }
    .rwLbPanel{
      position:absolute;
      left:50%; top:50%;
      transform: translate(-50%, -50%);
      width: min(92vw, 980px);
      max-height: 86vh;
      background:#ffffff;
      border-radius: 16px;
      overflow:hidden;
      box-shadow: 0 30px 90px rgba(0,0,0,.35);
    }
    .rwLbImg{
      width:100%;
      height: 86vh;
      max-height: 86vh;
      object-fit: contain;
      background: #0b1224;
      display:block;
    }
    .rwLbClose{
      position:absolute;
      right:10px; top:10px;
      width: 44px; height: 44px;
      border-radius: 999px;
      border: none;
      background: rgba(255,255,255,.92);
      font-size: 26px;
      font-weight: 900;
      cursor:pointer;
      line-height:1;
    }

    /* ===== Recent Work (Alt Look: Filmstrip Carousel) ===== */
    #gallery{
      padding: 78px 0;
      background: linear-gradient(180deg, #f5f6f8 0%, #ffffff 100%);
    }

    .rwAlt{
      display:grid;
      grid-template-columns: 1.1fr 1.6fr;
      gap: 26px;
      align-items: center;
    }

    .rwKicker{
      display:inline-flex;
      align-items:center;
      gap: 10px;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
      font-size: 12px;
      color: #071633;
    }
    .rwKicker::before{
      content:"";
      width: 22px;
      height: 2px;
      background: #de602d;
      border-radius: 2px;
    }

    .rwAltLeft h2{
      margin: 10px 0 10px;
      font-size: 34px;
      line-height: 1.08;
      color: #071633;
    }
    .rwAltLeft p{
      margin: 0 0 16px;
      color: rgba(43,43,43,.82);
      max-width: 58ch;
    }

    .rwStats{
      display:grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 12px;
      margin: 18px 0 18px;
    }
    .rwStat{
      background:#ffffff;
      border-radius: 14px;
      padding: 12px 12px;
      box-shadow: 0 10px 22px rgba(0,0,0,.08);
    }
    .rwStatNum{
      font-weight: 950;
      color:#071633;
      font-size: 16px;
      line-height: 1;
    }
    .rwStatLabel{
      margin-top: 6px;
      font-weight: 800;
      font-size: 12px;
      color: rgba(43,43,43,.75);
    }

    /* Filmstrip */
    .rwAltRight{
      position: relative;
      border-radius: 18px;
      background: #ffffff; /* removed navy frame */
      padding: 16px;
      box-shadow: 0 18px 45px rgba(2,6,23,.12);
      overflow: hidden;
    }

    .rwTrack{
      position: relative;
      display:flex;
      gap: 14px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 6px;
      scroll-behavior: smooth; /* smooth scroll */
    }
    .rwTrack::-webkit-scrollbar{ display:none; }

    .rwSlide{
      scroll-snap-align: start;
      flex: 0 0 420px;
      border-radius: 14px;
      overflow:hidden;
      background:#ffffff;
      box-shadow: 0 14px 35px rgba(0,0,0,.12);
    }
    .rwSlide img{
      width:100%;
      height:auto;
      aspect-ratio: 3 / 2;
      object-fit: contain;   /* no crop */
      background: #e9ebef;   /* slightly darker letterbox for contrast */
      display:block;
      filter: saturate(1.05) contrast(1.02);
    }

    .rwHint{
      position:absolute;
      right: 14px;
      bottom: 12px;
      font-weight: 900;
      font-size: 12px;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: rgba(7,22,51,.78);
      background: rgba(245,246,248,.92);
      border: 1px solid rgba(15,23,42,.12);
      padding: 8px 10px;
      border-radius: 999px;
      backdrop-filter: blur(6px);
    }

    /* Responsive */
    @media (max-width: 980px){
      .rwAlt{ grid-template-columns: 1fr; }
      .rwAltRight{
        position: relative;
        border-radius: 18px;
        background: #ffffff;
        padding: 16px;
        box-shadow: 0 18px 45px rgba(2,6,23,.12);
        overflow: hidden;
      }
      .rwSlide{
        scroll-snap-align: start;
        flex: 0 0 420px;
        border-radius: 14px;
        overflow:hidden;
        background:#ffffff;
        box-shadow: 0 14px 35px rgba(0,0,0,.12);
      }
      .rwSlide img{
        width:100%;
        height:auto;
        aspect-ratio: 3 / 2;
        object-fit: contain;
        background: #e9ebef;
        display:block;
        filter: saturate(1.05) contrast(1.02);
      }
    }

    @media (max-width: 640px){
      #gallery{ padding: 60px 0; }
      .rwAltLeft h2{ font-size: 30px; }
      .rwStats{ grid-template-columns: repeat(3, minmax(0,1fr)); }
      .rwSlide{
        scroll-snap-align: start;
        flex: 0 0 420px;
        border-radius: 14px;
        overflow:hidden;
        background:#ffffff;
        box-shadow: 0 14px 35px rgba(0,0,0,.12);
      }
      .rwSlide img{
        width:100%;
        height:auto;
        aspect-ratio: 3 / 2;
        object-fit: contain;
        background: #e9ebef;
        display:block;
        filter: saturate(1.05) contrast(1.02);
      }
    }

    /* ===== Mobile: simplify header (no sticky, no main nav/phone/quote) ===== */
    @media (max-width: 760px){
      header.siteHeader{
        position: relative !important;
        top: auto !important;
      }
      .hideMobile{ display:none !important; }

      /* Center logo row nicely when header is simplified */
      .nav{
        justify-content: center !important;
      }
      .brandRow{
        width: 100%;
        justify-content: center !important;
      }

      /* CHANGED: tighter hero on mobile */
      .hero{
        padding: 40px 0 70px;
      }

      /* CHANGED: tighter inner padding on mobile */
      .heroInner{
        padding: 10px 0 20px;
      }
    }