:root {
    color-scheme: light;
    --paper: #faf9f6;
    --ink: #252723;
    --muted: #686d64;
    --line: #e0e2da;
    --accent: #425b45;
    --radius: 8px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #617f62; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; font-weight: 550; letter-spacing: -.04em; }
h2 { font-size: 18px; line-height: 1.4; font-weight: 550; }
img { display: block; max-width: 100%; }
.page-width { width: min(100% - 64px, 1360px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { margin-bottom: 14px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.skip-link { position: absolute; z-index: 10; inset: 12px auto auto 12px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-nav { border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.brand-subtitle { margin-left: 3px; font-weight: 400; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px 12px; padding: 0; margin: 0 0 0 auto; list-style: none; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; color: #a8aca3; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.home-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 64px; padding-block: 58px 70px; }
.intro { align-self: start; padding-top: 16px; }
.intro-logo { margin-bottom: 32px; }
.intro h1 { margin-bottom: 22px; }
.intro-subtitle { font-size: 19px; line-height: 1.55; color: var(--muted); }
.contact-note { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.contact-note p { margin-bottom: 14px; max-width: 230px; }
.contact-note a { color: var(--ink); font-size: 13px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; font-size: 12px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading > .muted { flex-shrink: 0; }
.album-section + .album-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.album-card { min-width: 0; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.photo-frame { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #e8e9e2; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.album-card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.card-arrow { opacity: .45; font-size: 15px; }
.album-card:hover .card-arrow, .album-card:focus-visible .card-arrow { opacity: 1; }
.album-card:hover .photo-frame img, .photo-card:hover .photo-frame img { transform: scale(1.025); }
.empty-cover { display: grid; place-items: center; aspect-ratio: 1; background: #e8e9e2; border-radius: var(--radius); font-size: 32px; color: #808678; letter-spacing: .12em; }
.album-header { max-width: 820px; text-align: center; margin: 0 auto; padding: 56px 0 44px; overflow-wrap: anywhere; }
.album-header h1 { margin-bottom: 20px; }
.album-description { color: var(--muted); font-size: 15px; line-height: 1.8; }
.album-description a { color: var(--accent); }
.gallery-toolbar { border-top: 1px solid var(--line); padding-top: 20px; }
.gallery-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.gallery-actions .experience-link { background: #202d43; border-color: #384b6c; box-shadow: inset 0 1px #d9e5ff19; }
.experience-link > span { font-size: 20px; line-height: 1; color: #d0dcf4; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; padding: 9px 17px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font-size: 13px; line-height: 1.6; text-decoration: none; font-weight: 500; }
.button:hover { filter: brightness(.93); }
.button-secondary { background: transparent; color: var(--ink); border-color: #ccd0c5; }
.button:disabled { opacity: .7; cursor: wait; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 48px; }
.photo-card { position: relative; display: block; min-width: 0; border-radius: var(--radius); text-decoration: none; overflow: hidden; }
.photo-caption { position: absolute; left: 0; bottom: 0; width: 100%; padding: 32px 12px 11px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); color: white; font-size: 11px; line-height: 1.45; opacity: 0; transition: opacity .2s ease; overflow-wrap: anywhere; }
.photo-card:hover .photo-caption, .photo-card:focus-visible .photo-caption { opacity: 1; }
.image-error { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.has-image-error > img { opacity: 0; }
.photo-viewer { position: relative; display: flex; align-items: center; justify-content: center; height: calc(72vh + 56px); height: calc(72svh + 56px); min-height: 300px; background: #20221f; padding: 28px 72px; }
.main-photo { max-width: 100%; width: auto; height: auto; max-height: 100%; object-fit: contain; }
.photo-viewer .image-error { color: #e1e4dc; }
.viewer-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; background: rgb(0 0 0 / .2); color: white; font-size: 22px; text-decoration: none; transform: translateY(-50%); }
.viewer-arrow:hover { background: rgb(255 255 255 / .15); }
.viewer-prev { left: 16px; }
.viewer-next { right: 16px; }
.image-details { max-width: 1120px; padding-block: 36px 24px; }
.image-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.image-heading h1 { font-size: clamp(23px, 2.3vw, 32px); overflow-wrap: anywhere; margin-bottom: 10px; }
.image-heading .eyebrow { margin-bottom: 10px; }
.back-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.download-menu { position: relative; flex-shrink: 0; }
.download-menu summary { list-style: none; }
.download-menu summary::-webkit-details-marker { display: none; }
.summary-chevron { margin-left: 8px; }
.download-menu ul { position: absolute; z-index: 2; right: 0; top: calc(100% + 8px); width: 260px; list-style: none; margin: 0; padding: 6px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(24 30 22 / .1); }
.download-menu a { display: flex; justify-content: space-between; gap: 12px; border-radius: 4px; padding: 10px; color: var(--ink); text-decoration: none; font-size: 13px; }
.download-menu a span { color: var(--muted); font-size: 11px; align-self: center; }
.download-menu a:hover { background: var(--paper); }
.photo-metadata { display: flex; flex-wrap: wrap; gap: 24px 40px; border-top: 1px solid var(--line); margin: 28px 0 0; padding-top: 24px; }
.photo-metadata dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.photo-metadata dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.keyboard-hint { margin-top: 32px; font-size: 12px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 24px; color: var(--muted); }
.empty-state h2, .empty-state h3 { color: var(--ink); font-size: 20px; font-weight: 500; }
.error-page { padding-block: 100px; }
.error-page .button { margin-top: 12px; }
.private-page { min-height: 70vh; }
.private-page .album-header { padding-bottom: 20px; }
.password-panel { max-width: 380px; margin: 0 auto 64px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.password-panel label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.password-panel input[type="password"] { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #b8bfb0; border-radius: 5px; color: var(--ink); background: white; }
.password-panel input[aria-invalid] { border-color: #aa3838; }
.password-panel .button { width: 100%; }
.form-status { margin-block: 12px; font-size: 13px; color: var(--muted); }
.form-status.is-error { color: #a03030; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
    .home-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; }
    .album-grid { gap: 24px 14px; }
}
@media (max-width: 999px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
    .home-layout { display: block; padding-top: 36px; }
    .intro { position: relative; padding: 0 0 32px; }
    .intro-logo { position: absolute; top: 0; right: 0; width: 60px; height: 69px; }
    .intro h1 { max-width: calc(100% - 80px); }
    .intro-subtitle { font-size: 17px; }
    .intro-subtitle br { display: none; }
    .contact-note { margin-top: 24px; padding-top: 18px; }
    .contact-note p { max-width: none; margin-bottom: 5px; }
    .nav-inner { min-height: 68px; }
    .brand-subtitle { display: none; }
    .album-header { padding-block: 40px 32px; }
}
@media (max-width: 599px) {
    .page-width { width: calc(100% - 32px); }
    .nav-inner { gap: 16px; }
    .breadcrumb { gap: 3px 7px; font-size: 11px; }
    .breadcrumb li + li::before { margin-right: 7px; }
    .brand { gap: 8px; }
    .album-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .photo-grid { gap: 12px; }
    .photo-caption { opacity: 1; font-size: 10px; padding-inline: 8px; }
    .album-header h1 { font-size: 30px; }
    .section-heading { font-size: 11px; }
    .gallery-toolbar .button { padding: 8px 12px; font-size: 12px; }
    .gallery-toolbar { flex-wrap: wrap; }
    .gallery-actions { justify-content: flex-start; }
    .photo-viewer { height: calc(65vh + 90px); height: calc(65svh + 90px); min-height: 260px; padding: 20px 16px 70px; }
    .viewer-arrow { top: auto; bottom: 12px; width: 40px; height: 40px; transform: none; }
    .viewer-prev { left: calc(50% - 50px); }
    .viewer-next { right: calc(50% - 50px); }
    .image-heading { flex-direction: column; gap: 20px; }
    .download-menu ul { left: 0; right: auto; }
    .photo-metadata { gap: 20px 28px; }
    .photo-metadata > div { max-width: 100%; }
    .keyboard-hint { display: none; }
    .site-footer { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
