/* Jonatan Espinoza - Custom styles */
:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #1b1b1b;
  --surface: #222;
  --text: #f5f1e8;
  --text-muted: #a8a297;
  --text-soft: #d6cfc0;
  --accent: #d4a24c;
  --accent-hover: #e9b65c;
  --accent-muted: #8a6d35;
  --line: #2a2a2a;
  --danger: #c75b3e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.serif { font-family: 'Playfair Display', Georgia, serif; }
.mono { font-family: 'Inter', sans-serif; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.75rem; font-weight: 500; }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-hover); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .2s ease;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-brand em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  border-radius: 2px;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--accent-hover); color: var(--bg); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 0.5rem; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }
  .nav.open .nav-cta { display: inline-block; margin-top: 1rem; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.95) 100%);
}
.hero-content {
  position: relative;
  padding: 6rem 2rem 5rem;
  width: 100%;
  z-index: 2;
}
.hero-eyebrow {
  color: var(--accent);
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 0 0 1.75rem;
  max-width: 900px;
  line-height: 1.05;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  border-radius: 2px;
  transition: all .18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(245, 241, 232, 0.35); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--bg-card); color: var(--text); border: 1px solid var(--line); }
.btn-dark:hover { border-color: var(--accent); color: var(--accent); }

/* SECTIONS */
.section { padding: 7rem 0; }
.section-dark { background: var(--bg); }
.section-soft { background: var(--bg-soft); }

.section-header { margin-bottom: 4rem; }
.section-eyebrow { color: var(--accent); letter-spacing: 0.25em; text-transform: uppercase; font-size: 0.78rem; font-weight: 500; margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); margin: 0 0 1rem; max-width: 720px; }
.section-lede { font-size: 1.2rem; color: var(--text-muted); max-width: 680px; line-height: 1.65; }

/* GRID */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2.25rem;
  border-radius: 4px;
  transition: all .2s ease;
}
.card:hover { border-color: var(--accent-muted); transform: translateY(-3px); }
.card h3 { font-size: 1.5rem; margin: 0 0 0.85rem; }
.card p { color: var(--text-muted); margin: 0 0 1.5rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: rgba(212, 162, 76, 0.12);
  color: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}
.card-link {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link::after { content: '→'; transition: transform .15s ease; }
.card-link:hover::after { transform: translateX(3px); }

/* FEATURE BLOCK */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 5rem 0;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-block img { width: 100%; height: auto; border-radius: 2px; }
.feature-block h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.feature-block p { color: var(--text-muted); margin: 0 0 1.5rem; line-height: 1.75; }
@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-block.reverse { direction: ltr; }
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .2s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { color: var(--text); }
.gallery-item-caption .serif { font-size: 1.15rem; margin-bottom: 0.25rem; }
.gallery-item-caption small { color: var(--text-muted); font-size: 0.75rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

/* IMPACT STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin: 4rem 0;
}
.stat { border-left: 2px solid var(--accent); padding-left: 1.5rem; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1;
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* TIMELINE */
.timeline { position: relative; padding-left: 2rem; border-left: 1px solid var(--line); }
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem; top: 0.5rem;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.timeline-item p { color: var(--text-soft); line-height: 1.65; }

/* QUOTE */
.quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
  max-width: 840px;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 3rem 0;
}
.quote::before { content: '"'; color: var(--accent); font-size: 2em; line-height: 0; position: relative; top: 0.25em; margin-right: 0.15em; }

/* FORM */
.form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent);
}
.form textarea { min-height: 130px; resize: vertical; }

/* FOOTER */
.footer {
  background: #060606;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid var(--line);
  margin-top: 6rem;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .serif { font-size: 1.4rem; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 320px; line-height: 1.6; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: var(--text-soft); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* INQUIRY PATHS */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; } }

.path-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  padding: 2.25rem;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.path-card:hover { transform: translateY(-3px); border-color: var(--accent-muted); }
.path-card:hover::before { transform: scaleX(1); }
.path-card .mono { color: var(--accent); margin-bottom: 1rem; display: block; }
.path-card h3 { font-size: 1.5rem; margin: 0 0 0.85rem; }
.path-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1.5rem; line-height: 1.65; }
.path-card a { font-size: 0.82rem; }

/* STATUS BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(212, 162, 76, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* UTILITIES */
.text-center { text-align: center; }
.max-w-prose { max-width: 720px; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.accent { color: var(--accent); }
.muted { color: var(--text-muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 4rem 0; }

/* PAGE HEADER (non-hero) */
.page-header {
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin: 0 0 1.25rem; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 760px; line-height: 1.65; margin: 0; }

/* SCROLL ANCHOR OFFSET FOR FIXED NAV */
section[id], div[id] { scroll-margin-top: 88px; }

/* SIGNATURE AS NAV BRAND */
.nav-signature {
  height: 68px;
  width: auto;
  display: block;
  filter: invert(1);
  opacity: 0.95;
  transition: opacity 0.2s ease;
  margin: -12px 0;
}
.nav-brand:hover .nav-signature { opacity: 1; }
@media (max-width: 820px) {
  .nav-signature { height: 52px; margin: -8px 0; }
}

/* IMPACT EDITIONS NAV ACCENT */
.nav-links a.nav-featured {
  color: var(--accent);
  position: relative;
}
.nav-links a.nav-featured::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* MEET THE ARTIST PORTRAIT BLOCK */
.section-portrait {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.portrait-block {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 4rem;
  align-items: center;
}
.portrait-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.portrait-copy .section-eyebrow { margin-bottom: 1rem; }
.portrait-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.portrait-copy p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.portrait-copy .card-link { margin-top: 0.5rem; display: inline-block; }
@media (max-width: 820px) {
  .portrait-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* FEATURED WORK ARTWORK BLOCK */
.section-artwork {
  padding: 6rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.artwork-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.artwork-image {
  position: relative;
  overflow: hidden;
  background: #000;
}
.artwork-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.artwork-image:hover img { transform: scale(1.02); }
.artwork-copy .section-eyebrow { margin-bottom: 1rem; }
.artwork-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.artwork-copy p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.artwork-copy .btn { margin-top: 1rem; }
@media (max-width: 820px) {
  .artwork-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* COMING SOON PILL */
.coming-soon {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 162, 76, 0.10);
  border: 1px solid rgba(212, 162, 76, 0.35);
  border-radius: 2px;
  padding: 0.35rem 0.75rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.path-card .coming-soon {
  margin-left: 0;
  margin-bottom: 0.85rem;
}

/* FEATURED PATH CARD */
.path-card-featured {
  border-color: var(--accent-muted);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
}
.path-card-featured::before {
  transform: scaleX(1);
}
.path-card-featured .mono { color: var(--accent); }

/* SIGNATURE ANCHOR AT PAGE BOTTOM */
.section-signature {
  padding: 7rem 0 6rem;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
}
.section-signature::before {
  content: "The Artist's Mark";
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0.85;
}
.signature-anchor {
  height: 220px;
  width: auto;
  max-width: 88%;
  opacity: 0.95;
  filter: invert(1);
  transition: transform 0.4s ease;
}
.signature-anchor:hover { transform: scale(1.02); }
@media (max-width: 820px) {
  .section-signature { padding: 5rem 0 4.5rem; }
  .signature-anchor { height: 150px; }
}
@media (max-width: 480px) {
  .signature-anchor { height: 110px; }
}
