/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F7F5F2;
  --card-bg: #FFFFFF;
  --border: #DEDAD5;
  --text: #1A1A1A;
  --text-secondary: #6B6560;
  --accent: #C4622D;
  --accent-dark: #A8501F;
  --nav-height: 56px;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* ─── Typography helpers ───────────────────────────────────── */
.t-nav {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 13px);
}

.t-collection {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.10em;
}

.t-body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

/* ─── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-logo:hover {
  color: var(--accent);
  transition: color 200ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text);
  transition: color 200ms ease;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

/* Work dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: default;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  font-size: clamp(11px, 1.2vw, 13px);
  text-transform: none;
  color: var(--text);
  transition: color 200ms ease;
  border-bottom: 1px solid var(--border);
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  color: var(--accent);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: background 200ms ease;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 150ms ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-family: 'Satoshi', sans-serif;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

.mobile-nav a {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.10em;
  font-size: clamp(22px, 5vw, 36px);
  color: var(--text);
  transition: color 200ms ease;
}

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

.mobile-nav .mobile-nav-meta {
  margin-top: 16px;
  display: flex;
  gap: 24px;
}

.mobile-nav .mobile-nav-meta a {
  font-size: clamp(11px, 1.2vw, 13px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Page wrapper ─────────────────────────────────────────── */
.page-content {
  padding-top: var(--nav-height);
  flex: 1;
}

/* ─── Home page ────────────────────────────────────────────── */
.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 40px 80px;
  position: relative;
}

.home-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  font-size: clamp(48px, 8vw, 110px);
  color: var(--text);
  line-height: 1.05;
}

.home-subtitle {
  margin-top: 16px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-secondary);
}

.home-collections {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.home-collection-list {
  list-style: none;
  text-align: center;
  position: relative;
  z-index: 2;
}

.home-collection-list li {
  line-height: 1.6;
}

.home-collection-list a {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.10em;
  font-size: clamp(28px, 4vw, 54px);
  color: var(--text);
  transition: color 200ms ease;
  display: inline-block;
}

.home-collection-list a:hover {
  color: var(--accent);
}

/* Hover preview image */
.home-preview-image {
  position: absolute;
  left: calc(50% + 260px);
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  max-width: 340px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  border: 1px solid var(--border);
  z-index: 1;
}

.home-preview-image.visible {
  opacity: 1;
}

.home-preview-image img {
  width: 100%;
  height: auto;
  display: block;
}

.home-divider {
  width: 100%;
  max-width: 1400px;
  margin: 80px auto 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-copy {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-social a {
  color: var(--text-secondary);
  transition: color 200ms ease;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ─── Collection page ──────────────────────────────────────── */
.collection-header {
  padding: 64px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.collection-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.10em;
  font-size: clamp(36px, 6vw, 76px);
  color: var(--text);
}

.collection-description {
  margin-top: 20px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
}

.collection-grid {
  padding: 0 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.painting-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 250ms ease;
  overflow: hidden;
}

.painting-card:hover {
  border-color: #6B6560;
}

.painting-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.painting-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
  display: block;
}

.painting-card:hover .painting-card-image img {
  transform: scale(1.02);
}

.painting-card-info {
  padding: 16px;
}

.painting-card-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.painting-card-meta {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Satoshi', sans-serif;
  font-size: 44px;
  color: #E8E2D9;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 8px 12px;
  transition: background 200ms ease, color 200ms ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.lightbox-image-wrap {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 250ms ease;
}

.lightbox-caption {
  margin-top: 20px;
  text-align: center;
}

.lightbox-caption-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  color: #E8E2D9;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.lightbox-caption-meta {
  margin-top: 6px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9A9490;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #E8E2D9;
  padding: 24px 20px;
  opacity: 0.7;
  transition: opacity 200ms ease, background 200ms ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 48px;
  height: 48px;
}

/* ─── About page ───────────────────────────────────────────── */
.about-layout {
  padding: 64px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: start;
}

.about-left {}

.about-statement {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  max-width: 620px;
  color: var(--text);
}

.about-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
  max-width: 620px;
}

.about-cv-heading {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-cv-section {
  margin-bottom: 32px;
}

.about-cv-section-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.about-cv-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.about-cv-entry:last-child {
  border-bottom: none;
}

.about-cv-entry-name {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about-cv-entry-year {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.about-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Contact page ─────────────────────────────────────────── */
.contact-wrap {
  padding: 80px 40px 80px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-heading {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.10em;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--text-secondary);
}

.form-input,
.form-textarea {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 14px 36px;
  border-radius: 0;
  transition: background 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-submit:hover {
  background: var(--accent-dark);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .home-preview-image {
    display: none;
  }

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

@media (max-width: 768px) {
  .site-nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.open {
    display: flex;
  }

  .home-hero {
    padding: 64px 24px 60px;
  }

  .home-collections {
    margin-top: 48px;
  }

  .home-divider {
    margin-top: 60px;
  }

  .collection-header {
    padding: 48px 24px 32px;
  }

  .collection-grid {
    padding: 0 24px 60px;
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 60px;
  }

  .about-right {
    order: -1;
  }

  .contact-wrap {
    padding: 60px 24px 60px;
  }

  .site-footer {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 48px 20px 48px;
  }

  .collection-grid {
    padding: 0 20px 48px;
    gap: 16px;
  }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}
