/* Beautiful Art — site styles
   Midnight Plum #1C1424 · Velvet #3A2B47 · Steel Blue #4A7090 · Fresh Sage #C4E0BA · Linen #F5F5F1 */

:root {
  --plum: #1C1424;
  --velvet: #3A2B47;
  --steel: #4A7090;
  --steel-light: #7E9DB8;
  --sage: #C4E0BA;
  --sage-deep: #7FA877;
  --sage-pale: #E6F0E1;
  --linen: #F5F5F1;
  --text: #1C1424;
  --muted: #564E5E;
  --line: #DDDCD5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--linen);
  line-height: 1.7;
  font-size: 18px;
}

img { max-width: 100%; display: block; }
a { color: var(--steel); }
a:hover { color: var(--plum); }
strong, b { font-weight: 500; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

.display {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin: 0;
}
h1.display { font-size: clamp(40px, 6vw, 72px); }
h2.display { font-size: clamp(30px, 4vw, 46px); }
h3 { margin: 0; font-weight: 500; font-size: 19px; letter-spacing: 0.02em; }

.label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 16px; display: flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: inherit; font-weight: 500; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 30px; min-height: 52px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--steel); color: #fff; }
.btn-sage { background: var(--sage); color: var(--plum); }
.btn-sage:hover { background: #fff; color: var(--plum); }
.btn-ghost { border-color: var(--steel-light); color: #F3F4F1; }
.btn-ghost:hover { background: var(--steel); border-color: var(--steel); color: #fff; }

/* Header */
.site-header { background: var(--linen); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand img { width: 40px; height: 40px; }
.wordmark { font-family: "Italiana", Georgia, serif; font-size: 22px; letter-spacing: 0.28em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a { text-decoration: none; color: var(--plum); font-size: 14px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--steel); color: var(--plum); }
.nav a[aria-current="page"] { border-color: var(--plum); }

/* Hero */
.hero { background: var(--plum); color: #F3F4F1; position: relative; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 104px; padding-bottom: 104px; position: relative; }
.hero-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 26px; }
.hero .label { color: var(--sage); }
.hero p { margin: 0; font-size: 20px; color: #CFC8D6; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { flex: 1 1 380px; }
.hero-mark { position: absolute; right: -60px; top: -40px; width: 520px; opacity: 0.12; pointer-events: none; }

/* Art frame — coloured placeholder until a photo is added */
.art {
  position: relative; background: var(--velvet); overflow: hidden; aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  color: var(--sage); font-size: 15px; letter-spacing: 0.06em;
}
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art .art { aspect-ratio: 1200 / 1560; background: #0E0A12; outline: 1px solid rgba(196, 224, 186, 0.35); outline-offset: 14px; }

/* Painting grid */
.grid-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 44px; }
.more { font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
.paintings { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; }
.painting { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.painting .art { background: #D9DEE6; color: var(--velvet); transition: transform .4s; }
.painting:hover .art { transform: translateY(-4px); }
.painting-info { padding-top: 18px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.meta { font-size: 15px; color: var(--muted); }
.artist { font-size: 15px; color: var(--steel); }
.price { font-size: 17px; font-weight: 500; margin-top: 6px; }
.buy { margin-top: 14px; min-height: 48px; }
.buy-placeholder { border: 1px dashed var(--steel-light); padding: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* Sold: change class="painting" to class="painting sold" */
.painting.sold .art::after {
  content: "Sold"; position: absolute; top: 16px; left: 16px; background: var(--plum); color: #fff;
  font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; font-size: 12px; padding: 7px 14px;
}
.painting.sold .buy { display: none; }
.sold-note { display: none; color: var(--muted); margin: 14px 0 0; font-size: 15px; font-style: italic; }
.painting.sold .sold-note { display: block; }

/* Logo story on the artist page */
.logo-story-mark { flex: 0 1 260px !important; max-width: 260px; background: var(--linen); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.logo-story-mark img { width: 70%; }
#the-logo .bio p:first-of-type::first-letter { float: none; font-family: inherit; font-size: inherit; padding: 0; color: inherit; line-height: inherit; }

/* Landscape paintings: show the whole canvas inside the frame */
.art-wide { background: transparent !important; align-items: flex-end; padding: 0; }
.art-wide img { position: static; width: 100%; height: auto; object-fit: initial; }

/* Landscape paintings get their own row */
.paintings-landscape { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); margin-top: 56px; }
.paintings-landscape .art { aspect-ratio: 4 / 3; }

/* Coming soon: class="painting soon" */
.soon-note { display: none; margin: 10px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); }
.painting.soon .soon-note { display: block; }
.painting.soon .price, .painting.soon .buy { display: none; }
.painting.soon .art::after {
  content: "Coming soon"; position: absolute; top: 16px; left: 16px; background: rgba(28, 20, 36, 0.85); color: #fff;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; font-size: 12px; padding: 7px 14px;
}

/* Bands */
.band-sage { background: var(--sage-pale); }
.band-plum { background: var(--velvet); color: #F3F4F1; }
.band-plum .label { color: var(--sage); }
.band-plum .lead { color: #D6CFDD; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin: 48px 0; }
.step { border-top: 1px solid var(--plum); padding-top: 22px; }
.step-num { font-family: "Italiana", Georgia, serif; font-size: 40px; color: var(--steel); line-height: 1; margin-bottom: 14px; }
.step p { margin: 8px 0 0; color: var(--muted); }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 380px; }

/* Artist page */
.portrait { position: relative; }
.portrait .art { background: #D9D9D9; color: var(--muted); }
.portrait::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--steel-light); z-index: -1; }
.portrait-soft { flex: 0 1 300px !important; max-width: 300px; }
.portrait-soft .art { opacity: 0.72; filter: contrast(0.85) brightness(1.06); }
.portrait-soft::after { opacity: 0.5; }
.policy p:first-of-type::first-letter { float: none; font-family: inherit; font-size: inherit; padding: 0; color: inherit; line-height: inherit; }
.portrait-small { flex: 0 1 220px !important; max-width: 220px; }
.band-plum .portrait-soft .art { opacity: 0.6; }
.band-quote { background: var(--steel); color: #fff; padding: 80px 0; }
.band-quote .quote-by { color: #E6EEF4; }
.bio { max-width: 720px; margin: 0 auto; }
.bio p { margin: 0 0 26px; font-size: 19px; }
.bio p:first-of-type::first-letter {
  font-family: "Italiana", Georgia, serif; float: left; font-size: 78px; line-height: 0.85; padding: 8px 12px 0 0; color: var(--steel);
}
.quote {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.35; max-width: 860px; margin: 0 auto; text-align: center;
}
.quote-by { text-align: center; margin-top: 22px; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--sage); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact span { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }

/* Forms */
.form { display: grid; gap: 20px; max-width: 680px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.form input, .form textarea {
  font: inherit; font-size: 17px; letter-spacing: normal; text-transform: none; padding: 14px 16px;
  border: 1px solid #B9B6C0; border-radius: 2px; background: #fff; color: var(--plum);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; }
.form textarea { min-height: 150px; resize: vertical; }
.hint { font-weight: 300; letter-spacing: normal; text-transform: none; color: var(--muted); font-size: 14px; }

/* Newsletter + footer */
.signup { background: var(--steel); color: #fff; }
.signup .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.signup p { margin: 8px 0 0; color: #E6EEF4; }
.signup form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; flex: 1 1 400px; }
.signup label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.signup input { font: inherit; font-size: 17px; padding: 14px 16px; border: none; border-radius: 2px; min-height: 52px; }

.site-footer { background: var(--plum); color: #BDB4C6; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.site-footer .brand { color: #F3F4F1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #BDB4C6; text-decoration: none; }
.site-footer a:hover { color: var(--sage); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .nav { gap: 2px 18px; }
  .nav a { font-size: 13px; }
  .hero-mark { width: 340px; }
  .portrait::after { inset: 12px -10px -12px 10px; }
}
#the-logo .bio p.label { font-size: 13px; margin-bottom: 16px; }

/* Artist page: line up the intro, bio and Muse story on one left edge */
.portrait-artist { flex: 0 1 260px !important; max-width: 260px; }
.muse-split .bio { max-width: 720px; }
@media (min-width: 900px) {
  .bio-aligned { max-width: 1200px; margin: 0 auto; padding-left: calc(24px + 260px + 64px); }
  .bio-aligned p { max-width: 720px; }
  .split:has(.portrait-artist) > div:last-child,
  .muse-split > .bio { flex: 1 1 380px; max-width: 720px; }
}
