:root {
  --bg: #f6eee6;
  --bg-strong: #ead9d2;
  --surface: rgba(255, 247, 240, 0.88);
  --surface-strong: rgba(255, 250, 245, 0.95);
  --text: #1b1414;
  --muted: #695956;
  --line: rgba(27, 20, 20, 0.11);
  --gold: #c89a4b;
  --gold-deep: #9d6e28;
  --rose: #d7a7a0;
  --sage: #bfc8b5;
  --plum: #5d4954;
  --ink: #161011;
  --shadow: 0 26px 64px rgba(36, 24, 24, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 167, 160, 0.95), transparent 22%),
    radial-gradient(circle at 86% 10%, rgba(191, 200, 181, 0.72), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(200, 154, 75, 0.12), transparent 24%),
    linear-gradient(180deg, #fff7f1 0%, var(--bg) 46%, var(--bg-strong) 100%);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%);
  opacity: 0.45;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding-bottom: 4rem;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding-inline: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-header.is-scrolled::after {
  content: "";
  position: absolute;
  inset: 0 -0.75rem;
  z-index: -1;
  border: 1px solid rgba(24, 19, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(26, 20, 17, 0.08);
}

.header-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ink), var(--gold));
  box-shadow: 0 0 0 6px rgba(188, 147, 86, 0.12);
}

.site-nav {
  display: inline-flex;
  gap: 1.35rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.66);
  backdrop-filter: blur(14px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(24, 19, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.78);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-close {
  display: none;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav a,
.button,
.header-cta,
.painting-card,
.hero-artwork,
.story-image,
.about-portrait {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-deep);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, #171112, #3a2a2f);
  color: #fff8f1;
  box-shadow: 0 18px 38px rgba(20, 16, 15, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(24, 19, 17, 0.12);
  background: rgba(255, 245, 236, 0.88);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--gold-deep);
  border-color: rgba(188, 147, 86, 0.4);
}

.section {
  padding: 2.8rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 3.6rem;
  min-height: calc(100vh - 88px);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.94;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-text,
.intro-strip p,
.about-copy p,
.featured-copy p,
.painting-copy p,
.story-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.82;
}

.hero-text {
  max-width: 58ch;
  margin: 1.5rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-signature,
.about-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-signature span,
.about-notes span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 19, 17, 0.08);
  background: rgba(255, 241, 232, 0.86);
  color: #4a3539;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-artwork {
  width: min(100%, 560px);
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(24, 19, 17, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 248, 242, 0.92), rgba(233, 217, 210, 0.68)),
    linear-gradient(135deg, rgba(191, 200, 181, 0.14), transparent);
  box-shadow: var(--shadow);
}

.hero-artwork:hover {
  transform: translateY(-4px);
}

.hero-image {
  width: 100%;
  height: 680px;
  object-fit: contain;
  border-radius: 0;
  background: #f6eee6;
}

.hero-artwork figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro-strip {
  padding-top: 1rem;
}

.intro-strip p {
  margin: 0;
  max-width: 34ch;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(93, 73, 84, 0.22);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  color: #4d3941;
}

.about-layout,
.featured-showcase {
  display: grid;
  gap: 1.35rem;
}

.about-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  align-items: center;
}

.about-copy {
  padding: 0 1rem 0 0;
}

.about {
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 2rem -2rem 2rem auto;
  width: min(32vw, 320px);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(191, 200, 181, 0.34), rgba(255, 255, 255, 0));
  z-index: -1;
}

.about-portrait {
  padding: 1rem;
  border: 1px solid rgba(24, 19, 17, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(246, 238, 230, 0.92), rgba(191, 200, 181, 0.22));
  box-shadow: var(--shadow);
}

.about-portrait:hover {
  transform: translateY(-4px);
}

.portrait-image {
  width: 100%;
  min-height: 540px;
  object-fit: contain;
  border-radius: 0;
  background: #f6eee6;
}

.section-heading {
  margin-bottom: 2rem;
}

.collection {
  position: relative;
}

.collection::before {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: 5rem;
  width: min(32vw, 320px);
  height: 260px;
  border-radius: 999px;
  background: rgba(200, 154, 75, 0.1);
  filter: blur(20px);
  z-index: -1;
}

.featured-showcase {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(92, 73, 84, 0.96), rgba(32, 23, 26, 0.96));
  box-shadow: var(--shadow);
}

.featured-copy {
  padding: 2rem 2rem 2rem 0;
}

.featured-copy .eyebrow,
.featured-copy h3,
.featured-copy p {
  color: #fff5ef;
}

.featured-copy .eyebrow {
  color: #f0c988;
}

