:root {
  --bg: #f6f7f5;
  --paper: #ffffff;
  --ink: #1f2a30;
  --muted: #64717a;
  --accent: #1f5a78;
  --accent-soft: #7d6653;
  --border: #dbe2e8;
  --shadow-soft: 0 10px 24px rgba(24, 39, 51, 0.08);
  --shadow-hover: 0 16px 32px rgba(24, 39, 51, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  font-family: Inter, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 90, 120, 0.08), transparent 40%),
    radial-gradient(circle at 84% 10%, rgba(125, 102, 83, 0.08), transparent 38%),
    var(--bg);
}

h1, h2, h3 {
  margin: 0 0 0.7rem;
  line-height: 1.22;
  font-family: Merriweather, Georgia, serif;
  color: #16394d;
}

h1 { font-size: clamp(1.9rem, 2.2vw + 1rem, 3rem); }
h2 { font-size: clamp(1.35rem, 1.2vw + 0.9rem, 1.9rem); }

p { margin: 0 0 1rem; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: #12364a;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .brand-logo {
    height: 32px;
  }

  .brand-text {
    display: none;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  color: #284b60;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  text-decoration: none;
  background: rgba(31, 90, 120, 0.12);
  color: #12364a;
}

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

.mobile-nav { display: none; }

.page {
  padding: clamp(1.4rem, 1.5vw + 0.9rem, 2.6rem) 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 2rem);
  margin-bottom: 2.8rem;
}

.hero-link {
  display: block;
}

.hero img,
.detail-image,
.portrait {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.1rem, 1.2vw + 0.6rem, 1.8rem);
  align-self: center;
}

.tagline {
  color: var(--accent-soft);
  font-size: 1.04rem;
  margin-bottom: 0.9rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #1d5875;
  background: #1f5a78;
  color: #f7fbff;
  border-radius: 999px;
  padding: 0.62rem 1.05rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  text-decoration: none;
  background: #18485f;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 54, 74, 0.2);
}

.button-subtle {
  background: transparent;
  color: #1a4f69;
  border-color: #7fa0b2;
  box-shadow: none;
}

.button-subtle:hover {
  background: rgba(31, 90, 120, 0.1);
  color: #12364a;
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
}

.card a {
  text-decoration: none;
  color: inherit;
}

.card h2,
.card h3 {
  margin-top: 0.75rem;
  font-size: 1.04rem;
}

.thumb-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #f2f5f7;
  aspect-ratio: 4 / 3;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.gallery-card {
  scroll-margin-top: 6rem;
}

.sold-badge {
  position: absolute;
  left: -2.1rem;
  top: 1rem;
  transform: rotate(-35deg);
  background: rgba(29, 40, 48, 0.76);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  padding: 0.25rem 2.4rem;
}

.intro,
.caption {
  color: var(--muted);
  font-size: 0.92rem;
}

.artwork-page figure {
  margin: 0;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.detail-nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-nav-bottom {
  margin-top: 2rem;
  margin-bottom: 0;
}

.detail-image {
  max-width: 90vw;
  margin: 0 auto;
  display: block;
}

.meta {
  margin-top: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.meta dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.meta dl > div {
  border-bottom: 1px solid #e7edf1;
  padding-bottom: 0.42rem;
}

.meta dt { font-weight: 700; }
.meta dd { margin: 0.15rem 0 0; }

.meta h3 {
  margin-top: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
}

.options-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.options-table th,
.options-table td {
  text-align: left;
  border-bottom: 1px solid #e7edf1;
  padding: 0.5rem 0.4rem;
  vertical-align: top;
}

.options-table th {
  font-family: Merriweather, Georgia, serif;
  font-size: 0.88rem;
  color: #2f4958;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2.2rem);
  align-items: start;
  margin-bottom: 2rem;
}

.about-gallery-fig {
  margin: 0;
}

.about-gallery-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  display: block;
}

.about-gallery-fig figcaption {
  margin-top: 0.45rem;
  font-size: 0.83rem;
  color: var(--muted);
  text-align: center;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.about-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 1.2vw + 0.6rem, 1.6rem);
}

.about-card h2 {
  margin-bottom: 0.75rem;
}

.about-card address {
  font-style: normal;
}

.about-hours {
  margin-top: 0.6rem;
  color: var(--ink);
}

.contact-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.contact-list li {
  margin-bottom: 0.3rem;
}

@media (max-width: 820px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-gallery-fig {
    order: -1;
  }

  .about-details {
    grid-template-columns: 1fr;
  }
}

.about .portrait {
  max-width: 520px;
  margin-bottom: 1.2rem;
}

.cta {
  margin-top: 1.6rem;
  border-left: 4px solid var(--accent-soft);
  border-radius: 0.25rem;
  padding: 0.25rem 0 0.25rem 1rem;
}

.pricing-disclaimer {
  margin-top: 1.4rem;
  padding: 0.75rem 1rem 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 4px solid #b0bec5;
  border-radius: 0.5rem;
  background: rgba(240, 244, 247, 0.6);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-disclaimer p {
  margin: 0;
}

.share-actions {
  margin-top: 1rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.share-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.share-button-facebook {
  background: #1877f2;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.18);
}

.share-button-facebook:hover {
  background: #1264cc;
  color: #ffffff;
}

.share-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-about {
  margin-top: 2.2rem;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .desktop-nav { display: none; }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    position: relative;
  }

  .mobile-nav summary {
    cursor: pointer;
    color: var(--accent);
    list-style: none;
    font-weight: 600;
    padding: 0.2rem 0.1rem;
  }

  .mobile-nav[open] {
    position: absolute;
    right: 0;
    top: 0.65rem;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    padding: 0.55rem;
    min-width: 10.5rem;
  }

  .mobile-nav a {
    display: block;
    margin-top: 0.3rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .meta dl {
    grid-template-columns: 1fr;
  }
}
