:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --paper-deep: #ece5d7;
  --ink: #201e19;
  --muted: #575246;
  --wine: #731f37;
  --gold: #e1bc7e;
  --line: #d4ccbc;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #aa5b3b; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2.7rem, 5.4vw, 4.7rem); letter-spacing: -.045em; }
h3 { letter-spacing: -.032em; }
section[id], article[id], footer[id] { scroll-margin-top: 1.4rem; }
.frame { width: min(100% - 7.5rem, 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.wordmark { justify-self: start; line-height: 1.2; white-space: nowrap; font: 500 1.32rem/1.2 var(--serif); letter-spacing: -.028em; }
#navigation { display: flex; gap: clamp(1.3rem, 2.9vw, 2.6rem); }
#navigation a, .header-contact { font-size: .93rem; font-weight: 600; }
#navigation a:hover, .header-contact:hover { color: var(--wine); }
.header-contact { justify-self: end; padding: .42rem 0; border-bottom: 1px solid var(--wine); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1fr minmax(0, 1.035fr); min-height: 640px; align-items: center; gap: 3%; padding-block: 2.35rem 3.6rem; }
.hero-copy { align-self: center; padding-bottom: 1.1rem; }
.kicker { display: flex; gap: .78rem; align-items: center; color: var(--wine); font-size: .88rem; font-weight: 700; line-height: 1.35; letter-spacing: .105em; text-transform: uppercase; }
.kicker > span { width: 1.7rem; height: 1px; background: currentColor; flex-shrink: 0; }
.hero h1 { margin: 1.32rem 0 1.55rem; font-size: clamp(4.8rem, 8.25vw, 8.8rem); line-height: .94; letter-spacing: -.058em; }
.hero h1 span { color: var(--wine); }
.hero-intro { max-width: 30rem; font-size: clamp(1.06rem, 1.48vw, 1.31rem); color: var(--muted); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.05rem 1.65rem; margin-top: 2.1rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .66rem 1.22rem; border: 1px solid transparent; font-size: .93rem; font-weight: 700; line-height: 1.4; text-align: center; transition: background .18s ease, color .18s ease; }
.primary { background: var(--wine); color: #fff9ed; }
.primary:hover { background: #551527; }
.outline { background: transparent; border-color: currentColor; }
.outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.text-link { border-bottom: 1px solid currentColor; color: var(--wine); font-size: .94rem; font-weight: 700; }
.text-link:hover { color: var(--ink); }

.feature { --feature-gold: #dfc190; display: grid; grid-template-rows: 1fr auto; min-height: 530px; background: #111d2f; color: #f5e7c9; overflow: hidden; }
.feature-art { position: relative; display: grid; place-items: center; isolation: isolate; padding: 2rem 1rem 1.7rem; background: radial-gradient(ellipse at 56% 50%, #293954 0%, #192943 41%, #131f33 72%); }
.feature-art::before, .feature-art::after, .feature-outline { position: absolute; z-index: -1; pointer-events: none; border: 1px solid #d4b78538; }
.feature-outline { width: min(78%, 430px); height: 86%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.feature-art::before, .feature-art::after { content: ''; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; width: min(70%, 360px); aspect-ratio: 1; }
.feature-art::after { width: min(87%, 475px); border-color: #d4b78526; }
.feature-art img { width: clamp(10rem, 19vw, 17rem); height: auto; aspect-ratio: 2/3; object-fit: cover; box-shadow: 14px 17px 25px #0308109e, -4px 2px 2px #090d15; transform: rotate(-4deg); }
.feature-caption { display: flex; align-items: end; justify-content: space-between; gap: .75rem; padding: 1.15rem 1.5rem 1.3rem; border-top: 1px solid #d4b78540; }
.feature-caption .kicker { color: var(--feature-gold); font-size: .83rem; letter-spacing: .095em; }
.feature-caption strong { display: block; font: 400 clamp(1.55rem, 3vw, 2.45rem)/1.12 var(--serif); margin-top: .2rem; letter-spacing: -.04em; }
.feature-status { flex-shrink: 0; font-size: .92rem; font-weight: 600; color: var(--feature-gold); }

.books-section { border-block: 1px solid var(--line); padding: 5rem 0 5.65rem; background: #efe8da; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.4rem; margin-bottom: 2rem; }
.section-heading .kicker { margin-bottom: .68rem; }
.section-heading > p { color: var(--muted); max-width: 19rem; }
.filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.filters button { padding: .52rem .9rem; border: 1px solid #c3b8a3; background: transparent; color: var(--muted); font-size: .89rem; font-weight: 600; }
.filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff9ed; }
.filters button:not([aria-pressed="true"]):hover { border-color: var(--wine); color: var(--wine); }
.series-panel { display: grid; grid-template-columns: 2fr 1fr; align-items: center; min-height: 270px; padding: clamp(1.65rem, 4.6vw, 4rem); gap: 2rem; color: #f9ecd3; background: #17253a; }
.series-panel .kicker { color: var(--gold); margin-bottom: .85rem; }
.series-panel h3 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
.series-panel p:not(.kicker) { max-width: 36rem; margin-top: 1rem; color: #f4e7d3; }
.series-mark { display: grid; justify-self: center; align-self: center; gap: .45rem; width: min(100%, 10.4rem); }
.series-mark div { display: flex; justify-content: center; gap: 5%; }
.series-mark i { width: 17%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 27%, #f2d69d, #bd9353); box-shadow: 0 0 0 1px #6e583a; }
.travel-section { margin-top: 3.4rem; }
.series-panel[hidden] + .travel-section { margin-top: 0; }
.travel-heading { display: flex; align-items: end; gap: .8rem 1.2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.travel-heading h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.travel-heading p { color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.book-open, .photo-card, .project-card { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: transparent; }
.book-image { --tint: #d8cdb7; display: grid; aspect-ratio: .95; place-items: center; overflow: hidden; background: var(--tint); }
[data-tint="cyprus"] { --tint: #dec8a3; }
[data-tint="cyprus"] .book-image { background: #dec8a3; }
[data-tint="moscow"] .book-image { background: #d5c1bd; }
[data-tint="london"] .book-image { background: #bfc9c8; }
[data-tint="monaco"] .book-image { background: #e1c9b1; }
[data-tint="new-york"] .book-image { background: #cad0c3; }
[data-tint="stockholm"] .book-image { background: #ded1b5; }
.book-image img { width: 59%; height: 79%; object-fit: fill; box-shadow: .38rem .48rem .65rem #28251e60; transition: transform .25s ease; }
.book-open:hover img { transform: translateY(-4px); }
.book-place { display: block; color: var(--wine); margin: .67rem 0 .23rem; font-size: .88rem; line-height: 1.2; font-weight: 700; }
.book-title { display: block; font: 500 clamp(1.08rem,1.53vw,1.5rem)/1.15 var(--serif); letter-spacing: -.031em; }
.book-open:hover .book-title, .photo-card:hover .image-title, .project-card:hover .project-title { color: var(--wine); }

.photo-section { padding-block: 5rem 5.15rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.85rem 1.15rem; }
.photo-image, .project-image { display: block; aspect-ratio: 1.42; overflow: hidden; background: var(--paper-deep); }
.photo-image img, .project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-card:hover img, .project-card:hover img { transform: scale(1.035); }
.image-title, .project-title { display: block; margin-top: .62rem; font: 500 clamp(1.2rem, 2.1vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.045em; }
.image-place, .project-type { display: block; margin-top: .22rem; color: var(--muted); font-size: .92rem; }
.more-wrap { margin-top: 1.9rem; }

.projects-section { padding-block: 4.7rem 5rem; background: #ece5d7; border-block: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.project-image { aspect-ratio: 1.6; }

.about-section { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 7vw, 7.3rem); align-items: center; padding-block: 5.15rem; }
.portrait { width: 100%; max-width: 26rem; height: auto; }
.about-copy .kicker { margin-bottom: .95rem; }
.about-copy h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.about-copy p:not(.kicker) { max-width: 37rem; margin: 1.2rem 0 1.25rem; font-size: 1.1rem; color: var(--muted); }

footer { background: #1f1d19; color: #f8f1e1; }
.footer-inner { padding-block: 3.45rem 1.3rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr auto; align-items: end; }
footer .kicker { color: #e0b991; margin-bottom: .6rem; }
footer h2 { font-size: clamp(2.45rem, 4.5vw, 4.1rem); margin-bottom: .62rem; }
footer p:not(.kicker), .footer-bottom { color: #e1d5c2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a { border-bottom: 1px solid #e0b991; }
.footer-bottom { border-top: 1px solid #f2e1c749; grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 1.05rem; margin-top: 1rem; font-size: .85rem; }
.footer-bottom a:hover, .footer-links a:hover { color: #e0b991; }

dialog { width: min(100% - 1.5rem, 58rem); min-width: 0; max-height: 89dvh; margin: auto; padding: 0; color: var(--ink); border: 1px solid #bfb199; background: var(--paper); }
dialog::backdrop { background: #13121bcc; }
body:has(dialog[open]) { overflow: hidden; }
.viewer-inner { padding: clamp(.9rem, 3vw, 1.85rem); }
.close-form { display: flex; justify-content: end; margin-bottom: .65rem; }
.close-form .button { min-height: 43px; }
.viewer-title { font-size: clamp(2rem, 4.7vw, 3.4rem); letter-spacing: -.05em; margin-bottom: .52rem; }
.viewer-book { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 1.65fr); gap: clamp(1rem, 4vw, 2.5rem); align-items: center; padding-bottom: .85rem; }
.viewer-book img { width: 100%; max-height: 410px; object-fit: contain; }
.viewer-book .kicker { margin-bottom: .65rem; }
.viewer-book p:not(.kicker) { margin-bottom: .85rem; }
.viewer-meta { margin: .3rem 0 .9rem; color: var(--muted); }
.viewer-stage { display: grid; place-items: center; background: #e4ddcf; }
.viewer-stage img { max-height: 57dvh; width: auto; height: auto; object-fit: contain; }
.viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: .35rem; margin-top: .75rem; }
.viewer-count { padding-inline: .15rem; font-size: .87rem; text-align: center; }
.viewer-controls button[aria-disabled="true"] { opacity: .45; cursor: default; color: var(--ink); background: transparent; border-color: currentColor; }
.project-intro { margin: .55rem 0 1.35rem; max-width: 42rem; }
.project-entry { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.project-entry h4 { font: 500 1.25rem/1.2 var(--serif); margin: 0 0 .65rem; }
.project-images { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); }
.project-images a { display: grid; place-items: center; background: #e7dfd0; }
.project-images img { max-height: 20rem; object-fit: contain; }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 4rem); }
  .hero { min-height: 0; }
  .hero h1 { font-size: clamp(3.8rem, 8.25vw, 5.4rem); }
  .feature { min-height: 455px; }
  .feature-art img { width: clamp(10rem, 23vw, 15.5rem); }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.55rem 1rem; }
  .book-image { aspect-ratio: 1.15; }
  .book-image img { width: auto; max-width: 76%; }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 2.3rem); }
  .header-inner { min-height: 65px; gap: .7rem; grid-template-columns: 1fr auto auto; }
  .wordmark { font-size: 1.17rem; }
  .menu-toggle { display: block; background: transparent; border: 0; padding: .45rem; font-size: .9rem; font-weight: 700; }
  .header-contact { font-size: .9rem; }
  #navigation { display: none; order: 4; grid-column: 1 / -1; padding-bottom: .75rem; gap: .42rem 1.1rem; flex-wrap: wrap; }
  #navigation a { padding-block: .45rem; }
  #navigation.open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.55rem 2.6rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4.25rem, 12vw, 6.4rem); margin-block: 1rem 1.12rem; }
  .hero-actions { margin-top: 1.4rem; }
  .feature { min-height: 0; }
  .feature-art { min-height: 310px; padding-block: 1.6rem; }
  .feature-art img { width: clamp(9.8rem, 33vw, 13.5rem); }
  .feature-caption { padding: .85rem .9rem .95rem; }
  .feature-status { font-size: .87rem; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 1.4rem; }
  .books-section, .photo-section, .projects-section, .about-section { padding-block: 3.1rem; }
  .travel-section { margin-top: 2.25rem; }
  .series-panel { gap: 1rem; }
  .series-mark { width: min(100%, 6.75rem); gap: .25rem; }
  .photo-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .8rem; }
  .about-section { gap: 1.4rem; }
  .about-copy p:not(.kicker) { font-size: 1rem; }
}
@media (max-width: 465px) {
  .hero h1 { font-size: clamp(3.6rem, 12.6vw, 4.6rem); }
  .hero-actions { column-gap: 1rem; }
  .series-panel { grid-template-columns: 1fr; position: relative; }
  .series-mark { display: none; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-image { aspect-ratio: 1.04; }
  .about-section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .viewer-book { grid-template-columns: 1fr; }
  .viewer-book img { max-height: 225px; }
}
@media (max-width: 360px) {
  .header-inner { gap: .45rem; }
  .wordmark { font-size: 1rem; }
  .menu-toggle { padding-inline: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
