/* Nicola Lisa — warm editorial palette: chocolate, rust, camel, cream */
:root {
  --choc: #2b1713;
  --choc-deep: #211110;
  --choc-raised: #37201a;
  --rust: #cf6a4f;
  --rust-deep: #a9472f;
  --tan: #b89f83;
  --cream: #eadccb;
  --paper: #f3e9dc;
  --ink: #2b1713;
  --text: #ecdfce;
  --muted: #c2ab95;
  --line: rgba(236, 223, 206, 0.24);
  --line-dark: rgba(43, 23, 19, 0.35);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Herr Von Muellerhoff", "Brush Script MT", cursive;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--choc);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
em { font-family: var(--serif); font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--cream); color: var(--ink); padding: 8px 14px; }

/* Type helpers */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1em;
}
.num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.4em;
  opacity: .8;
}
.caps { font-family: var(--serif); text-transform: uppercase; letter-spacing: .04em; font-style: normal; }
.script { font-family: var(--script); font-weight: 400; color: var(--muted); line-height: 1; }
.section-title { font-size: clamp(30px, 4.2vw, 46px); }
.section-title em { font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--text); color: var(--choc); border-color: var(--text); }
.btn--small { min-height: 34px; padding: 7px 14px; font-size: 10.5px; }
.btn--solid { background: var(--rust-deep); border-color: var(--rust-deep); color: #fff7ef; }
.btn--solid:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn--dark { color: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--cream); }
.btn--dark-outline { color: var(--ink); border-color: var(--line-dark); }
.btn--dark-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge--wide { margin-top: 1em; }

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px var(--gutter);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav--right { justify-content: flex-end; gap: 16px; }
.nav--left a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  text-decoration: none;
  color: var(--muted);
}
.nav--left a:hover, .nav--left a[aria-current="page"] { color: var(--text); }
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rust);
  white-space: nowrap;
}
.wordmark:hover { color: var(--rust); opacity: .85; }
.icon-link { display: inline-flex; padding: 6px; color: var(--muted); }
.icon-link:hover { color: var(--text); }
.menu-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 15;
  background: var(--choc-deep);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a {
  font-family: var(--serif); font-style: italic; font-size: 34px; text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__social { display: flex; gap: 12px; margin-top: 20px; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; padding-block: 18px; }
  .nav { display: none; }
  .wordmark { justify-self: start; font-size: 25px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform .2s;
  }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
}

/* Hero: editorial collage */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.15fr 0.95fr;
  grid-template-areas: "left main copy right";
  gap: clamp(16px, 2.6vw, 40px);
  align-items: start;
  max-width: 1320px;
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(60px, 9vw, 120px);
}
.hero figure { margin: 0; }
.hero img { width: 100%; object-fit: cover; }
.hero__side--left { grid-area: left; margin-top: 0; }
.hero__side--left img { aspect-ratio: 3 / 4; filter: saturate(.85); }
.hero__main { grid-area: main; position: relative; margin-top: clamp(30px, 5vw, 70px) !important; }
.hero__main img { aspect-ratio: 3 / 4; }
.hero__side--right { grid-area: right; margin-top: clamp(160px, 20vw, 300px) !important; }
.hero__side--right img { aspect-ratio: 4 / 5; }
.hero figcaption { margin-top: 12px; text-align: center; }
.hero__copy { grid-area: copy; align-self: center; padding-top: clamp(20px, 6vw, 80px); }
.hero__title {
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.12;
  color: var(--text);
}
.hero__title em { font-size: .92em; color: var(--muted); }
.hero__lede { color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions.center { justify-content: center; }
.hero__vertical {
  position: absolute; right: -0.65em; top: 52%;
  font-size: clamp(44px, 5vw, 70px);
  writing-mode: vertical-rl;
  color: var(--cream);
  opacity: .85;
  pointer-events: none;
}
.hero__script {
  position: absolute;
  left: clamp(30px, 8vw, 140px);
  bottom: clamp(10px, 3vw, 40px);
  font-size: clamp(34px, 4vw, 52px);
  margin: 0;
}
.hero__script .arrow { font-family: var(--sans); font-size: .5em; vertical-align: middle; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "main main" "copy copy" "left right";
    padding-bottom: 90px;
  }
  .hero__main { margin-top: 0 !important; }
  .hero__main img { aspect-ratio: 4 / 4.2; }
  .hero__side--right { margin-top: 50px !important; }
  .hero__vertical { right: 8px; }
  .hero__copy { padding-top: 6px; }
  .hero__script { left: auto; right: var(--gutter); bottom: 22px; }
}

/* Bands */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--tan { background: var(--tan); color: var(--ink); }
.band--tan .label, .band--tan .num { color: var(--ink); }
.band--tan a:hover { color: var(--choc-raised); }
.band--cream { background: var(--cream); color: var(--ink); }
.band--raised { background: var(--choc-raised); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__copy p:not(.num) { max-width: 52ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.collage { position: relative; padding-bottom: 18%; }
.collage__back { width: 78%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.75) sepia(.12); }
.collage__front {
  position: absolute; right: 0; bottom: 0; width: 56%;
  aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 24px 60px rgba(33, 17, 16, .35);
}

.quote { padding-block: clamp(48px, 7vw, 84px); text-align: center; }
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.3;
  color: color-mix(in srgb, var(--ink) 72%, var(--cream));
  text-wrap: balance;
  max-width: 900px;
  margin-bottom: 0;
}
.quote .center { margin-top: 28px; margin-bottom: 0; }

