@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/bodoni-moda.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #1b1b1b;
  --paper: #fff;
  --muted: #6b6b68;
  --line: #deded9;
  --blue: #536ca5;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Marker Felt", "Bradley Hand", cursive;
  --display: "Bodoni Moda", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
section { scroll-margin-top: 85px; }
::selection { background: #d3ddff; color: var(--ink); }
:focus-visible { outline: 2px solid #536ca5; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.loader { display: none; }
.js .loader { display: grid; position: fixed; inset: 0; z-index: 99; place-items: center; color: #e8e8e5; background: #080808; transition: opacity .65s ease, visibility .65s ease; pointer-events: none; }
.js .loader.finished { opacity: 0; visibility: hidden; }
.js .loader.short { background: #f7f6f3; color: #565651; transition-duration: .25s; }
.loader-art { display: grid; justify-items: center; gap: 26px; transform: translateY(-8px); }
.bird-track { --bird-size: clamp(150px, 18vw, 200px); position: relative; width: min(88vw, 540px); height: 190px; }
.loader.short .bird-track { --bird-size: 140px; width: min(70vw, 260px); height: 150px; }
.bird-flight { position: absolute; top: 50%; left: 0; width: var(--bird-size); animation: bird-travel 2.8s linear infinite; }
.loader.short .bird-flight { animation: bird-short-travel 1.2s ease-in-out 1 both; }
.bird-shape { animation: bird-fly 1.15s ease-in-out infinite; }
.loader.short .bird-shape { animation: none; transform: translateY(-50%); }
.bird-image, .bird-canvas { width: 100%; height: auto; }
.bird-canvas { display: block; }
.bird-image[hidden], .bird-canvas[hidden] { display: none; }
.loader-art span { font: italic 12px var(--mono); letter-spacing: .45em; }
.loader-dots { animation: dots 1s steps(3, end) infinite; }
.loader.short .loader-dots { animation: none; }
@keyframes bird-travel { 0% { left: 0; opacity: 0; } 12%, 88% { opacity: 1; } 100% { left: calc(100% - var(--bird-size)); opacity: 0; } }
@keyframes bird-short-travel { from { left: 0; } to { left: calc(100% - var(--bird-size)); } }
@keyframes bird-fly { 0%, 100% { transform: translateY(-48%) rotate(-2deg); } 50% { transform: translateY(-55%) rotate(2deg); } }
@keyframes dots { 50% { opacity: .2; } }
.click-bird { position: fixed; z-index: 98; width: 52px; pointer-events: none; animation: click-bird-fly 1s ease-out forwards; }
@keyframes click-bird-fly { 0% { opacity: 0; transform: translate(-50%, -40%) rotate(-12deg) scale(.7); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(60px, -70px) rotate(8deg) scale(1); } }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 4%; }
.wordmark, .footer-name { font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-decoration: none; }
.wordmark { font-size: 23px; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: clamp(16px, 3vw, 40px); }
.site-header nav a { font: 11px var(--sans); text-transform: uppercase; text-decoration: none; letter-spacing: .06em; }
.site-header nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.home-page .site-header { position: relative; }
.inner-page .site-header { position: relative; }

h1, h2, p, figure { margin: 0; }
.home-gallery { position: relative; padding: 0 0 12vw; }
.gallery-name { position: sticky; z-index: 2; top: calc(100svh - clamp(65px, 13vw, 190px)); height: 0; color: var(--ink); font: 400 clamp(56px, 13vw, 190px)/.9 var(--display); letter-spacing: -.045em; text-align: center; pointer-events: none; }
.gallery-featured a, .gallery-works a { display: block; }
.gallery-featured img { width: 100%; height: var(--feature-height, 75svh); object-fit: cover; object-position: var(--feature-focus, center 35%); }
.gallery-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(80px, 13vw, 200px) 12%; align-items: start; padding: clamp(100px, 14vw, 200px) 7% 0; }
.gallery-works figure { width: var(--art-width, 78%); justify-self: var(--art-align, start); }
.gallery-works figure:nth-child(even) { justify-self: var(--art-align, end); margin-top: var(--art-offset, 20%); }
.gallery-works figure:nth-child(4n + 3) { width: var(--art-width, 95%); }
.gallery-works img { width: 100%; height: auto; }
.art-dialog { position: fixed; width: min(920px, 92vw); max-width: none; max-height: 90dvh; padding: clamp(24px, 4vw, 50px); border: 0; background: #f7f6f3; color: var(--ink); overflow: auto; }
.art-dialog::backdrop { background: rgb(18 18 18 / .7); }
.art-dialog-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; color: var(--ink); font: 30px/1 var(--sans); cursor: pointer; }
.art-dialog-content { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 50px); align-items: center; }
.art-dialog-image { width: 100%; max-height: 72dvh; object-fit: contain; }
.art-dialog-details h2 { font: 400 clamp(28px, 3vw, 42px)/1.15 var(--display); }
.art-dialog-meta { margin-top: 18px; color: var(--muted); font: 11px/1.7 var(--mono); }
.art-dialog-details a { display: inline-block; margin-top: 30px; font: 11px var(--mono); text-underline-offset: 4px; }
.intro { min-height: 65svh; display: grid; place-items: center; padding: 100px 7%; }
.intro-main { width: min(100%, 530px); text-align: center; }
.intro h2 { font: normal clamp(25px, 3vw, 43px)/1.2 Georgia, serif; letter-spacing: -.025em; }
.eyebrow { margin: 0 0 22px; font: 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.intro-link { display: inline-block; margin-top: 30px; color: #4a5e87; font: 400 18px var(--display); text-decoration: none; }
.intro-link span:last-child { display: inline-block; margin-left: 5px; font-size: 21px; }
.intro-link:hover { text-decoration: underline; }
.archive-section { background: #f2f1e9; padding: 110px 5% 50px; }
.section-top, .works-heading, .exhibition-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
h2, .inner-page h1 { font: 400 clamp(48px, 6vw, 88px)/1.02 var(--display); letter-spacing: -.03em; }
.heading-dot { color: #687fa8; }
.section-top > p, .works-heading > p, .exhibition-heading > p { font: 14px/1.6 var(--sans); color: var(--muted); }
.folders { height: clamp(400px, 45vw, 610px); display: flex; border: 1px solid #b1b0a7; overflow: hidden; background: #e8e6dc; }
.folder { position: relative; display: flex; flex: 1 1 0; min-width: 0; color: white; text-decoration: none; overflow: hidden; border-left: clamp(18px, 2.4vw, 35px) solid #d5d4ce; transition: flex .55s cubic-bezier(.22, 1, .36, 1); }
.folder:first-child { border-left: 0; }
.folder:hover, .folder:focus-visible { flex-grow: 2.1; }
.folder-image { position: absolute; inset: 0; background-image: linear-gradient(0deg, rgba(0,0,0,.7), transparent 60%), var(--image); background-position: center; background-size: cover; transition: transform .6s ease; }
.folder:hover .folder-image, .folder:focus-visible .folder-image { transform: scale(1.05); }
.folder-tab { position: absolute; top: var(--tab-top); left: 0; z-index: 1; display: grid; place-items: center; width: 39px; min-height: 84px; padding: 16px 0; background: #d5d4ce; color: var(--ink); font: 9px/1.2 var(--mono); white-space: nowrap; clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%); writing-mode: vertical-rl; }
.folder-1 { --tab-top: 11%; }.folder-2 { --tab-top: 23%; }.folder-3 { --tab-top: 35%; }.folder-4 { --tab-top: 47%; }.folder-5 { --tab-top: 59%; }
.folder-label { position: absolute; bottom: 23px; left: 16px; right: 12px; z-index: 1; font: 11px/1.5 var(--mono); letter-spacing: .08em; overflow-wrap: anywhere; text-transform: uppercase; }
.folder-label b { font-weight: normal; }
.archive-foot { display: flex; justify-content: space-between; margin-top: 20px; color: #77776e; font: 9px/1.5 var(--mono); letter-spacing: .08em; }

.section-pad { padding: 110px 7% 135px; }
.inner-page main { min-height: 65vh; }
.back-to-archive { display: inline-block; margin-bottom: 32px; font: 11px var(--sans); text-decoration: none; }
.back-to-archive:hover { text-decoration: underline; text-underline-offset: 4px; }
.chapter-label { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 15px; margin-bottom: 85px; font: 10px/1.5 var(--mono); letter-spacing: .08em; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 7%; align-items: start; }
.about-copy { padding-top: 5px; }
.lead { font: 25px/1.4 Georgia, serif; letter-spacing: -.02em; }
.about-copy > p + p, .story-grid > div > p + p, .figure-grid > div > p + p { margin-top: 24px; color: #64645f; font-size: 15px; line-height: 1.8; }
.artist-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
figcaption { font: 9px/1.5 var(--mono); letter-spacing: .04em; }
.artist-photo figcaption, .figure-grid figcaption { margin-top: 12px; color: var(--muted); }
.text-link { display: inline-flex; gap: 30px; margin-top: 35px; border-bottom: 1px solid; padding-bottom: 8px; font: 11px var(--sans); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.story { background: #e9edf4; }
.story-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 18%; padding-bottom: 45px; }
.figure { background: #fff; }
.figure-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 15%; align-items: center; }
.figure-grid img { width: 100%; max-height: 670px; object-fit: contain; object-position: left; }
.figure-grid .lead { max-width: 370px; margin-top: 30px; }

.works { background: #faf9f6; }
.filters { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.filters[hidden] { display: none; }
.filters button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 14px 0; margin-bottom: -1px; color: var(--muted); cursor: pointer; font: 10px var(--mono); letter-spacing: .08em; }
.filters button.active { color: var(--ink); border-color: var(--ink); }
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 75px 32px; }
.art-frame { display: grid; place-items: center; height: clamp(260px, 33vw, 500px); padding: 20px; background: #fff; }
.art-frame img { max-width: 100%; max-height: 100%; object-fit: contain; }
.art-card figcaption { display: flex; gap: 18px; margin-top: 17px; }
.art-number { color: #92918b; }
.art-card h3 { margin: 0; font: 16px/1.3 var(--sans); }
.art-card figcaption p { margin-top: 6px; color: var(--muted); font: 10px/1.5 var(--mono); }

.exhibitions { background: #f0eee7; }
.exhibition-heading > p { max-width: 220px; }
.exhibition-filters { flex-wrap: wrap; row-gap: 0; }
.exhibition-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.exhibition-columns.single-column { grid-template-columns: minmax(0, 1fr); }
.exhibition-columns h2 { margin: 0 0 20px; font: 10px var(--mono); letter-spacing: .12em; }
.exhibition-year + .exhibition-year { margin-top: 30px; }
.exhibition-year h3 { margin: 0 0 12px; color: #536ca5; font: 18px/1.2 var(--mono); }
.exhibition-row { border-top: 1px solid #c9c8bf; padding: 17px 0; }
.exhibition-row strong { font: 17px/1.2 var(--sans); }
.exhibition-row p { margin-top: 4px; font: 12px/1.5 var(--sans); color: #66655f; }
footer { background: #fff; color: var(--ink); padding: 80px 7% 28px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 40px; align-items: start; }
.footer-name { font-size: clamp(38px, 6vw, 80px); }
footer div { font: 10px/1.7 var(--mono); color: #6b6b65; }
footer a { color: var(--ink); }
.footer-back { display: inline-block; margin-top: 20px; }
.footer-heading { margin-bottom: 12px; }
.footer-contact a { display: block; overflow-wrap: anywhere; }
.footer-contact a + a { margin-top: 6px; }
.footer-contact a::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: middle; background: center / contain no-repeat; }
.footer-contact a[href^="https://wa.me/"]::before { background-image: url("assets/icon-whatsapp.svg"); }
.footer-contact a[href^="mailto:"]::before { background-image: url("assets/icon-email.svg"); }
.footer-contact a[href^="https://www.instagram.com/"]::before { background-image: url("assets/icon-instagram.svg"); }
.language-switch { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.language-switch[hidden] { display: none; }
.language-switch button { padding: 3px 0; border: 0; background: none; color: #777; font: 11px var(--mono); cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font: 9px var(--mono); color: #777; }

@media (max-width: 800px) {
  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .footer-name { grid-column: 1 / -1; }
  .folders { height: 460px; }
  .folder { border-left-width: 16px; }
  .folder-tab { width: 29px; font-size: 9px; }
  .folder-label { left: 8px; font-size: 9px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .artist-photo { grid-column: 2; margin-top: 35px; }
  .story-grid, .figure-grid { gap: 8%; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-frame { height: 44vw; }
}
@media (max-width: 540px) {
  .site-header { padding: 21px 5%; align-items: flex-start; flex-direction: column; gap: 15px; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 8px 12px; }
  .site-header .wordmark { align-self: flex-end; }
  .site-header nav a { font-size: 10px; }
  .gallery-featured img { height: var(--feature-height-mobile, 58svh); }
  .gallery-works { gap: 65px 8%; padding: 80px 4% 0; }
  .gallery-works figure, .gallery-works figure:nth-child(4n + 3) { width: var(--art-width, 100%); }
  .art-dialog-content { grid-template-columns: 1fr; }
  .art-dialog-image { max-height: 50dvh; }
  .intro { min-height: 55svh; padding: 80px 7%; }
  .intro-main { width: min(100%, 340px); }
  .intro h2 { font-size: clamp(25px, 6.7vw, 31px); }
  .intro .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .intro-link { margin-top: 18px; }
  .archive-section, .section-pad { padding-top: 70px; padding-bottom: 75px; }
  .section-top, .works-heading, .exhibition-heading { align-items: start; flex-direction: column; }
  .folders { height: auto; flex-direction: column; }
  .folder, .folder:first-child { flex: none; height: 150px; border: 0; border-top: 12px solid #d5d4ce; }
  .folder:first-child { border-top: 0; }
  .folder:hover, .folder:focus-visible { flex: none; }
  .folder-image { background-position: center 38%; }
  .folder-tab { top: 0; left: 0; width: auto; height: 38px; min-height: 0; padding: 0 24px 0 12px; writing-mode: horizontal-tb; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
  .folder-label { left: 18px; bottom: 15px; font-size: 11px; }
  .archive-foot { gap: 15px; font-size: 8px; }
  .chapter-label { margin-bottom: 55px; }
  .about-grid, .story-grid, .figure-grid, .exhibition-columns { grid-template-columns: 1fr; gap: 35px; }
  .artist-photo { grid-column: auto; margin: 0; max-width: 330px; }
  .figure-grid img { max-height: 450px; }
  .art-grid { gap: 36px 12px; }
  .art-frame { height: 53vw; padding: 8px; }
  .art-card figcaption { gap: 8px; }
  .art-card h3 { font-size: 15px; }
  .art-card figcaption p { font-size: 9px; }
  .filters { gap: 22px; }
  footer { grid-template-columns: 1fr; gap: 35px; }
  .footer-name { grid-column: auto; }
  footer small { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
