/* Robert Walsh · Painting and digital art
   Direction: the name as a monument. Near-black warm ground from his canvases,
   warm ivory ink, one vermilion accent from the paint drips. One family,
   General Sans, set enormous against plain text. Surfaces separate by tone,
   never by lines. Motion: studio 21st system, ease-luxe. */

@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0E1A1D;
  --bg2: #14262A;
  --card: #1B3237;
  --text: #F1EEE6;
  --text-l: #A9B8B6;
  --accent: #D9532F;
  --accent-ink: #F1EEE6;
  --inverse-bg: #D9532F;
  --inverse-ink: #F1EEE6;
  --body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --display: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);
  --g: clamp(1.1rem, 3.4vw, 2.4rem);
  --section-gap: clamp(5rem, 11vw, 9rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: var(--text); }

.wrap { max-width: 1600px; margin-inline: auto; padding-inline: var(--g); }

/* ---------- Motion system (21st-derived) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-luxe), transform .7s var(--ease-luxe);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-scale { transform: translateY(20px) scale(0.97); }

.section-title .w, .giant-title .w {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: opacity .45s ease-out, filter .45s ease-out, transform .45s ease-out;
  transition-delay: calc(var(--wi, 0) * 90ms);
}
.is-visible .section-title .w, .section-title.is-visible .w,
.is-visible .giant-title .w, .giant-title.is-visible .w { opacity: 1; filter: none; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--g);
  transition: background .45s var(--ease-luxe), padding .45s var(--ease-luxe);
}
.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--text);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-l);
  position: relative;
  padding-block: .25rem;
  transition: color .35s var(--ease-luxe);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-luxe);
}
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav.scrolled {
  background: rgba(14, 26, 29, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding-block: .8rem;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 48px; height: 48px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-hamburger svg { display: block; }
body.menu-open .nav-hamburger { opacity: 0; pointer-events: none; visibility: hidden; }

.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--g);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-luxe), visibility .4s;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text) !important;
  padding-block: .4rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-luxe), transform .5s var(--ease-luxe);
}
.nav-mobile.open a { opacity: 1; transform: none; }
.nav-mobile.open a:nth-child(2) { transition-delay: 60ms; }
.nav-mobile.open a:nth-child(3) { transition-delay: 120ms; }
.nav-mobile.open a:nth-child(4) { transition-delay: 180ms; }
.nav-mobile.open a:nth-child(5) { transition-delay: 240ms; }
.nav-close {
  position: absolute;
  top: 1.1rem;
  right: var(--g);
  width: 48px; height: 48px;
  background: none;
  border: none;
  color: var(--text);
  z-index: 10002;
  -webkit-tap-highlight-color: rgba(0,0,0,.1);
  touch-action: manipulation;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ---------- Hero: full-bleed painting, the name as a monument ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-bg img { animation: kenburns 16s var(--ease-luxe) both; }
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* neutral scrim under the monument text, the one gradient exception */
  background: linear-gradient(to bottom, rgba(14,26,29,.55) 0%, rgba(14,26,29,0) 38%, rgba(14,26,29,.18) 58%, rgba(14,26,29,.9) 100%); /* taste-skill-ignore */
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--g) clamp(1rem, 3vh, 2rem);
}
.hero-statement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: clamp(1.2rem, 3vh, 2rem);
  max-width: 100%;
}
.hero-statement p {
  font-size: clamp(1.1875rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--text);
  max-width: 30rem;
  line-height: 1.45;
}
.hero-title {
  font-size: clamp(4.2rem, 16.5vw, 14.5rem);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-left: -0.05em;
}
.hero-title .line { display: block; overflow: hidden; padding-top: .04em; }
.hero-title .line > span { display: inline-block; will-change: transform; }
.hero-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-luxe) var(--d, .45s), transform .7s var(--ease-luxe) var(--d, .45s);
}
.hero-fade.on { opacity: 1; transform: none; }
.hero-scroll {
  position: absolute;
  top: 50%;
  right: var(--g);
  z-index: 2;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  opacity: 0;
  animation: heroScrollIn 1s var(--ease-luxe) 2.1s forwards;
}
@keyframes heroScrollIn { to { opacity: .85; } }
.hero-scroll svg { animation: scrollNudge 2.6s ease-in-out infinite; }
@keyframes scrollNudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.9rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  text-align: center;
  transition: background .4s var(--ease-luxe), color .4s var(--ease-luxe), transform .4s var(--ease-luxe);
}
.btn svg { flex: 0 0 auto; }
.btn.ghost { background: var(--card); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); background: #E8643F; }
  .btn.ghost:hover { background: var(--text); color: var(--bg); }
}
.btn:active { transform: scale(.985); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); }
.section.alt { background: var(--bg2); }
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 1.1rem;
}
.giant-title {
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -0.025em;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.title-row .side-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
}
.section-sub { color: var(--text-l); max-width: 56ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); font-size: 1.0625rem; }

