/* Gallery theme: dark luxury editorial. The artwork carries the colour; the frame stays quiet. */
:root {
  --gold: #c9a45c;
  --ink: #0e0f14;
  --ink-2: #15161d;
  --ink-3: #1d1e27;
  --ivory: #f3ede2;
  --stone: #a8a194;
  --line: rgba(243, 237, 226, .12);
  --sold: #c2414b;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --space: clamp(4.5rem, 3rem + 6vw, 9rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 300 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.wrap { width: min(1320px, 100% - clamp(2.5rem, 6vw, 6rem)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font: 500 .72rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* Buttons */
.btn, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.05rem 2.2rem; font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; border: 1px solid var(--gold); cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.btn { background: var(--gold); color: var(--ink); }
.btn:hover { background: transparent; color: var(--gold); }
.btn-line { background: transparent; color: var(--ivory); border-color: rgba(243,237,226,.35); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.arrow-link { display: inline-flex; gap: .8rem; align-items: center; font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); padding-bottom: .55rem; border-bottom: 1px solid var(--gold); }
.arrow-link span { transition: transform .4s var(--ease); color: var(--gold); }
.arrow-link:hover span { transform: translateX(6px); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; background: rgba(14,15,20,.92); backdrop-filter: blur(14px); }
.home .top:not(.scrolled) { background: linear-gradient(rgba(0,0,0,.55), transparent); backdrop-filter: none; }
.top.scrolled { border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 2.5rem; padding: 1.4rem clamp(1.25rem, 3vw, 3rem); }
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand img { max-height: 54px; width: auto; }
.brand-name { font: 500 1.65rem/1 var(--serif); letter-spacing: .16em; text-transform: uppercase; }
.brand-tag { font: 400 .62rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: .55rem; }
#nav { display: flex; gap: 2.2rem; }
#nav a { position: relative; font: 400 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: .5rem 0; color: rgba(243,237,226,.85); }
#nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
#nav a:hover, #nav a[aria-current="page"] { color: var(--ivory); }
#nav a:hover::after, #nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.top-cta { padding: .85rem 1.5rem; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.6s var(--ease), visibility 1.6s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.slide.is-on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,12,.82) 0%, rgba(8,8,12,.35) 55%, rgba(8,8,12,.1)), linear-gradient(0deg, rgba(8,8,12,.7), transparent 45%); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: clamp(7rem, 16vh, 11rem); z-index: 2; }
.slide h1 { font-size: clamp(3rem, 1.6rem + 6vw, 7.2rem); font-weight: 400; max-width: 11ch; margin-bottom: 1.4rem; }
.slide-sub { font: 300 1.15rem/1.6 var(--sans); color: rgba(243,237,226,.82); max-width: 34ch; margin-bottom: 2.4rem; }
.slide figcaption > * { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.slide.is-on figcaption > * { opacity: 1; transform: none; }
.slide.is-on figcaption > :nth-child(2) { transition-delay: .15s; } .slide.is-on figcaption > :nth-child(3) { transition-delay: .3s; } .slide.is-on figcaption > :nth-child(4) { transition-delay: .45s; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 2.6rem; z-index: 3; display: flex; align-items: center; gap: 2rem; }
.hero-count { font: 400 .8rem/1 var(--sans); letter-spacing: .2em; color: var(--stone); }
.hero-count b { color: var(--ivory); font-weight: 500; }
.hero-bars { display: flex; gap: .6rem; }
.hero-bars button { width: 64px; height: 18px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hero-bars button::before, .hero-bars i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(243,237,226,.28); }
.hero-bars i { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-bars button.on i { animation: fill var(--slide-ms, 7000ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: clamp(1.25rem, 3vw, 3rem); bottom: 2.4rem; z-index: 3; font: 400 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--stone); padding-bottom: 4.2rem; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 3.4rem; background: linear-gradient(var(--gold), transparent); }

/* Banner (inner pages) */
.banner { position: relative; padding: clamp(10rem, 22vh, 14rem) 0 clamp(4rem, 9vh, 6rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.8); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), rgba(14,15,20,.4)); }
.banner-in { position: relative; z-index: 1; }
.banner h1 { font-size: clamp(2.8rem, 1.8rem + 4.5vw, 5.8rem); font-weight: 400; }
.banner p:not(.eyebrow) { color: var(--stone); margin: 1.2rem 0 0; max-width: 52ch; }

/* Sections */
.block { padding-block: var(--space); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 4rem); }
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 7vw, 8rem); padding-block: var(--space); border-bottom: 1px solid var(--line); }
.statement { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.2rem); font-weight: 400; font-style: italic; }
.intro-text { color: rgba(243,237,226,.78); font-size: 1.08rem; padding-top: 2.6rem; }
.intro-text .arrow-link { margin-top: 1.2rem; }

