/* Site nav and layout additions. */
/* Keep the main nav on one row at desktop widths (~1024-1440), including Employee Sign In. */
@media (min-width: 1024px) {
  .navbar { gap: 1.25rem; flex-wrap: nowrap; }
  .nav-links { gap: 1.15rem; flex-wrap: nowrap; }
  .nav-links li a { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1360px) {
  .navbar { padding-left: 1rem; padding-right: 1rem; gap: 0.75rem; }
  .logo { font-size: 1.2rem; }
  .logo-img { height: 42px; }
  .nav-links { gap: 0.8rem; }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  .logo { font-size: 1.05rem; }
  .logo-img { height: 38px; }
  .nav-links { gap: 0.55rem; }
  .nav-links li a { font-size: 0.9375rem; }
}
.crew-preview-hero { background-image: none; background-color: rgba(0,0,0,.78); min-height: auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; padding: 3rem max(1.25rem, calc((100vw - 1200px)/2)); text-align: left; }
.crew-preview-hero .hero-content { background: none; padding: 1.5rem 0; }
.crew-preview-hero h1 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.12; margin-bottom: 1.25rem; }
.crew-preview-hero p { font-size: 1.15rem; line-height: 1.6; }
.hero-crew-photo { margin: 0; min-width: 0; }
.hero-crew-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hero-crew-photo figcaption { margin-top: .65rem; line-height: 1.5; color: #e5eddf; font-size: .95rem; }
.areas-about-link { padding: .5rem 1rem 1.5rem; }
.gallery-images.crew-preview-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; align-items: stretch; }
.crew-preview-gallery figure { margin: 0; min-width: 0; background: rgba(0,0,0,.75); color: white; border-radius: 8px; overflow: hidden; }
.crew-preview-gallery figure a { display: flex; width: 100%; background: #18231d; height: 260px; align-items: center; }
.crew-preview-gallery figure img { width: 100%; max-width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.crew-preview-gallery figcaption { padding: 1rem; line-height: 1.5; }
.gallery > p a { color: #fff; }
.area-intro { font-size: 1.3rem; font-weight: 600; }
.area-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.75rem 0; }
.area-link-card { display: block; padding: 1.25rem; background: #f6f8f3; border: 1px solid #88a078; border-radius: 8px; color: #183924; text-decoration: none; }
.area-link-card h2 { margin-top: 0; font-size: 1.25rem; }
.area-link-card p { color: #202820; }
.area-link-card span { text-decoration: underline; text-underline-offset: .2em; }
.area-link-card:hover, .area-link-card:focus-visible { background: #fff; outline: 2px solid #365d35; outline-offset: 2px; }
@media(max-width: 900px) { .crew-preview-hero { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.25rem; } .hero-crew-photo { max-width: 650px; margin: auto; } .gallery-images.crew-preview-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } .area-card-grid { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .gallery-images.crew-preview-gallery { grid-template-columns: 1fr; } .crew-preview-gallery figure a { height: auto; } .crew-preview-gallery figure img { height: auto; } }

/* Family poster: preserve the designed graphic in full, with no overlay/crop. */
.about .family-poster { width: calc(100% - 2rem); max-width: 680px; margin: 2rem auto; }
.about .family-poster > a { display: block; }
.about .family-poster img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.about .family-poster figcaption { margin-top: .75rem; font-size: .95rem; line-height: 1.5; }
.about .family-poster figcaption a { text-underline-offset: .2em; }

/* Homepage services overview (preview) */
.svc-overview .svc-intro { max-width: 760px; margin: 0 auto 1.5rem; line-height: 1.6; }
.svc-overview .svc-intro a { color: inherit; text-underline-offset: .2em; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; text-align: left; }
.svc-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; align-items: start; background: #cfe4bb; color: #1c2a1c; border-radius: 8px; padding: .8rem; min-width: 0; }
.svc-thumb { display: block; width: 112px; height: 112px; border-radius: 6px; overflow: hidden; background: #18231d; }
.svc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.svc-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.3; }
.svc-card h3 a { color: #183924; text-decoration: none; }
.svc-card h3 a:hover, .svc-card h3 a:focus-visible { text-decoration: underline; }
.svc-price { display: inline-block; margin-left: .25rem; padding: 0 .4rem; border-radius: 4px; background: #254433; color: #fff; font-size: .85rem; white-space: nowrap; }
.svc-card p { margin: 0; font-size: .95rem; line-height: 1.45; }
.svc-all { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.cta-btn.cta-alt { background: #254433; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { grid-template-columns: 88px minmax(0, 1fr); } .svc-thumb { width: 88px; height: 88px; } }

/* Services page */
.page-main.svc-page, .page-main.gal-page { max-width: 1150px; }
.svc-jump ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-jump a { display: inline-block; padding: .35rem .7rem; border: 1px solid #88a078; border-radius: 999px; background: #f6f8f3; color: #183924; text-decoration: none; font-size: .92rem; }
.svc-jump a:hover, .svc-jump a:focus-visible { background: #fff; outline: 2px solid #365d35; }
.svc-jump span { color: #4b5d48; }
.svc-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid #d6e0cf; scroll-margin-top: 1rem; }
.svc-photo { margin: 0; min-width: 0; }
.svc-photo img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 8px; }
.svc-photo figcaption { font-size: .85rem; color: #4b5d48; margin-top: .4rem; }
.svc-text { min-width: 0; }
.svc-text h2 { margin-top: 0; }
.svc-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.svc-links a { overflow-wrap: anywhere; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } .svc-photo img { max-height: 360px; } }

/* Gallery page */
.gal-group { padding-top: 1rem; scroll-margin-top: 1rem; }
.gal-group > h2 { border-top: 2px solid #d6e0cf; padding-top: 1.25rem; }
.gal-group-meta { color: #4b5d48; }
.gal-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gal-card { background: #f6f8f3; border: 1px solid #c9d6c0; border-radius: 8px; padding: .9rem; min-width: 0; }
.gal-card h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.gal-meta { margin: 0 0 .6rem; font-size: .85rem; color: #4b5d48; }
.gal-thumbs, .gal-flyers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .4rem; }
.gal-flyers { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-width: 640px; }
.gal-thumbs a, .gal-flyers a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: #18231d; }
.gal-flyers a { aspect-ratio: 2 / 3; }
.gal-thumbs img, .gal-flyers img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .2s; }
.gal-flyers img { object-fit: contain; }
.gal-thumbs a:hover img, .gal-thumbs a:focus-visible img { transform: scale(1.05); }
.gal-stage { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 3px; background: rgba(0,0,0,.72); color: #fff; font-size: .72rem; line-height: 1.5; }
@media (max-width: 760px) { .gal-cards { grid-template-columns: 1fr; } .gal-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { color: #eee; margin-top: .6rem; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 6px; font-size: 2.2rem; line-height: 1; width: 3rem; height: 3rem; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.3); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
.svc-overview .svc-intro { background: rgba(0,0,0,.72); color: #fff; padding: .75rem 1rem; border-radius: 8px; }
.cta-btn.cta-alt, .cta-btn.cta-alt:visited { color: #fff; }
.page-card ul.gal-thumbs, .page-card ul.gal-flyers, .page-card .svc-jump ul { padding-left: 0; margin-left: 0; list-style: none; }
.page-card ul.gal-thumbs li, .page-card ul.gal-flyers li { margin: 0; padding: 0; }

/* Round 2: crew / gallery call-to-action cards on the homepage */
.crew-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 1000px; margin: 1.75rem auto 0; text-align: left; }
.crew-cta-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; align-items: center; padding: .85rem; background: #cfe4bb; color: #1c2a1c; border-radius: 10px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.crew-cta-card img { display: block; width: 150px; height: 112px; object-fit: cover; border-radius: 6px; }
.crew-cta-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.crew-cta-text strong { font-size: 1.15rem; color: #183924; }
.crew-cta-text span { font-size: .95rem; line-height: 1.45; }
.crew-cta-go { display: inline-block; align-self: flex-start; margin-top: .35rem; padding: .45rem .9rem; border-radius: 6px; background: #254433; color: #fff; font-weight: 600; font-size: .92rem !important; }
.crew-cta-card:hover, .crew-cta-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) { .crew-cta { grid-template-columns: 1fr; } .crew-cta-card { grid-template-columns: 110px minmax(0,1fr); } .crew-cta-card img { width: 110px; height: 90px; } }

/* Round 2: expanded service-area pages */
.area-list { columns: 3 13rem; column-gap: 1.5rem; padding-left: 1.1rem; margin: .5rem 0 1.25rem; line-height: 1.7; }
.area-list li { break-inside: avoid; }
.area-svc-list { padding-left: 1.1rem; line-height: 1.7; }
.area-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.area-note { font-size: .9rem; color: #4b5d48; }
.area-search { background: #f6f8f3; border-left: 4px solid #88a078; padding: .9rem 1.1rem; border-radius: 6px; }
.page-nav-links a[aria-current] { text-decoration: underline; text-underline-offset: .25em; font-weight: 700; }
.area-card-grid.area-card-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }

@media (max-width: 900px) { .area-card-grid.area-card-grid-4 { grid-template-columns: 1fr; } }

/* Sweep before/after pairs (sweep page + gallery) */
.sweep-ba-list { display: grid; gap: 1.25rem; margin: 1rem 0 1.5rem; }
.sweep-ba { margin: 0; }
.sweep-ba figcaption { font-size: .92rem; margin-top: .4rem; color: #222; }
.gal-thumbs.sweep-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.gal-thumbs.sweep-pair a { aspect-ratio: 4 / 3; }
.sweep-pair .ba-label { position: absolute; left: .4rem; top: .4rem; background: rgba(0,0,0,.72); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .15rem .5rem; border-radius: 4px; pointer-events: none; }
@media (max-width: 760px) { .gal-thumbs.sweep-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gal-thumbs.sweep-singles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.gal-thumbs.sweep-singles a { aspect-ratio: 3 / 4; }
.sweep-singles .ba-label { position: absolute; left: .4rem; top: .4rem; background: rgba(0,0,0,.72); color: #fff; font-size: .75rem; font-weight: 600; padding: .15rem .45rem; border-radius: 4px; pointer-events: none; }
@media (max-width: 760px) { .gal-thumbs.sweep-singles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sweep-singles .ba-label { font-size: .65rem; } }

/* Project gallery collage grid: override .gal-thumbs square crop so labels stay visible */
.gal-thumbs.project-collage-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; }
.gal-thumbs.project-collage-grid a { aspect-ratio: 4 / 3; background: #18231d; }
.gal-thumbs.project-collage-grid img { object-fit: contain; }
@media (max-width: 390px) {
  .gal-thumbs.project-collage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
