*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cream: #E8D1A7; --dark: #1a1714; --wine: #743014;
  --caramel: #84592B; --olive: #9D9167; --cocoa: #442D1C; --offwhite: #F2EAD8;
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; font-weight: 300; background: var(--offwhite); color: var(--dark); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 4rem; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: 0.7; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 1; }
nav.light { color: var(--dark); }
nav.dark { color: var(--offwhite); }

/* HERO */
.hero { height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 4rem; position: relative; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; filter: grayscale(30%); }
.hero-content { position: relative; z-index: 1; color: var(--offwhite); }
.hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.5rem; }
.hero-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(4rem, 10vw, 8rem); font-weight: 300; line-height: 0.9; margin-bottom: 2rem; }
.hero-name em { font-style: italic; color: var(--cream); }
.hero-sub { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.45; }
.hero-scroll { position: absolute; right: 4rem; bottom: 4rem; writing-mode: vertical-rl; font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.35; color: var(--offwhite); }

/* INTRO */
.intro { background: var(--offwhite); padding: 8rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.4; margin-bottom: 2rem; }
.intro-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.5; color: var(--cocoa); }
.intro-text em { font-style: italic; color: var(--wine); }
.intro-aside { font-size: 0.75rem; line-height: 2; opacity: 0.55; max-width: 320px; }

/* WORKS */
.works { background: var(--dark); padding: 6rem 4rem; color: var(--offwhite); }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4rem; border-top: 0.5px solid rgba(232,209,167,0.2); padding-top: 2rem; }
.section-title { font-size: 0.75rem; font-weight: 300; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.5; }
.section-count { font-size: 0.6rem; letter-spacing: 0.15em; opacity: 0.3; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.work-cat { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; display: block; text-decoration: none; }
.work-cat:nth-child(1) { background: #2e1f12; }
.work-cat:nth-child(2) { background: #1e1a10; }
.work-cat:nth-child(3) { background: #28201a; }
.work-cat-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: grayscale(100%); transition: opacity 0.5s, transform 0.6s; }
.work-cat:hover .work-cat-img { opacity: 0.35; transform: scale(1.03); }
.work-cat-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(232,209,167,0); transition: background 0.4s; }
.work-cat:hover .work-cat-line { background: rgba(232,209,167,0.4); }
.work-cat-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.75rem; }
.work-cat-num { font-size: 0.55rem; letter-spacing: 0.3em; color: rgba(232,209,167,0.3); margin-bottom: 0.75rem; display: block; }
.work-cat-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: #E8D1A7; line-height: 1; display: block; margin-bottom: 0.75rem; }
.work-cat-name em { font-style: italic; }
.work-cat-arrow { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,209,167,0); transition: color 0.4s; display: flex; align-items: center; gap: 0.5rem; }
.work-cat-arrow::before { content: ''; display: block; width: 20px; height: 0.5px; background: currentColor; }
.work-cat:hover .work-cat-arrow { color: rgba(232,209,167,0.6); }

/* STATEMENT */
.statement { background: var(--offwhite); padding: 10rem 4rem; text-align: center; }
.statement-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; font-style: italic; line-height: 1.4; color: var(--cocoa); max-width: 780px; margin: 0 auto 2rem; }
.statement-attr { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.35; }

/* ABOUT PREVIEW */
.about-preview { background: var(--caramel); padding: 8rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-portrait { aspect-ratio: 3/4; overflow: hidden; background: var(--cocoa); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.5s; }
.about-content { color: var(--offwhite); padding-top: 2rem; }
.about-name { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; line-height: 1; margin-bottom: 2rem; }
.about-bio { font-size: 0.78rem; line-height: 2; opacity: 0.75; margin-bottom: 2.5rem; }
.about-link { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 0.5px solid rgba(232,209,167,0.4); padding-bottom: 0.2rem; transition: opacity 0.3s; opacity: 0.7; }
.about-link:hover { opacity: 1; }

/* CONTACT */
.contact { background: var(--dark); padding: 8rem 4rem; color: var(--offwhite); text-align: center; }
.contact-heading { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 6rem); font-weight: 300; line-height: 1; margin-bottom: 3rem; }
.contact-heading em { font-style: italic; color: var(--cream); }
.contact-email { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.5; text-decoration: none; color: inherit; border-bottom: 0.5px solid rgba(232,209,167,0.3); padding-bottom: 0.25rem; transition: opacity 0.3s; display: inline-block; margin-bottom: 4rem; }
.contact-email:hover { opacity: 0.9; }

/* FOOTER */
footer { background: var(--dark); border-top: 0.5px solid rgba(232,209,167,0.1); padding: 2rem 4rem; display: flex; justify-content: space-between; align-items: center; color: var(--offwhite); }
footer p { font-size: 0.6rem; letter-spacing: 0.12em; opacity: 0.25; }
.footer-social { display: flex; gap: 2rem; list-style: none; }
.footer-social a { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.25; color: var(--offwhite); text-decoration: none; transition: opacity 0.3s; }
.footer-social a:hover { opacity: 0.7; }

/* GALLERY HERO */
.gallery-hero { min-height: 50vh; background: var(--dark); display: flex; flex-direction: column; justify-content: flex-end; padding: 4rem; color: var(--offwhite); position: relative; }
.gallery-back { position: absolute; top: 6rem; left: 4rem; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,209,167,0.45); text-decoration: none; display: flex; align-items: center; gap: 0.75rem; transition: color 0.3s; }
.gallery-back::before { content: ''; display: block; width: 16px; height: 0.5px; background: currentColor; }
.gallery-back:hover { color: rgba(232,209,167,0.9); }
.gallery-num { font-size: 0.55rem; letter-spacing: 0.3em; opacity: 0.3; margin-bottom: 0.5rem; }

