@charset "UTF-8";

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

:root {
  --bg:         #141210;
  --bg-raised:  #1C1916;
  --bg-hover:   #242018;
  --text:       #F0EBD8;
  --muted:      #8A8278;
  --dim:        #5A5550;
  --border:     #2A2520;
  --yellow:     #F4C430;
  --amber:      #E8A020;
  --yellow-soft: rgba(244,196,48,0.08);

  --ff-body:    'Figtree', system-ui, sans-serif;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background-color: var(--bg);
  background-image: url('images/wavy-hex.svg');
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}



a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ── NAV ────────────────────────────────────────── */
.nav-wrapper {
  position: sticky;
  top: 0;
  background: rgba(28,25,22,0.96);
  backdrop-filter: blur(12px);
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: 1060px;
  margin: 0 auto;
}
.nav-logo a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--yellow);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo a:hover { opacity: 0.7; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* ── HAMBURGER ─────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-hamburger span:nth-child(1) { margin-bottom: 6px; }
.nav-hamburger span:nth-child(3) { margin-top: 6px; }

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.divider {
  height: 1px;
  background: var(--border);
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
}

/* ── INDEX INTRO ────────────────────────────────── */
.intro { padding: 100px 0 80px; }
.intro-name {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.hero-logo { height: 0.85em; width: auto; }
.intro-name span { color: var(--yellow); }
.intro-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.intro-desc {
  font-size: 1.1rem; color: var(--dim); max-width: 540px; line-height: 1.6;
}

/* ── INDEX WORK ─────────────────────────────────── */
.work-section { padding: 80px 0 100px; flex: 1; }
.work-header {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px;
}
.work-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow);
}
.work-link {
  font-size: 0.75rem; color: var(--muted); transition: color 0.25s;
}
.work-link:hover { color: var(--text); }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.work-card {
  display: flex; flex-direction: column; gap: 16px; cursor: pointer; flex: 0 0 100%;
}
.work-image {
  aspect-ratio: 3 / 4; background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden; position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-card:hover .work-image {
  border-color: var(--yellow); box-shadow: 0 12px 32px rgba(244,196,48,0.05);
}
.work-meta { display: flex; flex-direction: column; gap: 4px; padding: 0 4px; }
.work-title { font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--text); transition: color 0.4s; }
.work-card:hover .work-title { color: var(--yellow); }
.work-tag { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* ── SHARED PAGE HEADER ─────────────────────────── */
.page-header { padding: 56px 0 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.page-header.no-border { border-bottom: none; padding-bottom: 0; }
.page-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.page-header h1 { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1.05; color: var(--text); }
.page-header h1 em { font-style: italic; color: var(--yellow); }
.page-header p { margin-top: 14px; font-size: 0.88rem; color: var(--muted); max-width: 480px; line-height: 1.75; }

/* ── GALLERY PAGE ───────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter-pill { background: transparent; border: 1px solid var(--border); color: var(--muted); font-family: var(--ff-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 16px; border-radius: 4px; cursor: pointer; transition: border-color 0.25s, color 0.25s, background 0.25s; }
.filter-pill:hover, .filter-pill.active { border-color: var(--yellow); color: var(--yellow); }
.filter-pill.active { background: var(--yellow-soft); }
.gallery { padding: 40px 0 64px; flex: 1; }
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item { display: flex; flex-direction: column; break-inside: avoid; margin-bottom: 16px; position: relative; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.gallery-item:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(244,196,48,0.06); }
.art-placeholder { flex: 1; width: 100%; background: var(--bg-hover); display: flex; align-items: center; justify-content: center; }
.art-placeholder.h-sm  { height: 220px; }
.art-placeholder.h-md  { height: 300px; }
.art-placeholder.h-lg  { height: 400px; }
.art-placeholder.h-xl  { height: 500px; }
.art-placeholder-inner { text-align: center; }
.art-placeholder-inner .icon { font-size: 2rem; opacity: 0.1; display: block; margin-bottom: 8px; }
.art-placeholder-inner span { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.gallery-caption { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); }
.gallery-caption-title { font-family: var(--ff-display); font-style: italic; font-size: 0.9rem; color: var(--text); }
.gallery-caption-tag { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }

/* ── LIGHTBOX ───────────────────────────────────── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10,9,8,0.94); z-index: 999; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 800px; width: 100%; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lightbox-image { width: 100%; max-height: 70vh; background: var(--bg-hover); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.lightbox-body { padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lightbox-title { font-family: var(--ff-display); font-size: 1.4rem; font-style: italic; color: var(--text); margin-bottom: 4px; }
.lightbox-meta { font-size: 0.8rem; color: var(--muted); }
.lightbox-close { background: transparent; border: 1px solid var(--border); color: var(--muted); font-size: 1.2rem; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.25s, color 0.25s; }
.lightbox-close:hover { border-color: var(--yellow); color: var(--yellow); }

/* ── ABOUT PAGE ─────────────────────────────────── */
.about-main { display: grid; grid-template-columns: 320px 1fr; gap: 0; flex: 1; }
.about-left { border-right: 1px solid var(--border); padding: 56px 40px; display: flex; flex-direction: column; gap: 36px; }
.portrait { width: 100%; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.portrait img { width: 100%; height: auto; display: block; }
.quick-facts { display: flex; flex-direction: column; }
.quick-fact { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.quick-fact:first-child { border-top: 1px solid var(--border); }
.quick-fact-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quick-fact-value { font-size: 0.875rem; color: var(--text); text-align: right; }
.quick-fact-value.accent { color: var(--yellow); }
.about-right { padding: 56px 64px; display: flex; flex-direction: column; gap: 48px; }
.section-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.bio-headline { font-family: var(--ff-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.1; color: var(--text); margin-bottom: 24px; }
.bio-headline em { font-style: italic; color: var(--yellow); }
.bio-text { font-size: 0.95rem; color: var(--muted); line-height: 1.8; max-width: 600px; }
.bio-text + .bio-text { margin-top: 16px; }
.inner-divider { height: 1px; background: var(--border); }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-top: 32px; }
.skill-group-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; text-transform: uppercase; }
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.skill-list li { font-size: 0.85rem; color: var(--muted); padding-left: 16px; position: relative; }
.skill-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.tools-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tool-tag { background: var(--bg-raised); border: 1px solid var(--border); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; padding: 6px 14px; border-radius: 4px; transition: border-color 0.25s, color 0.25s; }
.tool-tag:hover { border-color: var(--yellow); color: var(--yellow); }

/* ── CONTACT PAGE ───────────────────────────────── */
.contact-body { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.socials-column { padding: 56px 48px 56px 0; border-right: 1px solid var(--border); }
.col-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.social-list { display: flex; flex-direction: column; gap: 4px; }
.social-link { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: padding-left 0.25s var(--ease); }
.social-link:first-child { border-top: 1px solid var(--border); }
.social-link:hover { padding-left: 8px; }
.social-link-left { display: flex; align-items: center; gap: 16px; }
.social-icon { width: 36px; height: 36px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted); transition: border-color 0.25s, color 0.25s, background 0.25s; flex-shrink: 0; }
.social-link:hover .social-icon { border-color: var(--yellow); color: var(--yellow); background: var(--yellow-soft); }
.social-name { font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; color: var(--text); transition: color 0.25s; }
.social-link:hover .social-name { color: var(--yellow); }
.social-handle { font-size: 0.78rem; color: var(--muted); margin-top: 1px; }
.social-arrow { font-size: 0.9rem; color: var(--dim); transition: color 0.25s, transform 0.25s; }
.social-link:hover .social-arrow { color: var(--yellow); transform: translate(3px, -3px); }
.email-column { padding: 56px 0 56px 48px; display: flex; flex-direction: column; gap: 48px; }
.email-display { display: flex; flex-direction: column; gap: 12px; }
.email-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.email-address { font-family: var(--ff-display); font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-style: italic; color: var(--yellow); word-break: break-all; transition: opacity 0.25s; }
.email-address:hover { opacity: 0.7; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--border); color: var(--muted); font-family: var(--ff-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 18px; border-radius: 4px; cursor: pointer; width: fit-content; transition: border-color 0.25s, color 0.25s, background 0.25s; }
.copy-btn:hover, .copy-btn.copied { border-color: var(--yellow); color: var(--yellow); }
.copy-btn.copied { background: var(--yellow-soft); }
.availability-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 6px; padding: 28px; }
.availability-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.availability-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.status-dot { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--muted); }
.availability-text { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.commission-types { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.commission-tag { background: var(--bg-hover); border: 1px solid var(--border); color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 4px; }

/* ── FOOTER ─────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 28px 48px; max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; }
.footer-logo { font-family: var(--ff-display); font-style: italic; font-size: 0.9rem; color: var(--dim); }
.footer-copy { font-size: 0.8rem; color: var(--dim); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.95rem; color: var(--muted); transition: color 0.25s; }
.footer-links a:hover { color: var(--yellow); }

/* ── ERROR PAGE ─────────────────────────────────── */
.error-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-img { width: 140px; height: auto; margin-bottom: 24px; opacity: 0.8; }
.error-title { font-family: var(--ff-display); font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; font-style: italic; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.error-text { font-size: 1.1rem; color: var(--muted); margin-bottom: 32px; }
.error-btn { background: transparent; border: 1px solid var(--border); color: var(--text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 12px 24px; border-radius: 4px; transition: border-color 0.25s, color 0.25s, background 0.25s; }
.error-btn:hover { border-color: var(--yellow); color: var(--bg); background: var(--yellow); }

/* ── TAG PILLS ──────────────────────────────────── */
.tag-pill {
  display: inline-block;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  width: fit-content;
}
.tag-pill.commission { color: var(--muted); }
.tag-pill.oc { color: var(--amber); }
.tag-pill.fanart { color: var(--yellow); }

/* ── RESPONSIVE ─────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .about-main { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .portrait { max-width: 260px; }
  .about-right { padding: 40px 24px; }
  .skills-grid { grid-template-columns: 1fr; }
  
  .gallery-grid { columns: 2; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .filter-bar { justify-content: flex-start; }
  
  .contact-body { grid-template-columns: 1fr; }
  .socials-column { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 0; }
  .email-column { padding: 40px 0; }
}

/* Mobile nav breakpoint */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; flex-direction: column; align-items: center; justify-content: center; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 80vw);
    height: 100vh;
    background: rgba(20, 18, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 105;
    border-left: 1px solid var(--border);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 104;
  }
  .nav-overlay.open {
    display: block;
  }

  .intro { padding: 60px 0; }
  .intro-name { gap: 16px; }
  .intro-subtitle { flex-wrap: wrap; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox { padding: 12px; }
  .lightbox-inner { border-radius: 6px; }
  .lightbox-body { padding: 16px; flex-direction: row; }
  .lightbox-title { font-size: 1.1rem; }
}

/* Small phones */
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .wrapper { padding-left: 20px; padding-right: 20px; }

  .nav-logo img { height: 36px; }

  .intro { padding: 40px 0 32px; }
  .intro-name { gap: 12px; }
  .intro-desc { font-size: 0.95rem; }
  .work-section { padding: 48px 0 64px; }
  .work-header { margin-bottom: 24px; }

  .gallery-grid { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 16px; 
    padding-bottom: 24px; 
    scrollbar-width: none; /* Firefox */
  }
  .gallery-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .gallery-item { 
    flex: 0 0 85%; 
    scroll-snap-align: center; 
    margin-bottom: 0; 
  }
  footer { padding: 20px; flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .footer-links a { font-size: 0.85rem; }
  .page-header { padding: 32px 0 24px; gap: 16px; }
  .page-header p { font-size: 0.82rem; }

  .about-left { padding: 32px 16px; gap: 24px; }
  .about-right { padding: 32px 16px; gap: 32px; }
  .portrait { max-width: 200px; }
  .bio-text { font-size: 0.88rem; }

  .socials-column { padding: 32px 0; }
  .email-column { padding: 32px 0; gap: 32px; }
  .social-link { padding: 16px 0; }
  .social-icon { width: 32px; height: 32px; font-size: 0.8rem; }
  .social-name { font-size: 0.95rem; }
  .social-handle { font-size: 0.72rem; }
  .availability-card { padding: 20px; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  *, *::before, *::after { transition: none !important; }
}


/* ── BOUNCE ANIMATION ──────────────────────────── */
@keyframes bounceUp {
  0% { opacity: 0; transform: translateY(60px); }
  60% { opacity: 1; transform: translateY(-10px); }
  80% { transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

.bounce-element {
  opacity: 0;
  will-change: transform, opacity;
}
.bounce-element.is-visible {
  animation: bounceUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.work-carousel {
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.work-carousel .carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overflow-anchor: none;
}
.work-carousel .carousel-track::-webkit-scrollbar {
  display: none;
}
.work-carousel .work-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
