/* Real shop photography. All rules opt in through a page body class. */
.photo-page .shop-picture { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.photo-page .shop-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 50%); }
/* Preserve the full portrait when a landscape crop cannot keep both the shop logo and the work visible. */
.photo-page .shop-picture[data-photo-fit="contain"] img { object-fit: contain; }
.photo-page .shop-photo { margin: 0; min-width: 0; }
.photo-page .shop-photo .shop-picture { overflow: hidden; border-radius: 12px; background: #15171b; }
.photo-page .shop-photo figcaption { margin-top: 13px; color: #bfc1c6; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.photo-page .shop-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; align-items: start; }
.photo-page .shop-photo-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.photo-page .shop-photo-grid--1 { grid-template-columns: minmax(0,1fr); max-width: 620px; margin-inline: auto; }
.photo-page .shop-gallery { padding-block: 64px; }
.photo-page .shop-gallery .container-default { max-width: 1100px; }
.photo-page .shop-gallery-heading { margin-bottom: 30px; text-align: center; }
.photo-page .shop-gallery-heading h2 { margin: 0; color: #fff; font-size: clamp(30px,4vw,44px); line-height: 1.15; font-weight: 500; text-wrap: balance; }
.photo-page .shop-gallery-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 12px; color: #dddfe3; text-underline-offset: 4px; }
.photo-page .shop-gallery-link:hover { color: #fff; }
.photo-page .shop-gallery-link:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 3px; }
.photo-page .shop-inline-photos { margin-top: 32px; }
.photo-page .shop-damage-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.photo-page .shop-damage-layout .lp-damage-grid { grid-template-columns: 1fr; }
.photo-page .lp-impact .lp-accident-card .shop-photo { margin-bottom: 22px; }
.photo-page .lp-impact .lp-accident-card .shop-picture { background: #111317; }
.photo-page.lp-our-work .lp-hero h1 { text-wrap: balance; }
.photo-page.lp-our-work .lp-answer { text-wrap: pretty; }
.photo-page.lp-our-work .shop-gallery { padding-top: 48px; }
.photo-page.lp-our-work .shop-gallery-heading { text-align: center; }
.photo-page.lp-our-work .shop-gallery-heading h2 { font-size: 32px; }
.photo-page .shop-gallery-services { margin-top: 30px; color: #bfc1c6; text-align: center; }
.photo-page .shop-gallery-services a { color: #fff; text-underline-offset: 4px; display: inline-block; padding-block: 10px; }

/* Homepage photo frames share the same 4:3 proportions as the galleries. */
.home-photo-page .home-photo-hero { padding: 62px 0 48px; }
.home-photo-page .home-photo-hero .container-default { max-width: 1280px; }
.home-photo-page .home-hero-grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 46px; align-items: center; }
.home-photo-page .home-hero-copy h1 { margin: 0 0 24px; color: #fff; font-size: clamp(42px,4.2vw,60px); font-weight: 500; line-height: 1.06; text-wrap: balance; }
.home-photo-page .home-hero-copy p { max-width: 530px; margin: 0 0 28px; color: #c5c7cc; font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.home-photo-page .home-hero-copy .hero-proof { text-shadow: none; font-size: 13px; line-height: 1.6; margin-top: 18px; }
.home-photo-page .home-hero-copy .hero-proof.warranty { margin-top: 4px; }
.home-photo-page .home-hero-media { margin: 0; }
.home-photo-page .home-hero-media .shop-picture { overflow: hidden; border-radius: 14px; }
.home-photo-page .home-hero-media figcaption { color: #a6a9b0; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.home-photo-page .service-card-media .shop-picture { background: #16181c; }
.home-photo-page .service-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-photo-page .service-card-media .shop-picture img { height: 100%; }
.home-photo-page .home-shop-about { padding-block: 76px; }
.home-photo-page .home-shop-about .container-default { max-width: 1100px; }
.home-photo-page .home-about-grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); align-items: center; gap: 72px; }
.home-photo-page .home-about-copy h2 { color: #fff; font-size: clamp(36px,4vw,52px); line-height: 1.15; margin: 0 0 24px; text-wrap: balance; }
.home-photo-page .home-about-copy p { color: #c5c7cc; font-size: 19px; line-height: 1.6; text-wrap: pretty; }

@media (max-width: 991px) {
 .home-photo-page .home-photo-hero { padding-top: 44px; }
 .home-photo-page .home-hero-grid { gap: 28px; }
 .home-photo-page .home-about-grid { gap: 36px; }
}
@media (max-width: 767px) {
 .photo-page .shop-photo-grid, .photo-page .shop-photo-grid--2, .photo-page .shop-damage-layout { grid-template-columns: 1fr; gap: 30px; }
 .photo-page .shop-gallery { padding-block: 44px; }
 .photo-page .shop-photo-grid--1 { max-width: 480px; }
 .photo-page .shop-gallery-heading { margin-bottom: 24px; }
 .home-photo-page .home-hero-grid, .home-photo-page .home-about-grid { grid-template-columns: 1fr; gap: 30px; }
 .home-photo-page .home-photo-hero { padding-block: 34px 28px; }
 .home-photo-page .home-hero-copy h1 { font-size: clamp(36px,8.7vw,48px); line-height: 1.1; margin-bottom: 20px; }
 .home-photo-page .home-hero-copy p { font-size: 17px; margin-bottom: 24px; }
 .home-photo-page .home-hero-copy .primary-button { padding-inline: 24px; }
 .home-photo-page .home-shop-about { padding-block: 48px; }
 .home-photo-page .home-about-copy { grid-row: 1; }
 .home-photo-page .home-about-copy p { font-size: 17px; }
}

/* The previous background-photo layout reserved an extra image-height gap. */
.home-photo-page .home-shop-rating { padding: 48px 0 0; }
.home-photo-page .home-shop-rating .container-default { max-width: 1100px; }
.home-photo-page .home-shop-rating .shop-photo { max-width: 1000px; margin-inline: auto; }
.home-photo-page .home-shop-stats { display: flex; justify-content: center; gap: 100px; padding-top: 28px; text-align: center; }
.home-photo-page .home-shop-stats strong { display: block; color: #fff; font-size: 46px; font-weight: 500; line-height: 1.2; }
.home-photo-page .home-shop-stats span { display: block; margin-top: 6px; color: #bfc1c6; font-size: 17px; }
@media (max-width: 767px) {
 .home-photo-page .home-shop-stats { gap: 46px; }
 .home-photo-page .home-shop-stats strong { font-size: 36px; }
 .home-photo-page .home-shop-stats span { font-size: 14px; }
 .photo-page.lp-our-work .lp-hero .primary-button { padding-inline: 18px; }
}

@media (max-width: 767px) {
 .photo-page.lp-our-work .lp-cta-row { width: calc(100% - 32px); margin-inline: auto; }
}

/* Our Work uses the full shared header, with a native disclosure on smaller screens. */
.lp-our-work .lp-header-full .list-nav-menu { column-gap: clamp(16px, 2vw, 28px); }
.lp-our-work .lp-header-full .header-nav-link { font-size: 17px; }
.lp-our-work .our-work-mobile-nav { display: none; }
.lp-our-work .shop-gallery-heading { text-align: center; }
@media (max-width: 1100px) {
 .lp-our-work .header-container-wrapper { position: relative; }
 .lp-our-work .nav-menu-right-side { display: flex; align-items: center; gap: 12px; width: auto; }
 .lp-our-work .nav-menu-right-side > .link-nav-card-menu { display: none; }
 .lp-our-work .nav-menu-right-side > .container-2 { display: block; width: auto; margin: 0; }
 .lp-our-work .our-work-mobile-nav { display: block; color: #fff; }
 .lp-our-work .our-work-mobile-nav summary { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid #3c3e42; border-radius: 10px; background: #141518; cursor: pointer; list-style: none; font-size: 16px; }
 .lp-our-work .our-work-mobile-nav summary::-webkit-details-marker { display: none; }
 .lp-our-work .our-work-mobile-nav summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
 .lp-our-work .our-work-mobile-nav[open] summary::after { transform: rotate(225deg) translate(-2px,-2px); }
 .lp-our-work .our-work-mobile-nav nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(320px,calc(100vw - 40px)); padding: 10px; background: #141518; border: 1px solid #3c3e42; border-radius: 12px; box-shadow: 0 16px 36px #0008; }
 .lp-our-work .our-work-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
 .lp-our-work .our-work-mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; color: #fff; text-decoration: none; border-radius: 6px; font-size: 17px; }
 .lp-our-work .our-work-mobile-nav a:hover { background: #27292e; }
 .lp-our-work .our-work-mobile-nav a:focus-visible,
 .lp-our-work .our-work-mobile-nav summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
}
@media (max-width: 480px) {
 .lp-our-work .nav-menu-right-side > .container-2 a { font-size: 0; min-width: 44px; min-height: 44px; padding: 12px; }
 .lp-our-work .nav-menu-right-side > .container-2 img { width: 18px; margin: 0; }
}

/* Gallery groups share equal-size frames, with incomplete rows centered. */
.photo-page.lp-our-work .gallery-index ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.photo-page.lp-our-work .gallery-index a { display: flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #3c3e42; border-radius: 24px; color: #e4e5e8; text-decoration: none; font-size: 15px; }
.photo-page.lp-our-work .gallery-index a:hover { background: #1e2025; color: #fff; }
.photo-page.lp-our-work .gallery-index a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.photo-page.lp-our-work .shop-photo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.photo-page.lp-our-work .shop-photo-grid > .shop-photo { flex: 0 1 calc((100% - 56px) / 3); }
.photo-page.lp-our-work .shop-gallery { scroll-margin-top: 110px; }
.home-photo-page .home-detail-feature { padding-bottom: 28px; }
@media (max-width: 767px) {
 .photo-page.lp-our-work .shop-photo-grid > .shop-photo { flex-basis: 100%; }
 .photo-page.lp-our-work .gallery-index a { padding-inline: 15px; font-size: 14px; }
 .home-photo-page .home-detail-feature { padding-bottom: 8px; }
}

/* Brand pages introduce the shop's work alongside the estimate actions. */
.brand-photo-page .section.lp-hero-with-photo { padding-block: 44px 24px; }
.brand-photo-page .lp-hero-with-photo > .container-default { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; max-width: 1240px; }
.brand-photo-page .lp-hero-with-photo > .container-default::before, .brand-photo-page .lp-hero-with-photo > .container-default::after { display: none; }
.brand-photo-page .lp-hero-with-photo .inner-container._720px { width: 100%; max-width: none; margin: 0; padding: 0; }
.brand-photo-page .lp-hero-with-photo .text-center { text-align: left; }
.brand-photo-page .lp-hero-with-photo h1 { margin: 0 0 22px; font-size: clamp(40px, 4.4vw, 58px); line-height: 1.08; text-wrap: balance; }
.brand-photo-page .lp-hero-with-photo .subtitle-wrapper { max-width: none; margin: 0; padding: 0; }
.brand-photo-page .lp-hero-with-photo .lp-answer { max-width: none; margin: 0; text-align: left; font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.brand-photo-page .lp-hero-with-photo .mg-top-default { margin-top: 24px; }
.brand-photo-page .lp-hero-with-photo .lp-cta-row { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.brand-photo-page .lp-hero-with-photo .primary-button { padding-inline: 20px; font-size: 17px; gap: 18px; }
.brand-photo-page .lp-hero-with-photo .lp-btn-call { padding-inline: 18px; font-size: 17px; }
.brand-photo-page .lp-hero-media { min-width: 0; }
.brand-photo-page .lp-hero-media .shop-photo figcaption { text-align: left; }
.brand-photo-page .lp-hero-media .shop-gallery-link { margin-top: 4px; font-size: 15px; }
.brand-photo-page .lp-brand-story, .brand-photo-page .lp-porsche-story { margin-top: 24px; }
.brand-photo-page .shop-gallery { scroll-margin-top: 110px; }
@media (max-width: 1024px) {
 .brand-photo-page .lp-hero-with-photo > .container-default { gap: 28px; }
 .brand-photo-page .lp-hero-with-photo h1 { font-size: 44px; }
}
@media (max-width: 767px) {
 .brand-photo-page .section.lp-hero-with-photo { padding-block: 26px 16px; }
 .brand-photo-page .lp-hero-with-photo > .container-default { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .brand-photo-page .lp-hero-with-photo h1 { margin-bottom: 16px; font-size: 36px; line-height: 1.08; }
 .brand-photo-page .lp-hero-with-photo .lp-answer { font-size: 17px; line-height: 1.5; }
 .brand-photo-page .lp-hero-with-photo .lp-cta-row { width: 100%; margin: 0; gap: 10px; }
 .brand-photo-page .lp-hero-with-photo .primary-button, .brand-photo-page .lp-hero-with-photo .lp-btn-call { width: 100%; min-height: 48px; justify-content: center; }
 .brand-photo-page .lp-hero-media { width: 100%; max-width: 520px; margin-inline: auto; }
 .brand-photo-page .lp-hero-media .shop-photo figcaption { margin-top: 10px; font-size: 14px; }
 .brand-photo-page .lp-brand-story, .brand-photo-page .lp-porsche-story { margin-top: 20px; }
}
