:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1b1b1b;
  --muted: #8a837e;
  --line: #ebe7e2;
  --accent: #d86a77;
  --accent-dark: #c95362;
  --shadow: 0 12px 30px rgba(22, 19, 16, 0.06);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(235, 231, 226, 0.85);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #59524d;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

.icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #6d6762;
  font-size: 0.95rem;
}

.icon-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.icon-link:hover {
  color: var(--accent);
  background: rgba(216, 106, 119, 0.08);
  transform: translateY(-2px);
}

.hero {
  padding: 74px 0 34px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #6f6862;
  line-height: 1.8;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #df7481, #c95362);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(201, 83, 98, 0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(201, 83, 98, 0.28);
}

.home-hero {
  padding: 120px 0 70px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.home-copy h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.home-copy p {
  max-width: 560px;
  color: #6f6862;
  line-height: 1.85;
  margin-bottom: 28px;
}

.home-art {
  position: relative;
  min-height: 620px;
}

.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-a { width: 52%; height: 330px; left: 0; top: 110px; }
.card-b { width: 46%; height: 290px; right: 0; top: 0; }
.card-c { width: 48%; height: 250px; right: 8%; bottom: 30px; }

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
}

.section-title p {
  max-width: 520px;
  color: #746c66;
  line-height: 1.8;
}

.preview-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 30px;
}

.preview-grid { padding: 20px 0 100px; }
.gallery-grid { padding: 40px 0 90px; }

.art-card {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.art-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.art-cover {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 0.82 / 1;
  margin-bottom: 16px;
}

.art-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  will-change: transform;
}

.art-cover::after {
  content: "View Artwork";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #2b2724;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.art-link:hover .art-cover img {
  transform: scale(1.05);
  filter: saturate(1.03);
}

.art-link:hover .art-cover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
}

.art-meta {
  text-align: center;
  padding: 0 8px;
}

.art-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.art-price {
  color: #736c66;
  font-size: 0.96rem;
  margin-bottom: 10px;
}

.art-desc {
  color: #8d847f;
  line-height: 1.65;
  font-size: 0.92rem;
  max-width: 280px;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  padding: 30px 0 90px;
}

.contact-panel,
.form-panel {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.contact-panel h2,
.form-panel h2,
.artwork-info h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.contact-panel h2,
.form-panel h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.contact-panel p,
.form-panel p {
  color: #746d67;
  line-height: 1.75;
}

.contact-list {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.contact-list div {
  color: #4d4742;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

input, textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: #fcfbfa;
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: rgba(216, 106, 119, 0.8);
  box-shadow: 0 0 0 4px rgba(216, 106, 119, 0.08);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.artwork-layout {
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: start;
}

.artwork-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.artwork-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.artwork-info h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 16px;
}

.artwork-price {
  font-size: 1.35rem;
  color: #514b46;
  margin-bottom: 24px;
}

.artwork-info p {
  color: #756d67;
  line-height: 1.85;
  margin-bottom: 26px;
}

.details-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  color: #4d4742;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-strip {
  border-top: 1px solid var(--line);
  padding: 34px 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.cta-strip p {
  color: #756d67;
  line-height: 1.7;
  max-width: 540px;
}

footer {
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: #877f79;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .home-hero,
  .contact-wrapper,
  .artwork-layout {
    grid-template-columns: 1fr;
  }

  .home-art {
    min-height: 520px;
  }
}

@media (max-width: 980px) {
  .preview-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1240px); }

  .header-inner {
    min-height: unset;
    padding: 16px 0;
    flex-direction: column;
  }

  nav { gap: 18px; }
  .icons { gap: 10px; }
  .hero { padding-top: 52px; }

  .preview-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .art-cover { aspect-ratio: 0.9 / 1; }
  .home-art { min-height: 430px; }

  .floating-card { border-radius: 16px; }
  .card-a { width: 54%; height: 230px; top: 70px; }
  .card-b { width: 46%; height: 200px; }
  .card-c { width: 50%; height: 180px; right: 4%; }
}
