/* ============ Base ============ */
:root {
  --bg: #f4f2ee;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #8a8580;
  --line: #e2ded7;
  --accent: #ff4b1f;
  --blue: #2440ff;
  --dark: #0f0f10;
  --display: "Syne", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(1rem, 4vw, 3.5rem);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h2 sup { font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); vertical-align: top; margin-left: .3rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.kicker { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 99px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-line-light { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-line-light:hover { border-color: #fff; }

/* ============ Navigation ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem var(--pad);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: .7rem; padding-bottom: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { width: 2.5rem; height: 2.5rem; transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.footer-logo { background: var(--dark); display: flex; justify-content: center; padding: 1rem var(--pad) clamp(3rem, 6vw, 5rem); }
.footer-logo img { width: clamp(150px, 18vw, 230px); height: auto; opacity: .92; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(.8rem, 2.5vw, 2rem); font-size: .9rem; font-weight: 500; }
.nav-links a:not(.pill) { position: relative; }
.nav-links a:not(.pill)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.pill { background: var(--ink); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; transition: background .3s; }
.pill:hover { background: var(--accent); }

/* ============ Hero ============ */
.hero { padding: clamp(7rem, 16vh, 10rem) var(--pad) clamp(2.5rem, 6vw, 4rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.hero-title { font-size: clamp(2.3rem, 10.6vw, 12.5rem); font-weight: 800; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.hero-title .line { display: block; }
.hero-title .indent { padding-left: clamp(1.5rem, 11vw, 12rem); }
/* Name filled with a painting (set ARTIST.nameArt in paintings.js) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title.painted {
    background-image: var(--name-art);
    background-size: 115% auto;
    background-position: 50% 40%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: namePan 22s ease-in-out infinite alternate;
  }
}
@keyframes namePan {
  from { background-position: 0% 30%; }
  to   { background-position: 100% 70%; }
}
.hero-bottom {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2rem; align-items: end;
  margin-top: clamp(2rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.35; max-width: 26ch; font-weight: 400; }
.highlights { list-style: none; display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--ink-2); }
.highlights li::before { content: "✦"; color: var(--accent); margin-right: .55rem; font-size: .75rem; }
.hero-cta { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ============ Marquee ============ */
.marquee { overflow: hidden; padding: 1rem 0 clamp(3rem, 8vw, 6rem); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: scroll 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  height: clamp(200px, 32vw, 380px); flex: none; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; background: var(--line); border: 0; padding: 0;
}
.marquee-item img { height: 100%; width: auto; transition: transform .8s var(--ease); }
.marquee-item:hover img { transform: scale(1.04); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Section heads ============ */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ============ Works grid ============ */
.works { padding: clamp(3rem, 7vw, 6rem) var(--pad); background: var(--paper); border-radius: 28px 28px 0 0; }
.filters { display: flex; gap: .35rem; padding: .3rem; background: var(--bg); border-radius: 999px; }
.filters button {
  border: 0; background: none; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  font-size: .85rem; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s;
}
.filters button[aria-selected="true"] { background: var(--ink); color: #fff; }
.filters button .n { opacity: .55; margin-left: .3rem; font-size: .75rem; }

.grid { columns: 3 300px; column-gap: clamp(1rem, 2.5vw, 2rem); }
.card { break-inside: avoid; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); cursor: zoom-in; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.card-media img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.view-chip, .wall-chip {
  position: absolute; bottom: .9rem; z-index: 1;
  font-size: .76rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px;
}
.view-chip {
  right: .9rem; background: #fff; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.card:hover .view-chip, .card:focus-visible .view-chip { opacity: 1; transform: none; }
.wall-chip {
  left: .9rem; border: 0; cursor: pointer; background: rgba(17,17,17,.78); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s;
}
.wall-chip:hover { background: var(--accent); }
.tag {
  position: absolute; left: .9rem; top: .9rem; z-index: 1;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink);
}
.tag.sold { background: var(--ink); color: #fff; }
.tag.award { background: var(--accent); color: #fff; }
.card-info { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: baseline; padding-top: .9rem; }
.card-num { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 600; }
.card-price { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-price.sold { color: var(--muted); font-weight: 500; }
.card-meta { grid-column: 2 / -1; font-size: .82rem; color: var(--muted); }

/* placeholder for works without a photo */
.art.placeholder svg { width: 100%; height: 100%; display: block; }

/* ============ Statement ============ */
.statement { background: var(--paper); padding: clamp(3rem, 8vw, 7rem) var(--pad) clamp(4rem, 10vw, 9rem); }
.statement p {
  font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.05;
  font-size: clamp(2rem, 6vw, 5.2rem); max-width: 18ch;
}
.statement p em { font-style: normal; color: var(--accent); }

/* ============ About ============ */
.about {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
}
.about.no-img { grid-template-columns: 1fr; max-width: 900px; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text h2 { margin-bottom: 1.8rem; }
.about-text p { color: var(--ink-2); margin-bottom: 1.1rem; max-width: 58ch; font-size: 1.02rem; }
.about-text p:first-child { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.45; }

/* ============ Studio ============ */
.studio { padding: 0 0 clamp(4rem, 9vw, 8rem); }
.studio .section-head { padding: 0 var(--pad); }
.studio-strip {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 1rem; scrollbar-width: thin;
}
.studio-strip img {
  flex: none; height: clamp(240px, 36vw, 440px); width: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); scroll-snap-align: start;
}

/* ============ Exhibitions ============ */
.exhibitions { background: var(--dark); color: #f4f2ee; padding: clamp(4rem, 9vw, 8rem) var(--pad); border-radius: 28px 28px 0 0; }
.exhibitions .kicker { color: #8f8a84; }
.ex-list { list-style: none; border-top: 1px solid #2b2b2d; }
.ex-list li {
  display: grid; grid-template-columns: 7rem 1.3fr 1fr; gap: 1.5rem; align-items: baseline;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) 0; border-bottom: 1px solid #2b2b2d;
  transition: padding .4s var(--ease), color .3s;
}
.ex-list li:hover { padding-left: .8rem; }
.ex-year { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: 1.1rem; }
.ex-title { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.ex-place { color: #a7a29b; font-size: .92rem; }
.ex-place span { display: block; color: #6f6b66; font-size: .82rem; margin-top: .2rem; }

/* ============ Contact ============ */
.contact { background: var(--dark); color: #f4f2ee; padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(4rem, 9vw, 8rem); text-align: left; border-top: 1px solid #2b2b2d; }
.contact .kicker { color: #8f8a84; }
.contact-big {
  display: inline-flex; align-items: flex-start; gap: .1em;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(2.1rem, 9.5vw, 11rem); transition: color .35s;
  max-width: 100%; flex-wrap: wrap; overflow-wrap: anywhere;
}
.contact-big .arrow { font-size: .45em; transition: transform .45s var(--ease); }
.contact-big:hover { color: var(--accent); }
.contact-big:hover .arrow { transform: translate(.12em, -.12em); }
.contact-mail { margin-top: 1.5rem; font-size: 1.05rem; color: #c9c4bd; }
.social { margin-top: 1.2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; }
.social a { border-bottom: 1px solid #555; padding-bottom: 2px; transition: border-color .3s, color .3s; }
.social a:hover { color: var(--accent); border-color: var(--accent); }

.footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem var(--pad); background: var(--dark); color: #77726c; font-size: .8rem; border-top: 1px solid #2b2b2d;
}
.footer a:hover { color: #fff; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #0b0b0c; color: #f4f2ee;
  display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto 1fr;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--pad); font-size: .85rem; }
.lb-count { font-variant-numeric: tabular-nums; color: #8f8a84; }
.lb-close { background: none; border: 1px solid #333; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; transition: border-color .3s; }
.lb-close:hover { border-color: #fff; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 4.5rem 2rem; min-height: 0; }
.lb-image { height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-image img { max-height: calc(100vh - 7rem); max-width: 100%; object-fit: contain; border-radius: 6px; animation: lbIn .45s var(--ease); }
.lb-image .art.placeholder { width: min(60vh, 100%); aspect-ratio: 4/5; }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid #333; background: none; cursor: pointer;
  font-size: 1.1rem; transition: background .3s, border-color .3s;
}
.lb-nav:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-info { padding: 1rem var(--pad) 2rem 0; display: flex; flex-direction: column; justify-content: center; }
.lb-info .kicker { color: var(--accent); }
.lb-info h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.lb-meta { color: #a7a29b; font-size: .92rem; line-height: 1.7; margin-bottom: 1.4rem; }
.lb-status { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.6rem; }
.lb-actions { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; }
.lb-actions .btn { justify-content: center; }

/* ============ Language & currency ============ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.lang-select select, .cur-select select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .7rem center;
  color: var(--ink); border-radius: 999px; padding: .5rem 1.8rem .5rem .9rem;
}
.lang-select select:hover, .cur-select select:hover { border-color: var(--ink); }
.works-tools { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.cur-select { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); }
.ship-note { font-size: .85rem; color: var(--ink-2); margin: -1rem 0 clamp(1.8rem, 3vw, 2.5rem); max-width: 80ch; }
.ship-note span[aria-hidden] { color: var(--accent); margin-right: .3rem; }
.ship-note .muted { display: block; margin-top: .2rem; font-size: .78rem; }

/* ============ WhatsApp ============ */
.wa-ico {
  display: inline-block; width: 1.25em; height: 1.25em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2a9.8 9.8 0 0 0-8.5 14.7L2.2 21.8l5-1.3A9.8 9.8 0 1 0 12 2.2zm0 1.8a8 8 0 1 1-4.1 14.9l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4z'/%3E%3Cpath d='M9.1 7.3c-.2-.4-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s1 2.6 1.1 2.7c.1.2 1.9 3 4.7 4.1 2.3.9 2.8.7 3.3.7.5-.1 1.6-.7 1.8-1.3.2-.6.2-1.2.2-1.3-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.6.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.4-2.2-1.4-.8-.7-1.4-1.6-1.5-1.9-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2a9.8 9.8 0 0 0-8.5 14.7L2.2 21.8l5-1.3A9.8 9.8 0 1 0 12 2.2zm0 1.8a8 8 0 1 1-4.1 14.9l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4z'/%3E%3Cpath d='M9.1 7.3c-.2-.4-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s1 2.6 1.1 2.7c.1.2 1.9 3 4.7 4.1 2.3.9 2.8.7 3.3.7.5-.1 1.6-.7 1.8-1.3.2-.6.2-1.2.2-1.3-.1-.1-.3-.2-.6-.3l-1.9-.9c-.3-.1-.5-.1-.6.1l-.9 1.1c-.2.2-.3.2-.6.1-.3-.1-1.2-.4-2.2-1.4-.8-.7-1.4-1.6-1.5-1.9-.2-.3 0-.4.1-.6l.4-.5.3-.5c.1-.2 0-.4 0-.5l-.9-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-wa { background: #25d366; color: #0b2e17; font-weight: 600; }
.btn-wa:hover { background: #1fbd5a; }
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 60;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.55rem;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.show-welcome .wa-float { display: none; }
.contact-ways { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.contact-ship { margin-top: 1.6rem; max-width: 62ch; font-size: .9rem; color: #a7a29b; }

/* ============ Lightbox: views & room ============ */
.lb-views { display: flex; gap: .3rem; padding: .25rem; background: #1a1a1c; border-radius: 999px; overflow-x: auto; max-width: 60vw; }
.lb-views button {
  border: 0; background: none; color: #bdb7af; padding: .45rem .95rem; border-radius: 999px; cursor: pointer;
  font-size: .8rem; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s;
}
.lb-views button[aria-selected="true"] { background: #fff; color: var(--ink); }
.lb-image.is-room { align-items: center; }
.room-fig { width: 100%; max-width: calc((100vh - 9rem) * 1.4); display: flex; flex-direction: column; gap: .6rem; animation: lbIn .45s var(--ease); }
.room-fig .room { width: 100%; height: auto; border-radius: 10px; display: block; }
.room-fig figcaption { font-size: .78rem; color: #8f8a84; text-align: center; }
.lb-ship { margin-top: 1.2rem; font-size: .8rem; line-height: 1.55; color: #8f8a84; }

/* ============ Welcome screen ============ */
.welcome { display: none; }
.show-welcome .welcome {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); text-align: center; padding: 2rem 1.2rem; overflow-y: auto; overflow-x: hidden;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.welcome.leaving { transform: translateY(-100%); opacity: .4; }
.welcome-lock body { overflow: hidden; }
.welcome-inner { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 640px; }
.welcome-logo { width: clamp(130px, 22vw, 200px); height: auto; margin-bottom: 2rem; animation: wIn 1.1s var(--ease) both; }
.welcome-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(2.2rem, 8.6vw, 6.5rem); min-height: 1em; max-width: 100%; animation: wIn 1.1s .15s var(--ease) both;
}
.welcome-title span { display: inline-block; }
.welcome-title .swap { animation: wordSwap .6s var(--ease); }
.welcome-words { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; animation: wIn 1.1s .25s var(--ease) both; }
.welcome-sub { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--ink-2); margin-top: 1.6rem; animation: wIn 1.1s .35s var(--ease) both; }
.welcome-choose { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 2.2rem 0 .8rem; animation: wIn 1.1s .45s var(--ease) both; }
.welcome-langs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; animation: wIn 1.1s .5s var(--ease) both; }
.wl-btn {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .7rem 1.3rem;
  font-size: .95rem; font-weight: 500; cursor: pointer; transition: border-color .3s, background .3s, color .3s;
}
.wl-btn:hover { border-color: var(--ink); }
.wl-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.welcome-enter { margin-top: 1.6rem; animation: wIn 1.1s .6s var(--ease) both; }
@keyframes wIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes wordSwap { from { opacity: 0; transform: translateY(.25em); } }

/* ============ Reveal on scroll ============ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .card.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .hero-title.painted { animation: none; }
  .js .reveal, .js .card { opacity: 1; transform: none; transition: none; }
  .welcome *, .show-welcome .welcome { animation: none !important; transition: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-cta { grid-column: 1 / -1; }
  .lightbox { display: flex; flex-direction: column; overflow-y: auto; }
  .lb-top { flex: none; }
  .lb-stage { flex: none; min-height: 40vh; padding: 0 var(--pad); }
  .lb-image img { max-height: 62vh; }
  .room-fig { max-width: 100%; }
  .lb-nav { background: rgba(11,11,12,.6); border-color: #444; }
  .lb-prev { left: calc(var(--pad) + .4rem); } .lb-next { right: calc(var(--pad) + .4rem); }
  .lb-info { flex: none; padding: 1.6rem var(--pad) 2.5rem; }
}
@media (max-width: 760px) {
  .nav-links a:not(.pill) { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.4rem; }
  .about { grid-template-columns: 1fr; }
  .ex-list li { grid-template-columns: 1fr; gap: .3rem; }
  .works, .exhibitions { border-radius: 20px 20px 0 0; }
  .filters { width: 100%; overflow-x: auto; }
}
@media (max-width: 760px) {
  .lb-top { flex-wrap: wrap; gap: .6rem; }
  .lb-views { order: 3; max-width: 100%; width: 100%; }
}
@media (max-width: 420px) {
  .brand-name { font-size: .92rem; }
  .brand-logo { width: 2.1rem; height: 2.1rem; }
  .pill { padding: .5rem .85rem; font-size: .82rem; }
  .lang-select select { padding: .45rem 1.5rem .45rem .7rem; background-position: right .5rem center; }
}
