/* Personal photographs: full compositions in small postcards and an airy beach story. */
body.photo-open { overflow: hidden; }
.about-hero .split__media { width: 100%; max-width: 400px; margin-inline: auto; }
.family-postcard > img { display: block; width: 100%; height: auto; }
.gallery-grid > .gallery-photo { height: 100%; }
.gallery-grid > :nth-child(3) img { object-position: center top; }
.gallery-grid > :nth-child(5) img { object-position: center 24%; }
.hero--split-copy .hero__content { display: block; }
.hero--split-copy .hero__heading { max-width: 980px; }
.hero--split-copy .hero__heading h1 { max-width: 22ch; }
.hero__photo { position: relative; }
.hero--split-copy .hero__overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-block: clamp(2rem, 4vw, 4rem); }
.hero--split-copy .hero__details { max-width: 650px; }
.hero--split-copy .hero__details .lead { color: var(--cream); text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.hero--split-copy .hero__shade { z-index: 1; background: linear-gradient(0deg, rgba(20, 22, 19, .72), rgba(20, 22, 19, .18) 65%, transparent); }
.image-interlude.is-parallax img { top: calc(0px - var(--parallax-room, 72px)); height: calc(100% + var(--parallax-room, 72px) + var(--parallax-room, 72px)); }
.photo-break__frame { border-radius: var(--radius-lg); }
.photo-break .photo-break__frame img { max-height: none; border-radius: 0; object-position: var(--photo-position, center); }
.email-signup__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; padding: clamp(1.75rem, 4vw, 4rem); background: var(--sage-soft); border-radius: var(--radius); }
.email-signup__inner h2 { max-width: 21ch; }
.email-signup__inner .lead { max-width: 780px; margin-bottom: 0; }
.email-signup-link { margin-top: 1.5rem; }
@media (max-width: 780px) {
    .hero--split-copy .hero__media { height: 30rem; }
    .hero--split-copy .hero__media img { height: 100%; aspect-ratio: auto; }
    .hero--split-copy .hero__overlay { padding-block: 2rem; }
    .hero--split-copy .hero__details { max-width: 36rem; }
    .image-interlude.is-parallax img { top: 0; height: auto; }
    .email-signup__inner { grid-template-columns: 1fr; }
    .email-signup__inner .button { justify-self: start; }
}
.about-human-touch__portrait { width: min(100%, 360px); margin: 0 auto 2.75rem; }
.about-human-touch__portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.about-life--postcards .about-life__copy {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}
.about-life--postcards .about-life__copy h2 { max-width: 20ch; margin-inline: auto; }
.family-postcards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
    gap: 2.5rem 2rem;
    max-width: 1100px;
    margin: 3.5rem auto 0;
    padding: .75rem .5rem 1rem;
}
.family-postcard {
    grid-column: span 2;
    width: 100%;
    max-width: 340px;
    margin: 0;
    padding: .75rem .75rem .4rem;
    color: var(--ink);
    background: var(--cream);
    box-shadow: 0 10px 26px rgba(53, 55, 51, .12);
    transform: rotate(-3deg);
}
.family-postcard:nth-child(2) { margin-top: 1.2rem; transform: rotate(2deg); }
.family-postcard:nth-child(3) { transform: rotate(-1.5deg); }
.family-postcard:nth-child(4) { grid-column: 2 / span 2; transform: rotate(2.5deg); }
.family-postcard:nth-child(5) { grid-column: 4 / span 2; margin-top: .8rem; transform: rotate(-2deg); }
.family-postcard figcaption,
.beach-stories__favourite figcaption {
    margin: .4rem 0 0;
    font-family: var(--script);
    font-size: 2.2rem;
    line-height: 1.3;
    text-align: center;
}
.personal-photo,
.gallery-photo {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: zoom-in;
}
.personal-photo img { display: block; width: 100%; height: auto; }
.personal-photo:focus-visible,
.gallery-photo:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.beach-stories { max-width: 1120px; margin: 3.5rem auto 0; }
.beach-stories__feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 4rem);
}
.beach-stories__favourite { margin: 0; }
.beach-stories__favourite figcaption { margin-top: .75rem; font-size: 3rem; }
.beach-stories__alongside { display: grid; gap: 2rem; padding-top: 2rem; }
.beach-stories__moments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 760px;
    margin: 3rem auto 0;
}
.beach-stories .personal-photo img { border-radius: var(--radius); }
.portfolio-grid .gallery-photo { break-inside: avoid; margin: 0 0 1rem; }
.portfolio-grid .gallery-photo img { margin-bottom: 0; }
.gallery-photo[hidden], .personal-photo[hidden] { display: none; }
dialog.lightbox {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
}
.lightbox__image { width: auto; height: auto; max-height: calc(100dvh - 150px); }
.lightbox__caption { margin: 0; }
@media (max-width: 900px) {
    .family-postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; gap: 2rem; }
    .family-postcard:nth-child(n) { grid-column: auto; margin-top: 0; }
    .family-postcard:last-child { grid-column: 1 / -1; max-width: 310px; }
    .beach-stories__alongside { padding-top: 1rem; gap: 1.5rem; }
    .beach-stories__moments { gap: 1.5rem; }
}
@media (max-width: 700px) {
    .beach-stories__feature { grid-template-columns: 1fr; gap: 2rem; }
    .beach-stories__favourite { max-width: 480px; margin-inline: auto; }
    .beach-stories__alongside { padding-top: 0; gap: 2rem; }
    .beach-stories__moments { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
    .beach-stories__moments .personal-photo { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 580px) {
    .family-postcards { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-top: 2.5rem; padding-inline: .75rem; }
    .family-postcard:nth-child(n) { width: 100%; max-width: 300px; margin-top: 0; }
    .family-postcard:nth-child(2n) { transform: rotate(2deg); }
}
@media (max-width: 360px) {
    .family-postcard:nth-child(n) { max-width: 260px; }
}


/* v1.18.0: readability, mobile hero and calmer corners */
:root {
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-size: clamp(1.25rem, 0.3vw + 1.15rem, 1.45rem);
}

.number-card p,
.section--process .number-card p,
.section.section--process .number-card p,
.section.section--process .feature-card p,
.section.section--process .lead {
    color: var(--cream);
}

.cta-band__location {
    max-width: 40rem;
    margin: -0.5rem auto 2rem;
    font-size: 1.05em;
    color: var(--ink);
}

@media (max-width: 780px) {
    .hero--split-copy .hero__media {
        height: auto;
    }

    .hero--split-copy .hero__media img {
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .hero--split-copy .hero__shade {
        display: none;
    }

    .hero--split-copy .hero__overlay {
        position: static;
        padding-block: 1.75rem 2.5rem;
        color: var(--ink);
        background: var(--cream);
    }

    .hero--split-copy .hero__details .lead {
        color: var(--ink);
        text-shadow: none;
    }
}

/* v1.18.0: 404 matches the Hostinger 403 page */
.error-page {
    background: var(--cream);
}

.error-page__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 34rem);
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5rem);
    min-height: clamp(26rem, 52vh, 34rem);
}

.error-page__code {
    margin: 0;
    color: var(--charcoal);
    font-family: var(--serif);
    font-size: clamp(6rem, 14vw, 11rem);
    line-height: 1;
}

.error-page h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

@media (max-width: 780px) {
    .error-page__inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 0;
        text-align: center;
    }

    .error-page .button-row {
        justify-content: center;
    }
}

/* 1.19: from-prices line in the home hero */
.hero__details .hero__prices {
  margin: 0.9rem 0 1.4rem;
  color: #fffaf4;
  font-family: "Lato", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  max-width: 760px;
}
