:root {
  --paper: #f3eee6;
  --paper-deep: #e8e0d4;
  --ink: #1c1814;
  --ink-soft: #5c5348;
  --line: #cfc4b4;
  --accent: #6e3a2e;
  --on-dark: #f3eee6;
  --max: 1120px;
  --nav-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="en"] .fr-only { display: none !important; }
html[lang="fr"] .en-only { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.painting,
.work-frame,
.hero-slide,
.painting-wrap img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.75rem 1.5rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header.is-home {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: var(--on-dark);
}

.site-header.is-home a:hover {
  color: var(--on-dark);
  opacity: 0.75;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.site-header.is-home .nav-links a[aria-current="page"] {
  color: var(--on-dark);
  text-decoration: underline;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-toggle {
  display: flex;
  gap: 0.35rem;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.lang-toggle button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  padding: 0;
  opacity: 0.45;
}

.lang-toggle button[aria-pressed="true"] {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 1px solid currentColor;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-dark);
}

.btn-solid:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--on-dark);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: #12100e;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 14, 12, 0.72) 0%, rgba(18, 14, 12, 0.15) 42%, rgba(18, 14, 12, 0.28) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.5rem 1.5rem 2.25rem;
  max-width: 40rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 0.6rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 26rem;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--on-dark) 88%, transparent);
}

.hero-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 2.25rem;
  z-index: 1;
  text-align: right;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero-caption a {
  text-decoration: none;
}

.page {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 2.5rem 0 4.5rem;
}

.page-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.page h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
  line-height: 1.05;
}

.lede {
  color: var(--ink-soft);
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.filters button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hanging {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 1.5rem;
}

@media (min-width: 700px) {
  .hanging {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .hanging {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.work-tile {
  text-decoration: none;
  color: inherit;
}

.work-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--paper-deep);
  background-size: cover;
  background-position: center;
}

.work-tile.is-sold .work-frame {
  filter: saturate(0.72);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-top: 0.65rem;
}

.work-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  margin: 0;
}

.work-year {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.work-place {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-tile.is-sold .work-place {
  color: var(--ink-soft);
}

.oeuvre {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 880px) {
  .oeuvre {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3rem;
  }
}

.oeuvre-image {
  position: relative;
  background: var(--paper-deep);
}

.oeuvre-image img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: none;
}

.painting-wrap {
  position: relative;
}

.painting-shield {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.mark {
  position: absolute;
  top: 0.6rem;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.oeuvre h1 {
  margin-top: 0;
}

.quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
  margin: 1rem 0 0.35rem;
}

.quote-author {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.facts {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.facts li + li {
  margin-top: 0.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.nav-works {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.bio {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .bio {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

.bio img {
  width: 100%;
}

.prose {
  max-width: 40rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose .float-art {
  position: relative;
  width: min(42%, 16rem);
  margin: 0 0 0.75rem 1.1rem;
  float: right;
}

.prose .float-art img {
  pointer-events: none;
}

.prose .float-art:first-of-type {
  float: left;
  margin: 0 1.1rem 0.75rem 0;
}

.now {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 700px) {
  .now {
    grid-template-columns: 1fr 1fr;
  }
}

.now article {
  border-top: 1px solid var(--ink);
  padding-top: 0.85rem;
}

.now h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.cv {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cv th,
.cv td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.cv th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-footer {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    padding: 0.7rem 1rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 0.55rem 0.9rem;
  }

  .hero-caption {
    position: static;
    text-align: left;
    padding: 0 1.5rem 1.5rem;
  }

  .hero-copy {
    padding-bottom: 1rem;
  }

  .prose .float-art,
  .prose .float-art:first-of-type {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}
