/* Hot Eye Art – clean, minimal, craft-focused */

:root {
  --bg: #f9f7f4;
  --bg-warm: #f3efe8;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #292524;
  --border: #e7e5e4;
  --white: #ffffff;
  --max-width: 1200px;
  --header-h: 72px;
  --base-font-size: 16px;   /* controlled by content.js / admin */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--base-font-size);
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.logo-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36em;
}

.btn-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.btn-text:hover {
  opacity: 0.7;
}

/* Works */
.works-section {
  padding: 3rem 1.5rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem 1.5rem;
}

.gallery-item {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.img-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .img-wrap img {
  transform: scale(1.03);
}

.item-meta {
  padding: 0.85rem 0.1rem 0;
}

.item-meta h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.item-meta p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* About */
.about-section {
  background: var(--bg-warm);
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  max-width: 38em;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}

.fact h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.fact p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Inquire */
.inquire-section {
  padding: 5.5rem 1.5rem;
  text-align: center;
}

.inquire-inner {
  max-width: 520px;
  margin: 0 auto;
}

.inquire-inner h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.inquire-inner > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #1c1917;
  transform: translateY(-1px);
}

.note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand .logo-name {
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 10, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: min(900px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-height: 75vh;
  width: auto;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.lightbox-caption h3 {
  font-size: 1.25rem;
  color: #fafaf9;
}

.lightbox-caption p {
  font-size: 0.875rem;
  color: #a8a29e;
  margin-top: 0.25rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fafaf9;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.25rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 800px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem 1rem;
  }

  .main-nav {
    gap: 1.25rem;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0 1rem;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .main-nav a {
    font-size: 0.8125rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.75rem;
  }

  .item-meta h3 {
    font-size: 0.95rem;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
  }
}
