@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --ivory: #f4f0e7;
  --paper: #fbfaf6;
  --ink: #181816;
  --muted: #6e6b64;
  --gold: #b69254;
  --gold-soft: #d7c49d;
  --line: rgba(24, 24, 22, .16);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
  --container: min(92vw, 1360px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
body.no-scroll, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; color: var(--gold); font-size: .69rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 2.8rem; height: 1px; background: currentColor; transition: width .5s ease; }
[data-reveal].is-visible .eyebrow::before, .eyebrow:hover::before { width: 4.5rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(3.7rem, 9.3vw, 9.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(3.1rem, 6.4vw, 6.7rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.8; }
.section { padding: clamp(5rem, 10vw, 10rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 4rem; margin-bottom: clamp(2.5rem, 6vw, 6rem); }
.section-head h2 { margin: .8rem 0 0; max-width: 900px; }
.section-head .lead { max-width: 560px; justify-self: end; margin-bottom: .6rem; }
.page-shell { padding-top: 8rem; min-height: 70vh; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: white; transition: background .45s ease, color .45s ease, box-shadow .45s ease; }
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.22); }
.header-inner { width: var(--container); height: 6.3rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 1rem; line-height: 1; }
.brand-mark { width: 2.8rem; aspect-ratio: 1; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; transform: rotate(45deg); }
.brand-mark span { transform: rotate(-45deg); }
.brand-text { display: grid; gap: .35rem; }
.brand-text strong { font-family: var(--serif); font-size: 1.04rem; font-weight: 500; letter-spacing: .08em; }
.brand-text small { font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.7vw, 3.1rem); font-size: .69rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.site-nav a { position: relative; padding: .6rem 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: .2rem; height: 1px; background: var(--gold); transition: right .35s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-contact { border: 1px solid currentColor; padding: .75rem 1rem !important; }
.header-contact::after { display: none; }
.site-header.is-scrolled, .inner-page .site-header { background: rgba(251,250,246,.94); color: var(--ink); box-shadow: 0 10px 30px rgba(24,24,22,.05); backdrop-filter: blur(16px); }
.site-header.is-scrolled::after, .inner-page .site-header::after { background: var(--line); }
.site-header.is-scrolled .header-inner, .inner-page .header-inner { height: 5rem; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; border: 0; background: transparent; padding: 0; }
.menu-toggle span { width: 1.7rem; height: 1px; background: currentColor; display: block; margin: .38rem auto; transition: transform .3s, opacity .3s; }

.hero { position: relative; min-height: 100svh; background: #111; color: white; overflow: hidden; isolation: isolate; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-backdrop { position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover; filter: blur(18px) brightness(.37) saturate(.85); transform: scale(1.08); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .76; transform: scale(1.02); transition: transform 8s ease; }
.hero-slide.is-active .hero-art { transform: scale(1.08); }
.hero::before { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.83) 0%, rgba(8,8,8,.35) 47%, rgba(8,8,8,.15)), linear-gradient(0deg, rgba(8,8,8,.7), transparent 55%); }
.hero-content { position: relative; z-index: 3; width: var(--container); min-height: 100svh; margin: auto; padding: 11rem 0 7rem; display: flex; flex-direction: column; justify-content: end; align-items: start; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { max-width: 1050px; margin: 1rem 0 1.6rem; text-wrap: balance; }
.hero-copy { max-width: 680px; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.38; color: rgba(255,255,255,.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { min-height: 3.6rem; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .85rem 1.45rem; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: .67rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.button:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button-light { background: white; border-color: white; color: var(--ink); }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.button-outline { background: transparent; color: var(--ink); }
.scroll-cue { position: absolute; z-index: 3; right: 4vw; bottom: 4.5rem; display: flex; align-items: center; gap: 1rem; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue::after { content: ''; width: 1px; height: 4.5rem; background: rgba(255,255,255,.55); animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .25; transform: scaleY(.6); transform-origin: top; } }

.intro { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.intro-copy h2 { margin: .8rem 0 2rem; }
.intro-copy .lead { max-width: 620px; }
.intro-statements { border-left: 1px solid var(--gold-soft); padding-left: clamp(1.5rem, 4vw, 4.5rem); display: grid; gap: 2.3rem; }
.statement { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; }
.statement span { color: var(--gold); font-family: var(--serif); font-size: 1.4rem; }
.statement h3 { margin: 0 0 .55rem; }
.statement p { color: var(--muted); margin: 0; }

.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 58px; gap: clamp(.75rem, 1.5vw, 1.4rem); }
.featured { position: relative; grid-column: span 4; grid-row: span 9; }
.featured-1 { grid-column: 1 / 8; grid-row: span 12; }
.featured-2 { grid-column: 8 / 13; grid-row: span 8; }
.featured-3 { grid-column: 8 / 13; grid-row: span 10; }
.featured-4 { grid-column: 1 / 6; grid-row: span 10; }
.featured-5 { grid-column: 6 / 13; grid-row: span 12; }
.featured-6 { grid-column: 1 / 7; grid-row: span 10; }
.art-card { break-inside: avoid; margin-bottom: 2.6rem; transition: opacity .35s, transform .35s; }
.art-card[hidden] { display: none; }
.art-image { position: relative; width: 100%; height: 100%; display: block; padding: 0; border: 0; background: #e7e2d8; overflow: hidden; cursor: zoom-in; }
.art-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .7s; }
.art-image::before { content: ''; position: absolute; inset: 0; background: #ded8cc; }
.art-image img { position: relative; z-index: 1; }
.art-overlay { position: absolute; z-index: 3; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 1.4rem; color: white; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.art-overlay strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.art-overlay small { font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.art-frame { position: absolute; z-index: 2; inset: 1rem; border: 1px solid rgba(255,255,255,.75); opacity: 0; transform: scale(.97); transition: opacity .4s, transform .4s; }
.art-image:hover img { transform: scale(1.025); }
.art-image:hover .art-overlay, .art-image:focus-visible .art-overlay, .art-image:hover .art-frame, .art-image:focus-visible .art-frame { opacity: 1; transform: none; }
.art-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); padding: .85rem 0; font-size: .67rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.art-meta a { color: var(--gold); }
.featured .art-meta { position: absolute; z-index: 4; left: 1.4rem; right: 1.4rem; bottom: 1rem; border: 0; color: white; opacity: 0; pointer-events: none; }
.featured:hover .art-meta { opacity: 1; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.text-link::after { content: '↗'; font-size: 1rem; }
.inquiry-link { margin-top: .8rem; }
.gallery-cta { margin-top: 4rem; text-align: center; }

.dark-section { background: #171715; color: #f7f4eb; overflow: hidden; }
.artist-teaser { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.artist-monogram { aspect-ratio: .82; border: 1px solid rgba(215,196,157,.28); display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 43%, rgba(182,146,84,.12), transparent 34%); }
.artist-monogram::before, .artist-monogram::after { content: ''; position: absolute; border: 1px solid rgba(215,196,157,.18); inset: 12%; transform: rotate(45deg); }
.artist-monogram::after { inset: 25%; transform: rotate(-15deg); }
.artist-monogram span { font-family: var(--serif); font-size: clamp(7rem, 18vw, 15rem); color: var(--gold-soft); opacity: .85; transform: translateY(var(--parallax-y, 0)); transition: transform .1s linear; }
.artist-copy h2 { margin: .9rem 0 2rem; }
.artist-copy p { color: rgba(255,255,255,.68); max-width: 680px; }
.artist-copy .button { margin-top: 1.5rem; border-color: var(--gold-soft); background: transparent; }

.page-hero { padding: clamp(7rem, 14vw, 13rem) 0 clamp(4rem, 8vw, 8rem); background: var(--ivory); position: relative; overflow: hidden; }
.page-hero::after { content: 'EI'; position: absolute; right: -2vw; bottom: -12vw; font: 500 33vw/1 var(--serif); color: rgba(182,146,84,.07); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1100px; margin: 1.2rem 0 2rem; font-size: clamp(4.2rem, 10vw, 9rem); }
.page-hero .lead { max-width: 720px; }
.page-index { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.page-index::before { content: ''; width: 4rem; height: 1px; background: var(--gold); }

.artist-story { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 10rem); }
.artist-story aside { position: sticky; top: 8rem; align-self: start; }
.artist-story aside p { color: var(--gold); font: 500 clamp(2rem, 3.5vw, 3.6rem)/1.12 var(--serif); }
.story-body { max-width: 780px; }
.story-body p:first-child::first-letter { float: left; color: var(--gold); font: 500 6.5rem/.72 var(--serif); padding: .45rem .7rem 0 0; }
.story-body p { margin-bottom: 2rem; font-size: 1.05rem; color: #4f4c47; }
.principles { background: var(--ivory); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { padding: 3rem; border-right: 1px solid var(--line); }
.principle:last-child { border: 0; }
.principle span { color: var(--gold); font: 500 1.5rem var(--serif); }
.principle h3 { margin: 2rem 0 1rem; }
.principle p { color: var(--muted); margin: 0; }

.gallery-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.filter { border: 1px solid var(--line); background: transparent; padding: .75rem 1rem; cursor: pointer; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: .3s; }
.filter:hover, .filter.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.masonry { columns: 3; column-gap: clamp(1rem, 2.5vw, 2.2rem); }
.masonry .art-image { height: auto; }
.masonry .art-image img { width: 100%; height: auto; object-fit: contain; }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-columns: 5rem 1fr 5rem; grid-template-rows: 1fr auto; align-items: center; background: rgba(10,10,9,.96); color: white; padding: 1rem; }
.lightbox-figure { grid-column: 2; grid-row: 1; height: calc(100vh - 8rem); display: grid; place-items: center; overflow: auto; }
.lightbox-figure img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: max-width .3s, max-height .3s; }
.lightbox.is-zoomed .lightbox-figure { display: block; }
.lightbox.is-zoomed .lightbox-figure img { max-width: none; max-height: none; width: auto; height: auto; cursor: zoom-out; margin: auto; }
.lightbox-close { position: absolute; right: 1.5rem; top: 1.5rem; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; cursor: pointer; font-size: 1.5rem; }
.lightbox-prev, .lightbox-next { border: 0; background: transparent; color: white; font-size: 2rem; cursor: pointer; padding: 1rem; }
.lightbox-prev { grid-column: 1; grid-row: 1; }
.lightbox-next { grid-column: 3; grid-row: 1; }
.lightbox-bar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 1rem; }
.lightbox-label { font-family: var(--serif); font-size: 1.5rem; }
.lightbox-bar a { color: var(--gold-soft); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }

.detail-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.detail-image { background: var(--ivory); padding: clamp(.75rem, 2vw, 2rem); }
.detail-image img { width: 100%; max-height: 82vh; object-fit: contain; }
.detail-info { position: sticky; top: 8rem; }
.detail-info h1 { margin: 1rem 0 1.5rem; font-size: clamp(3.5rem, 7vw, 6.5rem); }
.detail-note { border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--muted); }
.detail-info .button { margin-top: 1.5rem; }
.detail-nav { margin-top: 2.5rem; display: flex; gap: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 9rem); }
.contact-card { border-top: 1px solid var(--gold); padding-top: 2rem; }
.contact-list { list-style: none; padding: 0; margin: 2.5rem 0; }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.map-card { min-height: 520px; background: var(--ivory); border: 1px solid var(--line); display: grid; place-items: center; padding: 3rem; text-align: center; position: relative; overflow: hidden; }
.map-card::before { content: ''; position: absolute; inset: -15%; background: repeating-linear-gradient(65deg, transparent 0 48px, rgba(182,146,84,.14) 49px 50px), repeating-linear-gradient(-20deg, transparent 0 68px, rgba(24,24,22,.06) 69px 70px); transform: rotate(-8deg); }
.map-pin { position: relative; z-index: 1; width: 6rem; height: 6rem; border: 1px solid var(--gold); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; margin: 0 auto 3rem; }
.map-pin::after { content: ''; width: 1rem; height: 1rem; background: var(--gold); border-radius: 50%; }
.map-card-content { position: relative; z-index: 1; }

.whatsapp-float { position: fixed; z-index: 45; right: 1.4rem; bottom: 1.4rem; width: 3.8rem; height: 3.8rem; border-radius: 50%; background: #1f9d62; color: white; box-shadow: 0 12px 35px rgba(0,0,0,.2); display: grid; place-items: center; transition: transform .3s; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 1.6rem; fill: currentColor; }
.whatsapp-float span { position: absolute; right: 4.4rem; white-space: nowrap; background: var(--ink); padding: .55rem .8rem; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateX(5px); transition: .3s; pointer-events: none; }
.whatsapp-float:hover span { opacity: 1; transform: none; }

.site-footer { background: #11110f; color: white; padding: 5rem 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; padding-bottom: 4rem; }
.footer-brand h2 { font-size: clamp(2.8rem, 5vw, 5rem); margin: 0 0 1rem; }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 480px; }
.footer-col h3 { font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 1.5rem; }
.footer-col a, .footer-col address { display: block; color: rgba(255,255,255,.66); margin: 0 0 .65rem; font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.45); font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-bottom a { color: var(--gold-soft); }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; font: 500 1.6rem var(--serif); letter-spacing: 0; text-transform: none; opacity: 0; visibility: hidden; transform: translateY(-15px); transition: .35s; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .section-head, .intro-grid, .artist-teaser, .artist-story, .detail-layout, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 1.5rem; }
  .section-head .lead { justify-self: start; }
  .artist-story aside, .detail-info { position: static; }
  .artist-monogram { aspect-ratio: 1.6; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --container: min(90vw, 1360px); }
  .header-inner { height: 5rem; }
  .brand-text small { display: none; }
  .hero-content { padding-top: 8rem; }
  .hero h1 { font-size: clamp(3.65rem, 17vw, 5.5rem); }
  .hero-copy { font-size: 1.12rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .section { padding-block: 5rem; }
  .featured-grid { display: block; }
  .featured { height: auto; margin-bottom: 1rem; }
  .featured .art-image { height: auto; }
  .featured .art-image img { height: auto; }
  .featured .art-meta { position: static; color: var(--ink); opacity: 1; border-bottom: 1px solid var(--line); }
  .featured .art-overlay { display: none; }
  .masonry { columns: 1; }
  .principle { padding: 2rem 0; }
  .page-hero { padding-top: 9rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .25rem; }
  .map-card { min-height: 420px; padding: 2rem; }
  .lightbox { grid-template-columns: 3rem 1fr 3rem; padding: .4rem; }
  .lightbox-figure { height: calc(100vh - 10rem); }
  .lightbox-close { right: .7rem; top: .7rem; }
  .lightbox-bar { gap: .8rem 1.2rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
