:root {
  --bg: #f6f3ea;
  --surface: #fffdf7;
  --ink: #1d221f;
  --muted: #5b625e;
  --accent: #0d8a6c;
  --accent-2: #ef7d2d;
  --border: #d8d2c2;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(13, 138, 108, 0.18), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(239, 125, 45, 0.2), transparent 38%),
    var(--bg);
  line-height: 1.6;
}

.hero {
  min-height: 78vh;
  padding: 1.5rem 1rem 2.5rem;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    url("https://assets.hugoart.party/background.png") center/cover;
  border-bottom: 1px solid var(--border);
}

.top-nav {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: var(--ink);
}

.hero-content {
  max-width: 980px;
  margin: 6rem auto 0;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin: 0;
}

.hero-copy {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem 3.5rem;
}

.section {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-split {
  display: grid;
  gap: 1.4rem;
}

.gallery-group-title {
  margin: 1rem 0 0;
  font-size: 1.2rem;
}

#gallery .section-head p,
#company .company-head p {
  display: none;
}

.art-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.art-card-image-only {
  padding: 0;
}

.art-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #ece8dc;
  cursor: zoom-in;
}

.art-meta {
  padding: 0.85rem;
}

.art-title {
  margin: 0;
  font-size: 1.08rem;
}

.art-detail {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.art-description {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.art-description {
  display: none;
}

.company-list {
  padding-left: 1.2rem;
  margin-top: 0.8rem;
}

.product-spotlight {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1rem;
  align-items: stretch;
}

.product-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ece8dc;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 2000;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  border-radius: 999px;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-caption {
  margin-top: 0.7rem;
  text-align: center;
  color: #f7f7f7;
}

.product-copy {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
}

.product-copy h3 {
  margin-top: 0;
}

.mystery-note {
  margin-top: 0.7rem;
  font-style: italic;
  color: #3e443f;
}

.company-head {
  margin-top: 1.2rem;
}

.notice {
  margin-top: 1rem;
  border-left: 4px solid var(--accent-2);
  padding-left: 0.8rem;
  color: #3f3428;
}

.status {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    min-height: 62vh;
  }

  .hero-content {
    margin-top: 3rem;
  }

  .top-nav {
    justify-content: center;
  }

  .product-spotlight {
    grid-template-columns: 1fr;
  }
}