/* Works */
.work { display: block; }
.work-img { display: block; position: relative; overflow: hidden; background: var(--ink-2); }
.work-img img { width: 100%; transition: transform 1.4s var(--ease), filter .8s; }
.work.crop .work-img { aspect-ratio: 4 / 5; }
.work.crop .work-img img { height: 100%; object-fit: cover; }
.work-view { position: absolute; left: 50%; bottom: 1.4rem; transform: translate(-50%, 12px); opacity: 0; padding: .8rem 1.4rem; background: rgba(14,15,20,.82); backdrop-filter: blur(6px); font: 500 .66rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ivory); border: 1px solid rgba(201,164,92,.6); transition: all .6s var(--ease); white-space: nowrap; }
.work:hover .work-img img { transform: scale(1.045); }
.work:hover .work-view { opacity: 1; transform: translate(-50%, 0); }
.work-cap { display: grid; gap: .3rem; padding-top: 1.25rem; }
.work-artist { font: 500 .68rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.work-title { font: italic 400 1.6rem/1.15 var(--serif); }
.work-meta { font-size: .86rem; color: var(--stone); }
.work-price { font: 400 .95rem/1 var(--sans); letter-spacing: .06em; margin-top: .35rem; }
.is-sold { display: inline-flex; align-items: center; gap: .55rem; color: var(--stone); }
.is-sold i { width: 8px; height: 8px; border-radius: 50%; background: var(--sold); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem) clamp(1.2rem, 2.4vw, 2.4rem); align-items: start; }
.mosaic .work:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic .work:first-child .work-img { aspect-ratio: 4 / 4.6; }
.mosaic .work:first-child .work-title { font-size: 2.3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.masonry { columns: 3 300px; column-gap: clamp(1.5rem, 3vw, 3rem); }
.masonry .work { break-inside: avoid; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.empty { color: var(--stone); }

/* Artists */
.artists { background: var(--ink-2); padding-block: var(--space); border-block: 1px solid var(--line); }
.artist-list { display: flex; flex-wrap: wrap; gap: .4rem 0; font: 400 clamp(2rem, 1.2rem + 3.4vw, 4.4rem)/1.2 var(--serif); }
.artist-list a { color: rgba(243,237,226,.5); transition: color .5s var(--ease); }
.artist-list a:not(:last-child)::after { content: "/"; margin: 0 .5em; color: var(--gold); opacity: .6; font-style: italic; }
.artist-list a:hover { color: var(--ivory); }

/* Feature band */
.feature { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,14,.92), rgba(10,10,14,.55) 55%, rgba(10,10,14,.15)); z-index: 1; }
.feature .wrap { position: relative; z-index: 2; }
.feature-box { max-width: 560px; }
.feature-box h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); font-weight: 400; margin-bottom: 1.5rem; }
.feature-box p { color: rgba(243,237,226,.8); margin-bottom: 2.4rem; }

/* Visit */
.visit { border-top: 1px solid var(--line); background: var(--ink-2); }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.visit-grid > div { padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 3vw, 3rem) clamp(3rem, 5vw, 5rem) 0; }
.visit-grid > div + div { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 3rem); }
.visit h3 { font-size: 1.9rem; margin-bottom: 1.2rem; }
.visit p { color: var(--stone); }
.visit a:not(.arrow-link):hover { color: var(--gold); }

