:root {
  --bg: #050505;
  --panel: #0d0d0d;
  --text: #f5f1ea;
  --muted: #b8aea2;
  --line: rgba(255, 255, 255, 0.08);
  --soft: rgba(255, 255, 255, 0.04);
  --accent: #d6c1a2;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s ease, opacity 0.25s ease;
}

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

.hero-page,
.page-content {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 5rem;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero h1,
.page-intro h1,
.about-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  max-width: 8ch;
}

.hero-description,
.page-intro p,
.about-text p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 42rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0;
  min-width: unset;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.button::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.35rem;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, transform 0.25s ease;
  transform-origin: left;
}

.button:hover {
  color: var(--accent);
}

.button:hover::after {
  background: var(--accent);
  transform: scaleX(1.08);
}

.button.primary,
.button.secondary {
  background: transparent;
  color: var(--text);
  border: none;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #000;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.page-intro {
  padding: 4rem 0 2rem;
}

.page-intro h1,
.about-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.gallery-grid {
  padding: 1rem 0 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.art-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
}

.art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.art-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: black;
}

.art-info {
  padding: 1rem 1rem 1.2rem;
}

.art-info h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
}

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

.about-layout {
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #000;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
}

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

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 100%;
  }

  .site-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .brand {
    font-size: 1.7rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }
}
