@font-face {
    font-family: "Foto Serif";
    src: url("/fonts/dm-serif-display-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Foto Serif";
    src: url("/fonts/dm-serif-display-400-italic-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

.foto-page {
    --foto-ink: #201d1c;
    --foto-muted: #5c514b;
    --foto-paper: #f9f5ee;
    --foto-warm: #efe5da;
    --foto-line: #d2c3b7;
    --foto-rust: #9f422b;
    --foto-coral: #ffb99c;
    --foto-dark: #231e1c;
    --foto-header: 73px;
    --foto-index: 52px;
    --foto-space: clamp(52px, 7.2vw, 110px);
}

html:has(.foto-page) { scroll-padding-top: 0; scroll-behavior: auto; }
.foto-page > .header { background: white; }
.foto-main { overflow: clip; background: var(--foto-paper); color: var(--foto-ink); line-height: 1.65; }
.foto-main [id] { scroll-margin-top: calc(var(--foto-header) + var(--foto-index) + 24px); }
.foto-main :is(h1, h2, h3, p, figure) { margin: 0; color: inherit; }
.foto-main :is(h1, h2) { font: 400 clamp(2.25rem, 4.8vw, 4.35rem)/1.02 "Foto Serif", Georgia, serif; letter-spacing: -.025em; overflow-wrap: anywhere; }
.foto-main h1 { font-size: clamp(2.85rem, 6.15vw, 5.7rem); }
.foto-main h3 { font-size: clamp(1.17rem, 1.9vw, 1.6rem); letter-spacing: -.026em; line-height: 1.19; overflow-wrap: anywhere; }
.foto-main p { overflow-wrap: anywhere; }
.foto-main a { color: inherit; text-underline-offset: .2em; }
.foto-main :is(a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.foto-wrap { width: min(1250px, calc(100% - 64px)); margin-inline: auto; }
.foto-section { padding-block: var(--foto-space); }
.foto-heading { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: end; gap: 15px clamp(22px, 5.6vw, 78px); margin-bottom: clamp(24px, 4vw, 43px); }
.foto-heading p { max-width: 48ch; color: var(--foto-muted); }
.foto-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 33px); }

.foto-hero, .foto-close { background: var(--foto-dark); color: var(--foto-paper); }
.foto-hero { padding: calc(var(--foto-header) + 24px) 0 clamp(35px, 5vw, 65px); }
.foto-breadcrumb { display: flex; flex-wrap: wrap; gap: 3px 9px; margin-bottom: clamp(23px, 3.2vw, 43px); color: #e1d4c9; font-size: .84rem; }
.foto-hero-grid { display: grid; grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); gap: clamp(22px, 4.6vw, 68px); align-items: center; }
.foto-hero h1 em { color: var(--foto-coral); }
.foto-hero header > p:first-of-type { margin-top: 20px; color: #eddfd5; max-width: 38ch; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.foto-main .foto-hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 15px; padding-block: 12px; margin-block: 21px; border-block: 1px solid #79665a; }
.foto-hero-price strong { font-size: 1.18rem; }
.foto-hero-price span { font-size: .87rem; color: #e1d4c9; }
.foto-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.foto-main .foto-button { display: inline-flex; min-height: 48px; padding: 10px 15px; gap: .7em; align-items: center; justify-content: space-between; border: 1px solid currentColor; border-radius: 4px; font-size: .9rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.foto-main .foto-button--primary { background: var(--foto-coral); color: var(--foto-dark); border-color: var(--foto-coral); }
.foto-main .foto-button:hover { background: var(--foto-warm); color: var(--foto-ink); border-color: var(--foto-warm); }
.foto-main .foto-button--primary:focus-visible { outline-color: var(--foto-coral); }
.foto-main img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.foto-hero-image { border: 1px solid #69584f; padding: 8px; }
.foto-hero-image figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 9px 5px 2px; color: #e8d8ce; font-size: .82rem; }

.foto-index { position: sticky; top: var(--foto-header); z-index: 4; border-bottom: 1px solid var(--foto-line); background: var(--foto-paper); }
.foto-index .foto-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(10px, 3vw, 34px); min-height: calc(var(--foto-index) - 1px); }
.foto-index a { padding: 7px 2px; font-size: .84rem; font-weight: 650; text-decoration: none; }
.foto-index a:hover { text-decoration: underline; }

.foto-board { background: var(--foto-warm); }
.foto-board h2 em { color: var(--foto-rust); }
.foto-board-grid { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: start; gap: clamp(18px, 3.2vw, 44px); }
.foto-frame { padding: 8px; border: 1px solid var(--foto-line); background: var(--foto-paper); }
.foto-main .foto-frame--edit { margin-top: clamp(0px, 3vw, 48px); }
.foto-frame figcaption { padding: clamp(13px, 2.2vw, 25px); }
.foto-frame figcaption p { margin-top: 6px; color: var(--foto-muted); }
.foto-board-note { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 23px; font-size: .87rem; color: var(--foto-muted); }
.foto-board-note p { max-width: 80ch; }
.foto-text-link { font-weight: 650; }

.foto-portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 6vw, 86px); align-items: start; }
.foto-topics article, .foto-genres article, .foto-process article { padding-block: 17px 13px; border-top: 1px solid var(--foto-line); }
.foto-topics article p, .foto-genres article p, .foto-process article p { margin-top: 7px; color: var(--foto-muted); }
.foto-intake { padding: clamp(20px, 3.5vw, 39px); background: var(--foto-dark); color: var(--foto-paper); border-radius: 4px; }
.foto-main .foto-label { margin-bottom: 7px; color: var(--foto-coral); font-size: .8rem; font-weight: 650; }
.foto-intake h3 { font: 400 clamp(1.75rem, 3vw, 2.9rem)/1.1 "Foto Serif", Georgia, serif; }
.foto-intake dl { margin-block: 14px; }
.foto-intake dl div { border-top: 1px solid #79665a; padding-block: 11px; }
.foto-intake dt { font-weight: 650; }
.foto-intake dd { margin: 0; color: #eddfd5; }
.foto-intake > p:last-child { border-top: 1px solid #79665a; padding-top: 12px; color: #eddfd5; font-size: .89rem; }
.foto-genres, .foto-process { background: var(--foto-warm); }

.foto-package { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--foto-line); border-radius: 4px; padding: clamp(17px, 2.6vw, 31px); }
.foto-package--featured { background: #f6e3d8; border-color: #a36654; }
.foto-main .foto-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 9px; margin-block: 12px; }
.foto-price strong { font: 400 clamp(2.3rem, 4.55vw, 3.75rem)/1 "Foto Serif", Georgia, serif; letter-spacing: -.04em; }
.foto-price span { color: var(--foto-muted); font-size: .85rem; }
.foto-package ul, .foto-resources ul { padding-left: 1.15em; }
.foto-package ul { flex: 1; margin-block: 14px 20px; }
.foto-main .foto-note { margin-top: 20px; max-width: 88ch; color: var(--foto-muted); font-size: .88rem; }
.foto-related { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 13px; font-weight: 650; }

.foto-process h2, .foto-resources h2 { margin-bottom: 28px; }
.foto-faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 24px clamp(28px, 5vw, 80px); }
.foto-faq-list details { border-top: 1px solid var(--foto-line); }
.foto-faq-list details:last-child { border-bottom: 1px solid var(--foto-line); }
.foto-faq-list summary { cursor: pointer; min-height: 45px; padding-block: 12px; font-weight: 650; }
.foto-faq-list details p { margin-bottom: 14px; color: var(--foto-muted); }
.foto-resources { border-top: 1px solid var(--foto-line); }
.foto-resources ul { margin-block: 10px 0; }
.foto-resources li + li { margin-top: 4px; }
.foto-close { text-align: center; }
.foto-close p { max-width: 56ch; margin: 15px auto 22px; color: #eddfd5; }
.foto-close .foto-actions { justify-content: center; }

@keyframes foto-frame-enter {
    from { translate: 0 14px; }
    to { translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .foto-frame { animation: foto-frame-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .foto-main .foto-button { transition: none; }
}
@media (max-width: 880px) {
    .foto-wrap { width: calc(100% - 40px); }
    .foto-hero-grid, .foto-heading { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 710px) {
    .foto-page { --foto-index: 0px; }
    .foto-index { position: static; padding-block: 7px; }
    .foto-three, .foto-board-grid, .foto-portfolio-grid, .foto-faq-grid { grid-template-columns: minmax(0, 1fr); }
    .foto-main .foto-frame--edit { margin-top: 0; }
}
@media (max-width: 360px) {
    .foto-wrap { width: calc(100% - 34px); }
    .foto-main h1 { font-size: 2.7rem; }
}