/* GALLERY GRID with lightbox */
.gallery-section { background: var(--dark); padding: 3rem 4rem 5rem; }
.gallery-desc { font-size: 0.72rem; line-height: 2; opacity: 0.45; max-width: 520px; color: var(--offwhite); margin-bottom: 3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.g-item { position: relative; overflow: hidden; cursor: pointer; background: #2a2018; }
.g-item:nth-child(odd):last-child:nth-child(odd) { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 250px; transition: opacity 0.3s, transform 0.5s; }
.g-item:hover img { opacity: 0.75; transform: scale(1.02); }
.g-item-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem 1.5rem; background: linear-gradient(transparent, rgba(20,15,10,0.8)); opacity: 0; transition: opacity 0.3s; }
.g-item:hover .g-item-info { opacity: 1; }
.g-item-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--offwhite); font-weight: 300; }
.g-item-meta { font-size: 0.58rem; letter-spacing: 0.1em; color: rgba(242,234,216,0.5); margin-top: 0.2rem; }
.g-item-views { font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(232,209,167,0.5); display: flex; align-items: center; gap: 0.4rem; float: right; }
.g-item-views::before { content: ''; display: block; width: 12px; height: 0.5px; background: currentColor; }

/* LIGHTBOX */
.lb { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(20,15,10,0.97); align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb-close { position: absolute; top: 1.75rem; right: 2rem; background: none; border: none; color: rgba(232,209,167,0.4); font-size: 1.1rem; cursor: pointer; transition: color 0.2s; padding: 0; }
.lb-close:hover { color: rgba(232,209,167,0.9); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(232,209,167,0.35); font-size: 1.4rem; cursor: pointer; padding: 1rem; transition: color 0.2s; }
.lb-arrow:hover { color: rgba(232,209,167,0.85); }
.lb-arrow:disabled { opacity: 0.1; cursor: default; }
.lb-arrow.left { left: 1rem; }
.lb-arrow.right { right: 1rem; }
.lb-inner { width: 100%; max-width: 800px; padding: 2rem 5rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.lb-img-wrap { width: 100%; max-height: 70vh; display: flex; align-items: center; justify-content: center; }
.lb-img-wrap img { max-width: 100%; max-height: 70vh; object-fit: contain; }
.lb-meta { text-align: center; color: var(--offwhite); }
.lb-meta-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; margin-bottom: 0.2rem; }
.lb-meta-sub { font-size: 0.58rem; letter-spacing: 0.15em; opacity: 0.3; }
.lb-dots { display: flex; gap: 6px; }
.lb-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(232,209,167,0.2); cursor: pointer; transition: background 0.2s; border: none; }
.lb-dot.active { background: rgba(232,209,167,0.65); }

/* SIMPLE LIGHTBOX (no carousel - for drawing) */
.slb { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(20,15,10,0.97); align-items: center; justify-content: center; cursor: pointer; }
.slb.open { display: flex; }
.slb-close { position: absolute; top: 1.75rem; right: 2rem; background: none; border: none; color: rgba(232,209,167,0.4); font-size: 1.1rem; cursor: pointer; transition: color 0.2s; }
.slb-close:hover { color: rgba(232,209,167,0.9); }
.slb img { max-width: 90vw; max-height: 85vh; object-fit: contain; cursor: default; }

/* ABOUT PAGE */
.about-page-hero { min-height: 50vh; background: var(--dark); display: flex; flex-direction: column; justify-content: flex-end; padding: 4rem; color: var(--offwhite); }
.about-page-content { background: var(--offwhite); padding: 8rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-page-portrait { position: sticky; top: 6rem; aspect-ratio: 3/4; overflow: hidden; background: var(--cocoa); }
.about-page-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-page-text p { font-size: 0.8rem; line-height: 2.2; opacity: 0.7; margin-bottom: 1.5rem; }
.about-details { border-top: 0.5px solid rgba(68,45,28,0.2); padding-top: 2rem; margin-top: 3rem; }
.about-detail-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 0.5px solid rgba(68,45,28,0.1); font-size: 0.65rem; letter-spacing: 0.08em; }
.about-detail-label { opacity: 0.4; text-transform: uppercase; letter-spacing: 0.15em; }
.about-detail-value { opacity: 0.75; }

/* DRAWING HUB */
.drawing-hub { background: var(--dark); padding: 6rem 4rem; color: var(--offwhite); }
.drawing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.drawing-cat { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; display: block; text-decoration: none; background: #2a2018; }
.drawing-cat-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(232,209,167,0); transition: background 0.4s; }
.drawing-cat:hover .drawing-cat-line { background: rgba(232,209,167,0.4); }
.drawing-cat-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.75rem; }
.drawing-cat-num { font-size: 0.55rem; letter-spacing: 0.3em; color: rgba(232,209,167,0.3); margin-bottom: 0.75rem; display: block; }
.drawing-cat-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: #E8D1A7; line-height: 1.1; display: block; margin-bottom: 0.75rem; }
.drawing-cat-name em { font-style: italic; }
.drawing-cat-arrow { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,209,167,0); transition: color 0.4s; display: flex; align-items: center; gap: 0.5rem; }
.drawing-cat-arrow::before { content: ''; display: block; width: 20px; height: 0.5px; background: currentColor; }
.drawing-cat:hover .drawing-cat-arrow { color: rgba(232,209,167,0.6); }