/* ---------- Uneven wall of works ---------- */
.wall {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(.9rem, 2vw, 1.4rem);
}
.wall-item {
  display: block;
  min-width: 0;
  flex-grow: 1;
  transition: transform .5s var(--ease-luxe);
}
.wall-item:nth-child(5n+1) { flex-basis: 46%; }
.wall-item:nth-child(5n+2) { flex-basis: 38%; }
.wall-item:nth-child(5n+3), .wall-item:nth-child(5n+4), .wall-item:nth-child(5n+5) { flex-basis: 27%; }
.wall-figure { overflow: hidden; background: var(--bg2); }
.wall-figure img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease-luxe);
}
@media (hover: hover) and (pointer: fine) {
  .wall-item:hover { transform: translateY(-4px); }
  .wall-item:hover .wall-figure img { transform: scale(1.04); }
}
.wall-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  padding: .7rem .1rem 0;
  font-size: 1rem;
  min-width: 0;
  flex-wrap: wrap;
}
.wall-caption .t { overflow-wrap: break-word; min-width: 0; }
.wall-caption .t { font-weight: 600; color: var(--text); }
.wall-caption .y { color: var(--text-l); white-space: nowrap; }
.wall-status {
  font-size: .875rem;
  color: var(--text-l);
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-top: .15rem;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: dotPulse 2.6s ease-out infinite;
}
@keyframes dotPulse {
  0% { transform: scale(.5); opacity: .7; }
  70%, 100% { transform: scale(1.2); opacity: 0; }
}
.status-dot.sold { background: #9C6B5E; }
.status-dot.sold::after { border-color: #9C6B5E; }
.status-dot.reserved { background: #C2A24A; }
.status-dot.reserved::after { border-color: #C2A24A; }
@media (max-width: 700px) {
  .wall { gap: .7rem; }
  .wall-item:nth-child(5n+1) { flex-basis: 100%; }
  .wall-item:nth-child(5n+2) { flex-basis: 54%; }
  .wall-item:nth-child(5n+3) { flex-basis: 38%; }
  .wall-item:nth-child(5n+4) { flex-basis: 38%; }
  .wall-item:nth-child(5n+5) { flex-basis: 54%; }
}

/* ---------- Marquee ---------- */
.marquee-section {
  padding-block: clamp(1.6rem, 4vw, 2.8rem);
  overflow: hidden;
  background: var(--bg2);
}
.marquee { display: flex; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  white-space: nowrap;
  padding-right: clamp(2rem, 5vw, 4rem);
  animation: marquee 44s linear infinite;
}
.marquee-track span {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.4vw, 1.25rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.marquee-track .dot { color: var(--accent); display: flex; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About: side facts, wide paragraph ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.facts-list { display: flex; flex-direction: column; gap: 1.3rem; }
.fact .k { font-size: .875rem; color: var(--text-l); }
.fact .v { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin-top: .1rem; }
.statement {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.42;
  font-weight: 500;
  color: var(--text);
  max-width: 46ch;
}
.statement + .statement { margin-top: 1.3rem; }
.about-media { overflow: hidden; }
.about-media img { width: 100%; transition: transform 1.1s var(--ease-luxe); }
@media (hover: hover) and (pointer: fine) {
  .about-media:hover img { transform: scale(1.04); }
}

.stats-row {
  display: flex;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.stat-num {
  font-size: clamp(2rem, 2.78vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
}
.stat-label { font-size: .875rem; color: var(--text-l); margin-top: .25rem; }

/* ---------- Quotes ---------- */
.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}
.quote-row.rev { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.quote-row.rev .quote-media { order: 2; }
.quote-media { overflow: hidden; max-width: 340px; justify-self: center; }
.quote-media img { width: 100%; transition: transform 1.1s var(--ease-luxe); }
@media (hover: hover) and (pointer: fine) {
  .quote-media:hover img { transform: scale(1.04); }
}
@media (max-width: 700px) {
  .quote-row, .quote-row.rev { grid-template-columns: 1fr; }
  .quote-row.rev .quote-media { order: 0; }
  .quote-media { max-width: 240px; justify-self: start; }
}

.quote-block {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.42;
  color: var(--text);
  background: var(--bg2);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  max-width: 54ch;
}
.quote-block cite { display: block; font-style: normal; font-weight: 400; font-size: .875rem; color: var(--text-l); margin-top: .9rem; }

/* ---------- Shows: filled bar rows ---------- */
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar {
  background: var(--bg2);
  color: var(--text);
}
.bar summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: .9rem 1.2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .35s var(--ease-luxe);
}
.bar summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) {
  .bar summary:hover { background: var(--card); }
}
.bar summary .bar-date { margin-left: auto; color: var(--text-l); font-weight: 400; font-size: 1rem; white-space: nowrap; }
.bar summary svg { flex: 0 0 auto; transition: transform .4s var(--ease-luxe); color: var(--accent); }
.bar[open] summary svg { transform: rotate(45deg); }
.bar-body { padding: 0 1.2rem 1.2rem; color: var(--text-l); font-size: 1rem; max-width: 60ch; }
.bar-body strong { color: var(--text); font-weight: 600; }

/* ---------- Contact: address in display rows ---------- */
.row-stack { display: flex; flex-direction: column; }
.d-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.3rem, 3.4vw, 2.2rem) var(--g);
  font-size: clamp(1.5rem, 2.78vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
.d-row:nth-child(even) { background: var(--bg2); }
a.d-row { transition: background .35s var(--ease-luxe), color .35s var(--ease-luxe); }
@media (hover: hover) and (pointer: fine) {
  a.d-row:hover { background: var(--card); color: var(--accent); }
}
.d-row.d-action {
  background: var(--text);
  color: var(--bg);
}
.d-row.d-action .arrow-dot {
  width: clamp(48px, 7vw, 72px);
  height: clamp(48px, 7vw, 72px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform .4s var(--ease-luxe);
}
@media (hover: hover) and (pointer: fine) {
  .d-row.d-action:hover .arrow-dot { transform: translateX(6px); }
}
.rows-bleed { margin-inline: calc(var(--g) * -1); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-l);
  margin-bottom: .4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: none;
  background: var(--bg2);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--text);
  transition: background .35s var(--ease-luxe), box-shadow .35s var(--ease-luxe);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--card);
  box-shadow: 0 0 0 2px var(--accent); /* taste-skill-ignore: focus state feedback */
}
.form-success {
  display: none;
  padding: 1.1rem 1.3rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer: the name returns, inverted ---------- */
footer {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 1.6rem;
}
.footer-monument {
  font-size: clamp(3rem, 12.5vw, 11rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--inverse-ink);
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  word-break: keep-all;
}
footer .footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: baseline;
}
footer .footer-name { font-weight: 700; font-size: 1rem; color: var(--inverse-ink); }
footer .footer-tag { font-size: .875rem; color: var(--inverse-ink); margin-top: .3rem; }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { color: var(--inverse-ink); font-size: .875rem; font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { color: #0E1A1D; }
}
.footer-bottom {
  margin-top: 2.2rem;
  font-size: .875rem;
  color: var(--inverse-ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--inverse-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: calc(clamp(3.2rem, 7vw, 5rem) + 3.5rem) clamp(2rem, 4.5vw, 3.4rem); }
.page-head p { color: var(--text-l); max-width: 56ch; margin-top: 1.2rem; font-size: 1.1875rem; }

/* ---------- Work detail ---------- */
.work-head { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.work-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); text-transform: uppercase; letter-spacing: -0.02em; }
.work-head .work-sub { color: var(--text-l); margin-top: .6rem; font-size: 1.1875rem; }
.more-section { margin-top: clamp(3rem, 7vw, 5rem); }

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .work-layout { grid-template-columns: 1fr; } }
.work-figure {
  position: relative;
  background: var(--bg2);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  cursor: zoom-in;
}
.work-figure img { width: 100%; }
.zoom-hint {
  position: absolute;
  right: .9rem; top: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(14, 26, 29, .82);
  padding: .4rem .75rem;
  pointer-events: none;
}
.work-meta h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.02em; }
.work-meta .work-sub { color: var(--text-l); margin-top: .5rem; font-size: 1rem; }
.meta-table { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 5px; }
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  background: var(--bg2);
  font-size: 1rem;
}
.meta-row dt { color: var(--text-l); }
.meta-row dd { text-align: right; font-weight: 600; }
.work-price {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
  color: var(--text);
}
.badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  padding: .5rem .85rem;
}
.badge svg { flex: 0 0 auto; color: var(--accent); }
.badge.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(243,242,240,.26), transparent); /* taste-skill-ignore */
  animation: badgeShine 4.5s ease-in-out infinite;
}
@keyframes badgeShine {
  0%, 55% { transform: translateX(-130%) skewX(-20deg); }
  80%, 100% { transform: translateX(130%) skewX(-20deg); }
}
.work-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.work-desc {
  margin-top: 1.8rem;
  color: var(--text);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  background: var(--bg2);
  padding: 1.3rem 1.4rem;
}
.work-desc cite { display: block; font-style: normal; font-weight: 400; font-size: .875rem; color: var(--text-l); margin-top: .7rem; }