/* Featured with ghost text */
.featured { position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 130px); }
.featured__ghost {
  position: absolute; inset: 34% 0 auto; display: flex; flex-direction: column;
  font-family: var(--serif); font-size: clamp(60px, 10vw, 150px); line-height: .95;
  color: rgba(236, 223, 206, .045); white-space: nowrap; pointer-events: none; user-select: none;
}
.featured__ghost span:nth-child(2) { transform: translateX(-12%); }
.featured__inner { position: relative; }
.featured .num { text-align: center; }
.featured .label.center { margin-bottom: 48px; }
.featured .center:last-child { margin-top: 56px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.card__link { display: block; text-decoration: none; color: inherit; }
.card__link:hover { color: inherit; }
.card__media { position: relative; overflow: hidden; background: var(--choc-raised); }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease, filter .3s; }
.card__link:hover .card__img { transform: scale(1.03); }
.card--sold .card__img { filter: grayscale(.4) brightness(.8); }
.card__flag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(33, 17, 16, .82); color: var(--cream);
  font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 6px 10px;
}
.card__title { font-size: 28px; margin: 18px 0 4px; }
.card__meta { margin-bottom: .4em; }
.card__price { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--muted); margin: 0; }
.cards--shop { padding-bottom: clamp(70px, 9vw, 110px); }

/* Page heads */
.page-head { padding-top: clamp(30px, 6vw, 80px); padding-bottom: clamp(36px, 6vw, 70px); }
.page-head--center { text-align: center; min-height: 52vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-title { font-size: clamp(42px, 6.5vw, 82px); line-height: 1.02; }
.page-title em { color: var(--muted); }
.page-lede { font-size: 19px; color: var(--muted); max-width: 56ch; }
.page-head--center .page-lede { margin-inline: auto; }
.thank-you__script { font-size: 52px; margin: 10px 0 20px; }

/* Shop notes */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.notes p { margin-bottom: .6em; }
.notes em { font-size: 1.1em; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* Painting detail */
.crumbs { padding-top: clamp(16px, 3vw, 30px); }
.crumbs a { text-decoration: none; }
.original__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.original__main { margin: 0; background: var(--choc-raised); }
.original__img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs__btn { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .65; transition: opacity .2s; }
.thumbs__btn[aria-current="true"], .thumbs__btn:hover { opacity: 1; border-color: var(--muted); }
.thumbs__img { width: 76px; height: 76px; object-fit: cover; }
.original__info { position: sticky; top: 24px; }
.original__title { font-size: clamp(40px, 5vw, 64px); }
.purchase { margin: 22px 0 30px; padding: 22px 0; border-block: 1px solid var(--line); }
.purchase__price { font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
.purchase__note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.purchase .btn { min-width: 220px; }
.specs { margin: 0 0 28px; display: grid; gap: 8px; }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.specs dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.specs dd { margin: 0; }
.original__ask { font-size: 15px; color: var(--muted); }
.more { padding-bottom: clamp(70px, 9vw, 110px); border-top: 1px solid var(--line); padding-top: clamp(50px, 7vw, 80px); }
.more .section-title { margin-bottom: 40px; }
@media (max-width: 860px) {
  .original__grid { grid-template-columns: 1fr; }
  .original__info { position: static; }
}

/* Prose (editable Markdown pages) */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); font-style: italic; margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; padding-left: .3em; }
.prose li::marker { color: var(--rust); font-family: var(--serif); }
.prose strong { font-weight: 500; color: var(--cream); }
.prose a { color: var(--rust); }
.prose--page { margin-inline: auto; padding-block: clamp(30px, 6vw, 70px) clamp(60px, 8vw, 100px); }

/* Commissions */
.commission-example {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  max-width: 900px;
}
.commission-example figure { margin: 0; }
.commission-example img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.commission-example figcaption { margin-top: 12px; text-align: center; }
.commission-example__arrow { font-size: clamp(30px, 4vw, 52px); margin: 0; }
@media (max-width: 600px) {
  .commission-example { grid-template-columns: 1fr 1fr; }
  .commission-example__arrow { display: none; }
}
.enquire { max-width: 760px; text-align: center; }
.enquire p:not(.num) { max-width: 54ch; margin-inline: auto; }
.enquire__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  padding-bottom: clamp(70px, 9vw, 110px);
}
.about__media { position: relative; padding-bottom: 30%; }
.about__portrait { width: 82%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__studio {
  position: absolute; right: 0; bottom: 0; width: 58%;
  aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--choc);
}
.about__sign { position: absolute; left: -6px; bottom: 2%; font-size: clamp(60px, 7vw, 92px); color: var(--cream); margin: 0; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Painting pair (home commissions) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair figure { margin: 0; }
.pair figure:last-child { margin-top: 60px; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair figcaption { margin-top: 10px; text-align: center; }

/* Footer */
.site-footer { background: var(--choc-deep); border-top: 1px solid var(--line); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 40px; text-align: center; }
.wordmark--footer { font-size: 30px; }
.site-footer__script { font-size: 40px; margin: 12px 0 26px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-bottom: 30px; }
.site-footer__nav a { font-family: var(--serif); font-style: italic; font-size: 19px; text-decoration: none; color: var(--muted); }
.site-footer__nav a:hover { color: var(--text); }
.site-footer__small { margin-bottom: .4em; }
.site-footer__note { font-size: 13px; color: var(--muted); opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
