/* Photographers page (/photographers/): the SmugMug replacement, shown with
   fredking.co and its admin. Builds on style.css, home.css, app-page.css and
   hosting/hosting.css (plans, enquiry form); the amber of fredking.co's
   Darkroom style is the tint. */

.photo-page { --tint: #e0aa66; --tint-2: #6ea8ff; }

/* "Photography" is a long word in tracked capitals: a size that fits its column */
.photo-page .app-title { font-size: clamp(1.8rem, 3.7vw, 3.2rem); }

.app-summary .inline { color: #fff; text-decoration-color: color-mix(in srgb, var(--tint) 70%, transparent); text-underline-offset: 3px; }

.sec .detail-grid { margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --- Styles: the same gallery in eight of the ten presets --- */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.styles-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px var(--hair), 0 24px 50px -30px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.styles-grid figure:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 45%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--tint) 50%, transparent);
}
.styles-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.styles-grid figcaption { padding: 14px 16px 16px; font-size: 0.84rem; line-height: 1.4; color: #a1a1aa; }
.styles-grid figcaption b { display: block; margin-bottom: 3px; font-size: 0.95rem; font-weight: 600; color: #fff; }

/* --- Moving from SmugMug: four numbered steps --- */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding: 26px 24px 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px var(--hair);
}
.steps li::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 18px;
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 200;
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 24px color-mix(in srgb, var(--tint) 70%, transparent);
}
.steps b { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 600; color: #fff; }
.steps span { display: block; font-size: 0.9rem; line-height: 1.55; color: #a1a1aa; }
.move-note, .plans-note { margin: 26px auto 0; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); }

/* --- Questions --- */
.faq { display: grid; gap: 10px; }
.faq details {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px var(--hair);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.faq summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    list-style: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 1.6px solid var(--tint);
    border-bottom: 1.6px solid var(--tint);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 24px 22px; font-size: 0.95rem; line-height: 1.6; color: #b4b4bd; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .sec .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .styles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .styles-grid { gap: 12px; }
    .styles-grid figcaption { padding: 10px 12px 12px; font-size: 0.78rem; }
    .steps { grid-template-columns: 1fr; }
    .sec .detail-grid { grid-template-columns: 1fr; }
}

/* --- "See the plans" bands at the end of each section --- */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 28px;
    max-width: 980px;
    margin: 56px auto 0;
    padding: 22px 26px;
    border-radius: 20px;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 120% at 50% 0%, color-mix(in srgb, var(--tint) 12%, transparent), transparent 70%),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px color-mix(in srgb, var(--tint) 22%, transparent);
}
.cta-band p { margin: 0; font-size: 1.02rem; color: #e6e6ea; }
.cta-band .hero-actions { justify-content: center; }
.sec-narrow .cta-band { margin-top: 40px; }
@media (max-width: 768px) {
    .cta-band { flex-direction: column; margin-top: 40px; padding: 24px 20px; }
    .cta-band .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .cta-band .hero-actions a { justify-content: center; }
}
