:root { --paper: #faf8f3; --ink: #303b31; --muted: #62695e; --clay: #98523b; --sage: #e5e9dd; --line: #ddded4; --serif: Georgia, 'Times New Roman', serif; --sans: 'Segoe UI', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(1560px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 72px; }
.brand { font: 39px/1 var(--serif); letter-spacing: -1px; }
.brand span { color: var(--clay); }
.languages { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.languages > span { color: #858b80; }
.languages a { min-width: 40px; min-height: 44px; display: grid; place-items: center; color: var(--muted); }
.languages a[aria-current=page] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; padding-block: 18px 24px; }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 1.8px; margin: 0 0 16px; color: var(--clay); }
h1 { font: 400 clamp(48px, 5.3vw, 73px)/1.12 var(--serif); letter-spacing: -3px; margin: 0 0 22px; }
h1 em { color: var(--clay); font-weight: 400; }
h1, h2, p { overflow-wrap: break-word; }
.hero-description { font-size: 18px; color: var(--muted); margin: 0 0 14px; line-height: 1.75; }
.motif-description { font-size: 15px; color: var(--muted); margin: -4px 0 12px; line-height: 1.75; }
.youtube-note { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.75; }
.youtube-note a { display: inline; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.home-preview { min-width: 0; }
.home-preview h2 { font-size: 25px; margin-bottom: 16px; }
.workshop-link { display: inline; text-underline-offset: 6px; }
.workshop-link:hover { text-decoration: underline; }
.workshop-link > span:last-child { color: var(--clay); font: 20px var(--sans); }
.home-preview .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.home-preview .gallery-card figcaption { font-size: 10px; }
.home-preview .gallery-actions { justify-content: flex-start; margin-top: 16px; }
.email-contact { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.email-contact a { text-decoration: underline; text-underline-offset: 4px; }
.full-gallery { padding-block: 45px 50px; }
.gallery-header { margin-bottom: 32px; }
.gallery-header h1 { font-size: 42px; letter-spacing: -1.5px; margin: 25px 0 14px; }
.gallery-header p { margin: 0; font-size: 13px; color: var(--muted); }
.back-link { display: inline-block; padding-block: 6px; font-size: 12px; color: var(--muted); }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery-contact { border-top: 1px solid var(--line); padding-block: 35px 50px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 48px; padding: 12px 23px; border-radius: 4px; font-size: 12px; font-weight: 500; transition: background .2s; }
.button-dark { background: var(--ink); color: white; border: 1px solid var(--ink); }
.button-dark:hover:not(:disabled) { background: #485745; }
.button > span:last-child { font-size: 20px; line-height: 1; }
.button-outline { background: transparent; border: 1px solid #adb6a5; }
.button-outline:hover { background: var(--sage); }
.contact-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-row .contact-note { margin: 0; }
.contact-note { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.projects { padding-bottom: 64px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 35px; margin-bottom: 30px; }
h2 { font: 400 30px/1.2 var(--serif); letter-spacing: -.8px; margin: 0; }
.section-heading > p { font-size: 12px; color: var(--muted); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px 20px; align-items: start; }
.gallery-card { margin: 0; min-width: 0; }
.gallery-open { display: block; position: relative; width: 100%; border-radius: 5px; overflow: hidden; background: #eeeae1; }
.gallery-open img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s; }
.gallery-open:hover img { transform: scale(1.025); }
.gallery-open::after { content: '↗'; position: absolute; right: 10px; bottom: 10px; background: #fffcf5e8; width: 30px; height: 30px; border-radius: 50%; font-size: 19px; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.gallery-open:hover::after, .gallery-open:focus-visible::after { opacity: 1; }
.gallery-card figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; font-size: 11px; color: var(--muted); }
.photo-number { font-size: 10px; color: var(--clay); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.photo-label { min-width: 0; text-align: right; }
.gallery-card-description { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.gallery-actions { display: flex; justify-content: center; margin-top: 38px; }
.gallery-actions:has(button[hidden]) { display: none; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 25px 30px; color: var(--muted); font-size: 11px; }
.footer-brand { font: 25px var(--serif); color: var(--ink); }
.site-footer p { margin: 0; }
.viewer { width: min(1100px, calc(100% - 48px)); height: min(900px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #e4ddcd; border-radius: 8px; background: var(--paper); color: var(--ink); overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer::backdrop { background: #1b2419d9; backdrop-filter: blur(5px); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px; flex-shrink: 0; }
.viewer-brand { font: 24px var(--serif); }
.icon-button { display: grid; place-items: center; border: 1px solid #cbcdbc; background: var(--paper); width: 44px; height: 44px; font-size: 25px; border-radius: 50%; flex-shrink: 0; }
.icon-button:hover { background: var(--sage); }
.viewer-stage { position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; padding: 0 70px; }
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer-prev, .viewer-next { position: absolute; top: calc(50% - 22px); z-index: 1; }
.viewer-prev { left: 14px; }
.viewer-next { right: 14px; }
#viewer-error { text-align: center; }
.viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 22px; font-size: 12px; flex-shrink: 0; max-height: 25%; overflow-y: auto; }
.viewer-bottom p { margin: 0; }
#viewer-description { color: var(--muted); margin-top: 4px; }
#viewer-counter { white-space: nowrap; color: var(--clay); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; } h1 { font-size: 56px; } .wrap { width: calc(100% - 40px); } }
@media (max-width: 800px) { .hero { gap: 24px; padding-block: 24px 36px; } h1 { font-size: 47px; letter-spacing: -2px; } .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 15px; } .section-heading { display: block; } .section-heading > p { margin-top: 12px; } }
@media (max-width: 600px) { .wrap { width: calc(100% - 40px); } .site-header { min-height: 64px; } .brand { font-size: 33px; } .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 45px; } h1 { font-size: clamp(43px, 10.5vw, 60px); letter-spacing: -2px; margin-bottom: 22px; } .eyebrow { font-size: 9px; letter-spacing: 1.3px; margin-bottom: 20px; } .hero-description { font-size: 16px; margin-bottom: 23px; } .hero-photo img { aspect-ratio: 4 / 4.6; } h2 { font-size: 27px; } .section-heading { padding-top: 26px; margin-bottom: 25px; } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 13px; } .gallery-card figcaption { font-size: 10px; gap: 8px; } .gallery-open::after { opacity: 1; width: 26px; height: 26px; font-size: 17px; } .site-footer { align-items: start; gap: 15px; } .site-footer p { max-width: 195px; text-align: right; } .viewer { width: calc(100% - 16px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); } .viewer-stage { padding: 0 8px 60px; } .viewer-prev, .viewer-next { top: auto; bottom: 7px; } .viewer-prev { left: calc(50% - 54px); } .viewer-next { right: calc(50% - 54px); } .viewer-bottom { padding: 10px 15px 15px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media (max-width: 600px) { .gallery-header h1 { font-size: 34px; } .home-preview h2 { font-size: 26px; } }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } .site-header { min-height: 72px; } .hero { padding-block: 24px 32px; gap: 24px; } }