/* Artwork page */
.art { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 6vw, 6.5rem); padding-top: clamp(8.5rem, 16vh, 11rem); align-items: start; }
.art-frame { display: block; width: 100%; padding: clamp(1.5rem, 4vw, 4rem); background: radial-gradient(circle at 50% 40%, #23242e, var(--ink-2)); border: 0; cursor: zoom-in; }
.art-frame img { margin: 0 auto; max-height: 78vh; width: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); }
.thumbs { display: flex; gap: .8rem; margin-top: 1rem; }
.thumbs button { width: 84px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--ink-2); cursor: pointer; opacity: .55; transition: opacity .3s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.art-info { position: sticky; top: 8rem; }
.back { display: inline-block; font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 3rem; }
.back:hover { color: var(--gold); }
.art-info h1 { font-size: clamp(2.6rem, 1.8rem + 2.8vw, 4.4rem); font-weight: 400; margin-bottom: 1.6rem; }
.art-price { display: block; font: 400 1.6rem/1 var(--serif); letter-spacing: .02em; margin-bottom: 2.2rem; }
.art-info dl { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.art-info dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.art-info dt { font: 400 .72rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.art-info dd { margin: 0; text-align: right; }
.art-desc { color: rgba(243,237,226,.78); }
.art-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0; }
.assure { list-style: none; padding: 1.6rem 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .9rem; color: var(--stone); }
.assure li::before { content: "✦"; color: var(--gold); margin-right: .8rem; font-size: .7rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(3rem, 5vw, 4.5rem); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.filters nav { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.filters a { font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); padding: .45rem 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filters a:hover { color: var(--ivory); }
.filters a.on { color: var(--ivory); border-color: var(--gold); }

/* Prose pages */
.prose { max-width: 760px; padding-block: var(--space); font-size: 1.12rem; color: rgba(243,237,226,.82); }
.prose p:first-child::first-letter { float: left; font: 400 5.2rem/.8 var(--serif); color: var(--gold); margin: .45rem .8rem 0 0; }
.prose a { color: var(--gold); border-bottom: 1px solid; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(3rem, 7vw, 8rem); }
.contact-info { display: grid; gap: 2.4rem; align-content: start; }
.contact-info h3 { font-size: 1.7rem; margin-bottom: .8rem; }
.contact-info p { color: var(--stone); }
.form { display: grid; gap: 2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(243,237,226,.25); padding: 1.6rem 0 .7rem; color: var(--ivory); font: 300 1.05rem var(--sans); resize: vertical; transition: border-color .3s; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1.6rem; font: 400 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: .64rem; color: var(--gold); }
.form .btn { justify-self: start; }
.err { display: block; color: #e57b84; font-size: .85rem; margin-top: .5rem; }
.hp { position: absolute; left: -9999px; }
.about-work { display: flex; gap: 1.2rem; align-items: center; padding: 1.2rem; background: var(--ink-2); border: 1px solid var(--line); }
.about-work img { width: 72px; height: 90px; object-fit: cover; }
.about-work .eyebrow { margin-bottom: .6rem; }
.about-work b { display: block; font: italic 400 1.4rem var(--serif); }
.about-work span { color: var(--stone); font-size: .9rem; }
.sent h2 { font-size: 3rem; margin-bottom: 1rem; }
.sent p { color: var(--stone); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-top: clamp(4rem, 7vw, 6rem); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.foot-brand p { color: var(--stone); max-width: 36ch; margin-top: 1.6rem; font-size: .95rem; }
.foot h4 { font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.foot p, .foot-links a { color: var(--stone); font-size: .95rem; }
.foot-links { display: grid; gap: .55rem; }
.foot a:hover { color: var(--ivory); }
.social { display: flex; gap: 1.4rem; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; border-top: 1px solid var(--line); font-size: .8rem; letter-spacing: .08em; color: var(--stone); }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5,5,8,.94); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 3rem; cursor: zoom-out; }
.lb-close { position: fixed; top: 1.2rem; right: 1.6rem; background: none; border: 0; color: var(--ivory); font: 300 2.6rem/1 var(--sans); cursor: pointer; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .mosaic, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .art { grid-template-columns: 1fr; }
  .art-info { position: static; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .top-cta { display: none; }
  #nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.8rem; background: rgba(10,10,14,.98); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  #nav.open { opacity: 1; visibility: visible; }
  #nav a { font: 400 2rem/1 var(--serif); letter-spacing: .04em; text-transform: none; }
  .intro, .contact, .visit-grid { grid-template-columns: 1fr; }
  .intro-text { padding-top: 0; }
  .visit-grid > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}
@media (max-width: 600px) {
  .mosaic .work:first-child { grid-column: auto; grid-row: auto; }
  .mosaic, .grid-4, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hero-bars button { width: 38px; }
  .brand-name { font-size: 1.2rem; letter-spacing: .12em; }
  .brand-tag { font-size: .52rem; letter-spacing: .2em; }
  .scroll-cue { display: none; }
  .foot-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