.featured-copy .button-secondary {
  background: rgba(255, 246, 238, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(200, 154, 75, 0.14);
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.price-badge-featured {
  margin: 0 0 1.2rem;
  background: rgba(255, 255, 255, 0.14);
  color: #f5d39f;
}

.featured-image-wrap {
  position: relative;
}

.featured-image-wrap::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -22px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(200, 154, 75, 0.26);
  filter: blur(6px);
}

.featured-image {
  position: relative;
  width: 100%;
  min-height: 650px;
  object-fit: contain;
  border-radius: 0;
  background: #f6eee6;
  box-shadow: var(--shadow);
}

.collection-grid {
  column-count: 3;
  column-gap: 1.25rem;
}

.painting-card {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(24, 19, 17, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 249, 244, 0.94), rgba(249, 238, 230, 0.92));
  box-shadow: 0 18px 44px rgba(26, 20, 17, 0.08);
  margin: 0 0 1.25rem;
  break-inside: avoid;
}

.painting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px rgba(26, 20, 17, 0.12);
}

.painting-card-offset {
  margin-top: 0;
}

.painting-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  cursor: zoom-in;
  background: #f6eee6;
  padding: 0.75rem 0.75rem 0;
  border-radius: 0;
}

.painting-image-contain {
  object-fit: contain;
}

.painting-card-tall .painting-image {
  height: 520px;
}

.painting-card-medium .painting-image {
  height: 420px;
}

.painting-card-wide .painting-image {
  height: 340px;
}

.painting-copy {
  padding: 1.35rem;
}

.painting-heading {
  position: relative;
  display: block;
  min-height: 4.5rem;
  padding-right: 6.5rem;
  margin-bottom: 0.65rem;
}

.painting-size {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.painting-card:nth-child(1) .painting-copy h3 {
  color: #8c5f62;
}

.painting-card:nth-child(2) .painting-copy h3 {
  color: #4f5b4b;
}

.painting-card:nth-child(3) .painting-copy h3 {
  color: var(--gold-deep);
}

.painting-copy h3 {
  margin-bottom: 0;
  max-width: 100%;
  font-size: clamp(1.65rem, 2.3vw, 2.55rem);
  line-height: 0.92;
}

.painting-heading .price-badge {
  position: absolute;
  top: 0;
  right: 0;
}


.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid rgba(24, 19, 17, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 247, 241, 0.95), rgba(215, 167, 160, 0.18)),
    linear-gradient(180deg, rgba(191, 200, 181, 0.16), transparent);
  box-shadow: var(--shadow);
  text-align: center;
}

.site-footer {
  padding: 1rem 0 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 20, 20, 0.12);
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 11, 12, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0;
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 248, 243, 0.97);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0;
  background: #f3ece4;
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.25rem;
  color: var(--text);
  font-weight: 700;
}

.lightbox-price {
  color: var(--gold-deep);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 243, 0.96);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

  .hero,
  .about-layout,
  .featured-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 2.4rem;
    padding-top: 1.2rem;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  .featured-copy,
  .about-copy {
    padding-right: 0;
  }

  .featured-copy {
    padding: 0;
  }

  .painting-card-offset {
    margin-top: 0;
  }

  .collection-grid {
    column-count: 2;
  }

}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(180deg, #fff7f1 0%, #f6eee6 58%, #ead9d2 100%);
  }

  body::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%);
    opacity: 0.24;
  }

  .site-header {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.9rem;
    padding: 0.85rem 1rem 0.75rem;
    z-index: 60;
  }

  main,
  .site-footer {
    width: 100%;
    max-width: none;
    padding-inline: 1rem;
  }

  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 247, 241, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(24, 19, 17, 0.08);
  }

  .site-header.is-scrolled::after {
    inset: 0;
    height: auto;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .brand {
    font-size: 1.8rem;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 62;
  }

  .header-panel {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 1.2rem;
    padding: 5.6rem 1rem 1.5rem;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(246, 238, 230, 0.97));
    backdrop-filter: blur(20px);
    box-shadow: none;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 61;
  }

  .site-header.menu-open .header-panel {
    display: flex;
  }

  .site-header.menu-open::before {
    background: rgba(255, 247, 241, 0.98);
  }

  .site-nav {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .site-nav a {
    padding: 1rem 0.2rem;
    border-bottom: 1px solid rgba(24, 19, 17, 0.08);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .menu-close {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(24, 19, 17, 0.12);
    border-radius: 999px;
    background: rgba(255, 247, 241, 0.92);
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  .section {
    padding: 1.8rem 0;
  }

  .hero-signature,
  .about-notes,
  .hero-actions {
    flex-direction: column;
  }

  .hero-image {
    height: 460px;
  }

  .portrait-image {
    min-height: 380px;
  }

  .featured-image {
    min-height: 420px;
  }

  .painting-image {
    height: 300px;
    padding: 0.6rem 0.6rem 0;
  }

  .collection-grid {
    column-count: 1;
    column-gap: 0;
  }

  .painting-heading,
  .lightbox-caption {
    flex-direction: column;
  }

  .painting-heading {
    min-height: 0;
    padding-right: 0;
  }

  .painting-heading .price-badge {
    position: static;
    margin-top: 0.7rem;
  }

  .painting-card-tall .painting-image,
  .painting-card-medium .painting-image,
  .painting-card-wide .painting-image {
    height: 300px;
  }

  .contact-card {
    padding: 2rem 1.3rem;
  }
}