/* ---------- View in Room ---------- */
.room-section { margin-top: clamp(3rem, 7vw, 5rem); }
.room-scene {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  aspect-ratio: 8/5;
  margin-bottom: 1.2rem;
}
.room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.room-painting-wrap {
  position: absolute;
  box-shadow: 0 14px 38px rgba(0,0,0,.42), 0 4px 12px rgba(0,0,0,.28); /* taste-skill-ignore: the painting hangs on a photographed wall */
  transition: padding .35s ease, background .35s ease;
  background: transparent;
  padding: 0;
}
.room-painting-wrap img { width: 100%; height: 100%; display: block; object-fit: fill; }
.room-painting-wrap.frame-dark,
.room-painting-wrap.frame-wood,
.room-painting-wrap.frame-gold,
.room-painting-wrap.frame-white {
  box-shadow: 0 14px 38px rgba(0,0,0,.42), 0 4px 12px rgba(0,0,0,.28), inset 0 0 0 .5px rgba(0,0,0,.35), inset 1px 1px 1px rgba(255,255,255,.28), inset -1px -1px 1px rgba(0,0,0,.3); /* taste-skill-ignore: physical frame depth */
}
.room-painting-wrap.frame-dark  { padding: .36%;  background: linear-gradient(135deg, #3a2f26, #1a120c 60%, #0d0805); } /* taste-skill-ignore: wood moulding */
.room-painting-wrap.frame-wood  { padding: .42%; background: linear-gradient(135deg, #8a6038, #4a3018 60%, #2a1a0c); } /* taste-skill-ignore: wood moulding */
.room-painting-wrap.frame-gold  { padding: .4%; background: linear-gradient(135deg, #f0d27a, #c2962f 50%, #8a6312); } /* taste-skill-ignore: gold moulding */
.room-painting-wrap.frame-white { padding: .34%;  background: linear-gradient(135deg, #ffffff, #ece6db); } /* taste-skill-ignore: white moulding */

.room-thumbs { display: flex; gap: .7rem; flex-wrap: wrap; }
.room-thumb {
  width: 92px;
  height: 58px;
  background-size: cover;
  background-position: center;
  opacity: .6;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity .3s var(--ease-luxe), transform .3s var(--ease-luxe), box-shadow .3s var(--ease-luxe);
}
.room-thumb.active { opacity: 1; box-shadow: 0 0 0 2px var(--accent); } /* taste-skill-ignore: active selection ring */
@media (hover: hover) and (pointer: fine) {
  .room-thumb:hover { opacity: 1; transform: translateY(-2px); }
}

.frame-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.frame-btn {
  padding: .65rem 1.1rem;
  font-size: .875rem;
  font-weight: 500;
  border: none;
  background: var(--bg2);
  color: var(--text-l);
  cursor: pointer;
  transition: background .3s var(--ease-luxe), color .3s var(--ease-luxe);
}
.frame-btn.active { background: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .frame-btn:hover { background: var(--card); color: var(--text); }
  .frame-btn.active:hover { background: var(--text); color: var(--bg); }
}
.ar-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.4rem; align-items: center; }
.ar-note { font-size: .875rem; color: var(--text-l); max-width: 44ch; }

/* ---------- Prev / next ---------- */
.prev-next-nav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.prev-next-nav .btn { flex: 0 0 auto; }
@media (max-width: 768px) {
  .prev-next-nav { gap: .6rem; }
  .prev-next-nav .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: .85rem .5rem;
    font-size: .8125rem;
    letter-spacing: 0;
    white-space: normal;
  }
}

/* ---------- Lightbox (deep zoom) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(7, 14, 16, .96);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 48px; height: 48px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.lightbox-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 0; right: 0;
  margin-inline: auto;
  width: fit-content;
  color: rgba(243,242,240,.7);
  font-size: .875rem;
}

/* ---------- QR modal ---------- */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(7, 14, 16, .82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.qr-modal.open { display: flex; }
.qr-card {
  background: var(--card);
  padding: 2rem;
  max-width: 380px;
  text-align: center;
}
.qr-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.qr-card p { font-size: .875rem; color: var(--text-l); margin-bottom: 1.2rem; }
.qr-card .qr-box { display: flex; justify-content: center; margin-bottom: 1.2rem; }
.qr-card .qr-box svg, .qr-card .qr-box img { width: 180px; height: 180px; background: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 10000;
  background: var(--card);
  color: var(--text);
  padding: 1.1rem 1.3rem;
  max-width: 520px;
  margin-inline: auto;
  display: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(110%);
  transition: transform .6s var(--ease-luxe);
}
.cookie-banner.show { display: flex; transform: translateY(0); }
.cookie-banner p { font-size: .875rem; color: var(--text); flex: 1 1 240px; }
.cookie-banner p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .btn { padding: .6rem 1.2rem; font-size: .8rem; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.legal-body p, .legal-body li { color: var(--text-l); }
.legal-body ul { padding-left: 1.3rem; margin-top: .6rem; }
.legal-body p + p { margin-top: .8rem; }
.legal-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.nf-wrap { min-height: 70vh; min-height: 70svh; display: flex; align-items: center; }
.nf-inner h1 { font-size: clamp(3.4rem, 12vw, 8rem); text-transform: uppercase; }
.nf-inner p { color: var(--text-l); margin: 1rem 0 1.6rem; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .room-thumb { width: 74px; height: 47px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .section-title .w, .giant-title .w { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .hero-title .line > span { transform: none !important; transition: none !important; }
  .hero-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg img { animation: none !important; }
  .hero-scroll { animation: none !important; opacity: 1; }
  .hero-scroll svg { animation: none !important; }
  .status-dot::after { animation: none !important; }
  .badge.shine::after { animation: none !important; display: none; }
  .marquee-section { display: none; }
  .marquee-track { animation: none !important; }
  .nav-mobile:not(.open) { display: none; }
  .nav-mobile a { opacity: 1 !important; transform: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Motion layer: animated paintings ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  transition: opacity .9s var(--ease-luxe);
}
.hero-video.on { opacity: 1; }
.hero-bg { will-change: transform; }
.ms-host { position: relative; }
.wall-figure.ms-host img, .work-figure.ms-host img { position: relative; z-index: 0; }
.ms-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--ease-luxe);
  pointer-events: none;
  z-index: 1;
}
.ms-anim.on { opacity: 1; }
.giant-title { will-change: transform; }
.wall-figure img, .work-figure img, .ms-anim { translate: 0 var(--py, 0px); scale: 1.1; }
.work-figure { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .hero-video, .ms-anim { display: none !important; }
  .hero-bg, .giant-title, .hero-inner { transform: none !important; }
  .wall-figure img, .work-figure img { translate: none; scale: 1; }
}

/* ---------- Artistic layer: torn edges, brush buttons, paint splashes ---------- */
.btn {
  background: linear-gradient(100deg, #C94526 0%, #E3A83B 62%, #D9532F 100%);
  padding: 1.05rem 2.4rem;
  -webkit-mask: url(/media/btn-mask.svg) center / 100% 100% no-repeat;
  mask: url(/media/btn-mask.svg) center / 100% 100% no-repeat;
  border-radius: 0;
}
.btn.ghost { background: var(--card); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: linear-gradient(100deg, #E8643F 0%, #F0BE55 62%, #E8643F 100%); }
  .btn.ghost:hover { background: var(--text); }
}
.section.alt, .marquee-section, .hero { position: relative; }
.section.alt::before, .marquee-section::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -17px; height: 18px;
  background: var(--bg2);
  -webkit-mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  pointer-events: none; z-index: 2;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 20px;
  background: var(--bg);
  -webkit-mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  pointer-events: none; z-index: 3;
}
#works, #about, #shows, #contact { position: relative; overflow: clip; }
#works { background-image: radial-gradient(ellipse 60% 18% at 92% 22%, rgba(227,168,59,.16), transparent 100%), radial-gradient(ellipse 48% 16% at 8% 82%, rgba(217,83,47,.10), transparent 100%); }
#about { background-image: radial-gradient(ellipse 55% 22% at 12% 80%, rgba(31,127,134,.16), transparent 100%); }
#shows { background-image: radial-gradient(ellipse 55% 18% at 88% 78%, rgba(47,163,168,.12), transparent 100%), radial-gradient(ellipse 45% 16% at 10% 20%, rgba(227,168,59,.12), transparent 100%); }
#contact { background-image: radial-gradient(ellipse 65% 24% at 50% 78%, rgba(217,83,47,.18), transparent 100%); }
#works > .wrap, #about > .wrap, #shows > .wrap, #contact > .wrap { position: relative; z-index: 1; }
.ms-splash {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(240px, 36vw, 520px); aspect-ratio: 1;
  background-size: contain; background-repeat: no-repeat;
  opacity: .34;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.ms-splash.a { background-image: url(/media/splash-a.svg); }
.ms-splash.b { background-image: url(/media/splash-b.svg); }

@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; inset: auto; height: calc(var(--vh, 1vh) * 64); }
  .hero-veil { inset: 0 0 auto 0; height: calc(var(--vh, 1vh) * 64); background: linear-gradient(to bottom, rgba(14,26,29,.5) 0%, rgba(14,26,29,0) 20%, rgba(14,26,29,0) 72%, var(--bg) 100%); }
  .hero-inner { padding-top: .2rem; padding-bottom: 2.4rem; }
  .hero-title { font-size: clamp(3rem, 14.5vw, 4.6rem); }
  .hero-scroll { display: none; }
  .hero-statement { margin-top: 1.1rem; }
  .ms-splash { width: 62vw; opacity: .24; }
}

/* header: always on top of the page, readable over the paintings */
.nav { -webkit-transform: translateZ(0); transform: translateZ(0); }

/* ---------- Less boxy, more hand-made ---------- */
/* shows: an editorial list, no accordions */
.shows-list { list-style: none; margin-top: clamp(1.4rem, 4vw, 2.6rem); }
.gig {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7.5rem, 15rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.6rem);
  align-items: baseline;
  padding-block: clamp(1.3rem, 2.6vw, 2rem);
}
.gig::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  background: url(/media/brush-line.svg) 0 50% / 100% 100% no-repeat;
  opacity: .28;
}
.gig:nth-child(even) { padding-left: clamp(0rem, 7vw, 6.5rem); }
.gig-date { position: relative; display: flex; flex-direction: column; gap: .15rem; }
.gig-date .y {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-l);
}
.gig-date .m { font-size: 1rem; font-weight: 500; color: var(--text); }
.gig:nth-child(3n+1) .gig-date::before, .gig:nth-child(3n+2) .gig-date::before {
  content: "";
  position: absolute; left: -.6rem; top: -.2rem; width: 3.2rem; height: 3.2rem; border-radius: 58% 42% 55% 45% / 46% 58% 42% 54%;
  background: radial-gradient(circle at 40% 40%, rgba(227,168,59,.55), rgba(217,83,47,.0) 70%);
  filter: blur(2px); z-index: -1;
}
.gig:nth-child(3n+2) .gig-date::before { background: radial-gradient(circle at 40% 40%, rgba(31,127,134,.5), rgba(31,127,134,0) 70%); }
.gig-main h3 { font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.gig-main p { margin-top: .4rem; color: var(--text-l); font-size: 1rem; max-width: 56ch; }
@media (max-width: 700px) {
  .gig { grid-template-columns: 1fr; gap: .5rem; }
  .gig:nth-child(even) { padding-left: 0; }
  .gig-date { flex-direction: row; align-items: baseline; gap: .7rem; }
}

/* the painter: lighter, no wall of bold */
#about .statement { font-weight: 400; font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.38; letter-spacing: -0.012em; max-width: 34ch; }
#about .fact .v { font-weight: 500; }
#about .stat-num { font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 3.6rem); color: transparent; -webkit-text-stroke: 1px var(--text); }
.facts-list .fact { position: relative; padding-left: 1.1rem; }
.facts-list .fact::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50% 40% 55% 45%; background: var(--accent); }
.stats-row > div { position: relative; }

/* brush underline under section titles */
.section-title.reveal::after, .giant-title.reveal::after {
  content: "";
  display: block;
  width: clamp(90px, 14vw, 200px); height: 12px; margin-top: .55rem;
  background: url(/media/brush-line.svg) 0 50% / 100% 100% no-repeat;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.1s .35s var(--ease-luxe);
}
.section-title.reveal.is-visible::after, .giant-title.reveal.is-visible::after { transform: scaleX(1); }
.title-row .giant-title::after { margin-top: .4rem; }

/* works: deckle edges, hand-placed tilt */
.wall-figure {
  -webkit-mask: url(/media/deckle.svg) center / 100% 100% no-repeat;
  mask: url(/media/deckle.svg) center / 100% 100% no-repeat;
}
.wall-item:nth-child(odd) { rotate: -.7deg; }
.wall-item:nth-child(even) { rotate: .6deg; }
.wall-item:nth-child(3n) { rotate: -.3deg; }
.wall-figure img { transition: transform 1.1s var(--ease-luxe), opacity .7s ease; }

/* paint splashes appear, they do not just sit there */
.ms-splash { clip-path: circle(0% at 50% 50%); scale: .82; transition: clip-path 1.5s var(--ease-luxe), scale 1.5s var(--ease-luxe); }
.ms-splash.in { clip-path: circle(72% at 50% 50%); scale: 1; }
@media (prefers-reduced-motion: reduce) { .ms-splash { clip-path: none; scale: 1; transition: none; } .section-title.reveal::after, .giant-title.reveal::after { transform: scaleX(1); transition: none; } }

/* ---------- Footer: painted, not a red block ---------- */
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 12% 100%, rgba(217,83,47,.30), transparent 100%),
    radial-gradient(ellipse 55% 50% at 92% 90%, rgba(227,168,59,.22), transparent 100%),
    var(--bg);
  color: var(--text);
  padding: clamp(5rem, 10vw, 8rem) 0 1.8rem;
}
footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 24px;
  background: linear-gradient(90deg, #C94526 0%, #E3A83B 55%, #C94526 100%);
  -webkit-mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat;
  transform: scaleY(-1);
  pointer-events: none;
}
footer::after {
  content: "";
  position: absolute; right: -4%; top: 12%;
  width: clamp(220px, 34vw, 480px); aspect-ratio: 1;
  background: url(/media/splash-a.svg) center / contain no-repeat;
  opacity: .28;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  pointer-events: none;
}
footer > .wrap { position: relative; z-index: 1; }
.footer-monument {
  font-weight: 400;
  letter-spacing: -0.035em;
  background: linear-gradient(100deg, #D9532F 0%, #E3A83B 45%, #F0C56A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .06em;
}
footer .footer-name { font-weight: 500; font-size: 1.15rem; color: var(--text); }
footer .footer-tag { color: var(--text-l); }
.footer-nav { gap: 1.8rem; }
.footer-nav a {
  color: var(--text); font-size: 1rem; font-weight: 500; padding-bottom: .3rem;
  background: url(/media/brush-line.svg) 0 100% / 0% 8px no-repeat;
  transition: background-size .6s var(--ease-luxe), color .3s;
}
@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { color: var(--text); background-size: 100% 8px; }
}
.footer-bottom {
  position: relative;
  margin-top: 2.6rem; padding-top: 1.6rem;
  color: var(--text-l);
}
.footer-bottom::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background: url(/media/brush-line.svg) 0 50% / 100% 100% no-repeat; opacity: .35;
}
.footer-bottom a { color: var(--text-l); text-decoration-color: rgba(217,83,47,.7); }

/* ---------- Pop-ups: torn paper notes, not boxes ---------- */
.cookie-banner {
  left: 50%; right: auto; bottom: 1.1rem;
  width: min(92vw, 560px); max-width: none; margin: 0;
  background: var(--bg2);
  padding: 1.5rem 1.6rem 1.5rem 4.4rem;
  -webkit-mask: url(/media/deckle.svg) center / 100% 100% no-repeat;
  mask: url(/media/deckle.svg) center / 100% 100% no-repeat;
  transform: translate(-50%, 130%) rotate(-.6deg);
  filter: none;
  transition: transform .8s var(--ease-luxe);
}
.cookie-banner.show { transform: translate(-50%, 0) rotate(-.6deg); }
.cookie-banner::before {
  content: ""; position: absolute; left: .9rem; top: 50%; width: 2.8rem; height: 2.8rem; translate: 0 -50%;
  background: url(/media/splash-a.svg) center / contain no-repeat; opacity: .95;
}
.cookie-banner p { font-size: .9375rem; line-height: 1.5; color: var(--text); flex: 1 1 220px; }
.cookie-banner p a { text-decoration-color: rgba(217,83,47,.8); }
.cookie-banner .btn { padding: .8rem 1.8rem; font-size: .9rem; }

.lightbox { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(16,32,36,.97), rgba(5,10,12,.99)); }
.lightbox-close {
  width: 52px; height: 52px; top: 1rem; right: 1rem;
  background: var(--accent); background: linear-gradient(120deg, #C94526, #E3A83B);
  -webkit-mask: url(/media/btn-mask.svg) center / 100% 100% no-repeat; mask: url(/media/btn-mask.svg) center / 100% 100% no-repeat;
}
.lightbox-hint { font-weight: 500; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }
.qr-card { background: var(--bg2); padding: 2.4rem; -webkit-mask: url(/media/deckle.svg) center / 100% 100% no-repeat; mask: url(/media/deckle.svg) center / 100% 100% no-repeat; }

/* no double-tap zoom, taps are taps */
html, body, a, button, .btn, summary, img { touch-action: manipulation; }
.lightbox, .lightbox img { touch-action: none; }
@media (max-width: 700px) { footer::before { height: 16px; } }

/* "Say hello": an invitation, not a white bar. No giant footer word. */
.d-row.d-action {
  position: relative;
  background: linear-gradient(100deg, rgba(217,83,47,.26) 0%, rgba(227,168,59,.12) 48%, rgba(14,26,29,0) 100%), var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: clamp(2.4rem, 7.2vw, 6rem);
  letter-spacing: -0.03em;
  padding-block: clamp(2.6rem, 7vw, 5rem);
  justify-content: flex-start;
  gap: clamp(1.2rem, 4vw, 3rem);
  overflow: hidden;
}
.d-row.d-action::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; background: var(--bg2);
  -webkit-mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat; mask: url(/media/torn.svg) 0 0 / 100% 100% no-repeat; transform: scaleY(-1);
}
.d-row.d-action > span:first-child { position: relative; padding-bottom: .18em; }
.d-row.d-action > span:first-child::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .16em; min-height: 8px;
  background: url(/media/brush-line.svg) 0 50% / 100% 100% no-repeat; transform-origin: left; transform: scaleX(.55); transition: transform .8s var(--ease-luxe);
}
.d-row.d-action .arrow-dot {
  width: auto; height: auto; border-radius: 0; background: none; color: #E3A83B;
}
.d-row.d-action .arrow-dot svg { width: clamp(44px, 8vw, 96px); height: auto; stroke-width: 1.3; }
@media (hover: hover) and (pointer: fine) {
  a.d-row.d-action:hover { background: linear-gradient(100deg, rgba(217,83,47,.34) 0%, rgba(227,168,59,.18) 48%, rgba(14,26,29,0) 100%), var(--bg); color: var(--text); }
  a.d-row.d-action:hover > span:first-child::after { transform: scaleX(1); }
  .d-row.d-action:hover .arrow-dot { transform: translateX(10px); }
}
.footer-monument { display: none; }
footer { padding-top: clamp(3.4rem, 7vw, 5.5rem); }
footer .footer-name { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }

/* thinner, better mouldings: slim profile, inner fillet, grain on wood, crisp gold highlight */
.room-painting-wrap.frame-dark, .room-painting-wrap.frame-wood, .room-painting-wrap.frame-gold, .room-painting-wrap.frame-white { min-width: 0; }
.room-painting-wrap.frame-dark img, .room-painting-wrap.frame-wood img, .room-painting-wrap.frame-gold img, .room-painting-wrap.frame-white img { box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 0 3px 1px rgba(0,0,0,.35); }
.room-painting-wrap.frame-wood { background: repeating-linear-gradient(98deg, rgba(255,255,255,.05) 0 2px, rgba(0,0,0,.06) 2px 5px), linear-gradient(135deg, #9a6d40, #4a3018 55%, #2a1a0c); }
.room-painting-wrap.frame-gold { background: linear-gradient(135deg, #f7dc8a 0%, #c9a037 35%, #8a6312 62%, #e6c35d 100%); }
.room-painting-wrap.frame-dark { background: linear-gradient(135deg, #2c241d, #14100b 60%, #070504); }
.room-painting-wrap.frame-white { background: linear-gradient(135deg, #ffffff, #e6dfd1); }

/* animated landscape band */
.ms-band { position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden; background: var(--bg2); }
.ms-band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease-luxe); }
.ms-band-video.on { opacity: 1; }
.ms-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(14,26,29,.75) 0%, rgba(14,26,29,0) 45%); pointer-events: none; }
.ms-band-cap { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: clamp(1.2rem, 4vw, 2.6rem); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ms-band-cap span { font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 400; letter-spacing: -0.03em; color: var(--text); }
.ms-band-cap a { color: var(--text); font-weight: 500; background: url(/media/brush-line.svg) 0 100% / 100% 8px no-repeat; padding-bottom: .3rem; }
@media (prefers-reduced-motion: reduce) { .ms-band-video { display: none; } .ms-band { background: url(/images/works/autumn-wood.jpg) center / cover; } }
