/* Homepage layout and photography galleries. */

body[data-page="home"] .page-hero{padding:40px 0 30px;}
.home-eyebrow{font-size:15px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;line-height:1.6;margin:0 0 20px;color:var(--accent);}
body[data-page="home"] .hero-title{max-width:1120px;margin:0 auto 16px;font-size:clamp(42.5px,5.625vw,77.5px);font-weight:700;line-height:1.1;letter-spacing:-1.8px;}
body[data-page="home"] .hero-title span{color:var(--accent);}
body[data-page="home"] .hero-sub{max-width:760px;margin:0 auto 22px;}
body[data-page="home"] .btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;border-radius:7px;transition:background .2s ease,color .2s ease;}
body[data-page="home"] .btn.primary:hover{background:#514158;}
body[data-page="home"] a:focus-visible,body[data-page="home"] button:focus-visible{outline:3px solid var(--accent);outline-offset:5px;}
body[data-page="home"] .carousel{margin-bottom:32px;}

body[data-page="home"] .carousel-intro{padding-top:28px;gap:clamp(28px,6vw,100px);}
body[data-page="home"] .carousel-intro h2{font-size:clamp(32.5px,3.75vw,52.5px);letter-spacing:-1px;}
body[data-page="home"] .brand-feature{margin:56px 0 0;}
body[data-page="home"] .brand-feature__label{color:var(--muted);font-size:13.75px;letter-spacing:1.2px;margin:12px 0 0;}

.home-services{margin:56px 0 0;}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px;}
.home-section-heading .home-eyebrow{margin-bottom:10px;}
.home-section-heading h2,.home-about h2,.home-enquiry h2{font-size:clamp(35px,3.75vw,52.5px);font-weight:650;letter-spacing:-1.1px;line-height:1.15;margin:0;}
.home-text-link{color:var(--fg);text-decoration:none;font-size:17.5px;font-weight:650;display:inline-flex;gap:20px;align-items:center;padding-bottom:6px;border-bottom:1px solid #b8a8bd;}
.home-text-link:hover{color:var(--accent);border-color:var(--accent);}
.home-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.home-service{display:flex;flex-direction:column;color:var(--fg);text-decoration:none;background:#f1e9e2;border:1px solid #e2d9dd;border-radius:10px;padding:28px 24px;transition:background .2s ease,border-color .2s ease;}
.home-service:hover{background:#e9e1ed;border-color:#b8a8bd;}
.home-service h3{font-size:31.25px;font-weight:650;letter-spacing:-.5px;margin:0 0 12px;}
.home-service p{font-size:18.75px;line-height:1.75;color:var(--muted);margin:0 0 28px;}
.home-service-link{display:flex;justify-content:space-between;gap:12px;font-size:16.25px;font-weight:650;margin-top:auto;}
.home-about{align-items:center;display:grid;grid-template-columns:1fr 1.5fr;gap:40px;border-top:1px solid #e2d9dd;margin:56px 0 0;padding-top:40px;}
.home-about__portrait{display:block;width:100%;height:auto;max-width:480px;aspect-ratio:1;object-fit:contain;border-radius:12px;}
.home-about p:not(.home-eyebrow){max-width:660px;line-height:1.8;color:var(--muted);margin:20px 0 24px;}
.home-enquiry{margin:72px 6px 0;padding:clamp(28px,4vw,56px);background:#eee7f1;color:#faf7f2;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:28px;}
.home-enquiry p{color:#6b6570;line-height:1.7;margin:12px 0 0;}
.home-enquiry .btn{flex-shrink:0;}
body[data-page="home"] .home-enquiry .btn{background:#eaded2;color:#eee7f1;}
body[data-page="home"] .home-enquiry .btn:hover{background:#faf7f2;}
.home-footer{box-sizing:border-box;max-width:1280px;margin:auto;padding:24px clamp(16px,4vw,80px) 28px;border-top:1px solid #e2d9dd;display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:16.25px;}
.home-footer a{color:var(--fg);text-decoration:none;}
.home-footer a:hover{text-decoration:underline;text-underline-offset:4px;}


@media (max-width:1000px){.home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:680px){
  body[data-page="home"] .page-hero{padding:28px 0 24px;}
  body[data-page="home"] .hero-title{letter-spacing:-1.5px;}
  body[data-page="home"] .hero-sub{font-size:20px;}
  body[data-page="home"] .cta-row{flex-wrap:wrap;gap:10px;}
  body[data-page="home"] .brand-feature{margin-top:56px;}
  .home-eyebrow{font-size:12.5px;letter-spacing:1.1px;}
  .home-services,.home-enquiry{margin-top:60px;}
  .home-section-heading{align-items:start;flex-direction:column;}
  .home-about{grid-template-columns:1fr;gap:28px;margin-top:56px;padding-top:28px;}
  .home-enquiry{flex-direction:column;align-items:start;}
  .home-footer{flex-wrap:wrap;gap:12px 24px;}
}
@media (max-width:440px){.home-service-grid{grid-template-columns:1fr;}}
@media (prefers-reduced-motion:reduce){body[data-page="home"] .btn,.home-service{transition:none;}}

/* Wedding photographs retain their original landscape framing. */
.wedding-feature{margin:56px 0 0;}
.wedding-feature__gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.wedding-feature__gallery img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:10px;}
.wedding-feature__caption{max-width:680px;color:var(--muted);line-height:1.75;margin:24px 0 18px;}
@media (max-width:680px){.wedding-feature{margin-top:56px;}.wedding-feature__gallery{grid-template-columns:1fr;gap:14px;}}

/* A mixed photography gallery with arrows at either side. */
body[data-page="home"] .carousel{overflow:visible;border-radius:0;}
body[data-page="home"] .carousel-track{position:relative;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;transform:none;transition:none;border-radius:10px;}
body[data-page="home"] .carousel-track::-webkit-scrollbar{display:none;}
body[data-page="home"] .carousel-slide{flex:0 0 calc((100% - 36px) / 3);padding:0;min-width:0;scroll-snap-align:start;text-decoration:none;color:var(--fg);}
body[data-page="home"] .carousel-slide img{width:100%;height:auto;aspect-ratio:4 / 3;object-fit:cover;object-position:center 35%;border-radius:10px;}
.carousel-caption{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:16px 2px 8px;}
.carousel-category{grid-column:1;font-size:clamp(22.5px,2vw,30px);color:var(--accent);font-weight:600;}
.carousel-caption-arrow{grid-column:2;grid-row:1;align-self:center;font-size:25px;color:var(--accent);}
.carousel-toolbar{display:flex;justify-content:center;margin:12px 0 0;}
body[data-page="home"] .carousel-controls{position:absolute;inset:0 0 auto;height:var(--carousel-image-height);padding:0 12px;gap:8px;pointer-events:none;}
body[data-page="home"] .carousel-controls button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e2d9dd;border-radius:50%;background:rgba(255,255,255,.94);color:var(--fg);font-size:25px;box-shadow:0 2px 10px #0002;}
body[data-page="home"] .carousel-controls button:hover:not(:disabled){background:#eee7f1;border-color:#b8a8bd;}
body[data-page="home"] .carousel-controls button:disabled{opacity:.3;cursor:default;}
body[data-page="home"] .carousel-dots{position:static;transform:none;gap:4px;}
body[data-page="home"] .carousel-dots button{position:relative;width:24px;height:28px;padding:0;border-radius:0;background:transparent;}
body[data-page="home"] .carousel-dots button::after{content:"";position:absolute;inset:10px 8px;border-radius:50%;background:#d6ccd9;}
body[data-page="home"] .carousel-dots button.active::after{background:var(--accent);}
body[data-page="home"] .carousel-slide:focus-visible{outline-offset:-3px;}
@media (min-width:681px) and (max-width:1000px){body[data-page="home"] .carousel-slide{flex-basis:calc((100% - 18px) / 2);}}
@media (max-width:680px){
  body[data-page="home"] .carousel-slide{flex-basis:100%;}
  body[data-page="home"] .carousel-dots{display:none;}
  body[data-page="home"] .carousel-intro{grid-template-columns:1fr;gap:16px;}
}

/* Mouse dragging complements native touch and trackpad scrolling. */
body[data-page="home"] .carousel-track{cursor:grab;user-select:none;-webkit-user-select:none;}
body[data-page="home"] .carousel-slide{cursor:inherit;-webkit-user-drag:none;}
body[data-page="home"] .carousel-slide img{-webkit-user-drag:none;}
body[data-page="home"] .carousel-track.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;}

/* Brand imagery uses the same compact proportions as the wedding gallery. */
body[data-page="home"] .brand-feature__gallery{aspect-ratio:auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:16px;padding:0;}
body[data-page="home"] .brand-feature__gallery img{height:auto;aspect-ratio:3 / 2;object-fit:cover;border-radius:10px;}
body[data-page="home"] .brand-feature__sportswear{grid-column:auto;grid-row:auto;object-position:center 52%;}
.brand-feature__caption{max-width:680px;color:var(--muted);line-height:1.75;margin:12px 0 0;}
.brand-feature__gallery:focus-visible{outline:3px solid var(--accent);outline-offset:5px;}
@media (max-width:680px){
  body[data-page="home"] .brand-feature__gallery{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;}
  body[data-page="home"] .brand-feature__gallery img{flex:0 0 85%;width:85%;min-width:0;scroll-snap-align:start;}
}

/* Match the compact spacing used by the service pages. */
body[data-page="home"]{height:auto;min-height:100%;}
.home-section-heading{margin-bottom:24px;}
.home-section-heading h2,.home-about h2{font-size:clamp(32.5px,3.25vw,42.5px);}
.home-about{grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:40px;padding-top:32px;}
.home-enquiry{margin:48px 0 0;padding:28px 0 0;border-top:1px solid #e2d9dd;background:transparent;color:var(--fg);border-radius:0;}
.home-enquiry h2{font-size:clamp(30px,3.125vw,37.5px);}
body[data-page="home"] .home-enquiry .btn.primary{background:var(--accent);color:#faf7f2;}
body[data-page="home"] .home-enquiry .btn.primary:hover{background:#514158;}
@media(max-width:680px){
  body[data-page="home"] .brand-feature,.wedding-feature,.home-services,.home-about{margin-top:40px;}
  .home-service-grid{grid-template-columns:1fr;}
  .home-about{grid-template-columns:1fr;gap:24px;}
  .home-about__portrait{max-width:260px;}
  .home-enquiry{margin-top:40px;}
}

/* A clear introduction, selected work, and direct routes to each service. */
body[data-page="home"] .home-hero{display:block;padding:24px 0 32px;text-align:center;}
body[data-page="home"] .home-hero .hero-title{font-size:clamp(40px,5vw,65px);margin:0 auto 20px;letter-spacing:-1.4px;}
body[data-page="home"] .home-hero .hero-sub{margin:0 auto 24px;}
.home-hero .cta-row{justify-content:center;align-items:center;flex-wrap:wrap;gap:20px;}

#mainCarousel{scroll-margin-top:24px;}
.home-service{padding:0;overflow:hidden;}
.home-service>img{display:block;width:100%;height:auto;aspect-ratio:3 / 4;object-fit:cover;object-position:center 35%;}
.home-service__body{display:flex;flex-direction:column;flex:1;padding:22px;}
.home-service p{margin-bottom:20px;}
.home-location{margin-top:48px;padding-top:28px;border-top:1px solid #e2d9dd;}
.home-location h2{font-size:clamp(27.5px,3.125vw,35px);font-weight:650;letter-spacing:-.6px;margin:0 0 12px;}
.home-location p{color:var(--muted);line-height:1.75;max-width:620px;margin:0;}
.home-footer{align-items:start;flex-wrap:wrap;gap:24px;}
.home-footer strong{color:var(--fg);font-size:20px;}
.home-footer p{margin:8px 0 12px;}
.home-footer nav{display:flex;flex-wrap:wrap;gap:16px 24px;}
@media(max-width:680px){
  body[data-page="home"] .home-hero{padding:16px 0 24px;}

  .home-service-grid{grid-template-columns:1fr;}
  .home-service{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:center;}
  .home-service__body{padding:16px;}
  .home-service h3{font-size:27.5px;}
  .home-service p{font-size:17.5px;line-height:1.5;}
  .home-location{margin-top:40px;}
}

.home-booking{margin-top:56px;padding-top:32px;border-top:1px solid #e2d9dd;}
.home-booking>h2{font-size:clamp(32.5px,3.25vw,42.5px);font-weight:650;line-height:1.2;letter-spacing:-.8px;margin:0 0 28px;}
.home-booking__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 48px;}
.home-booking__grid article{padding-top:20px;border-top:1px solid #e2d9dd;}
.home-booking h3{font-size:23.75px;font-weight:650;line-height:1.4;margin:0 0 12px;}
.home-booking p{color:var(--muted);font-size:18.75px;line-height:1.75;margin:0;max-width:490px;}
.home-booking .home-text-link{margin-top:16px;}
@media(max-width:680px){
  .home-booking{margin-top:40px;padding-top:28px;}
  .home-booking__grid{grid-template-columns:1fr;gap:24px;}
}
