:root {
 --primary-color: #e67e22; /* Warm Orange */
 --secondary-color: #22c55e; /* Fresh Green */
 --bg-light: #fef3c7; /* Cream */
 --bg-white: #ffffff;
 --bg-dark: #2c2a2a;
 --text-dark: #222222;
 --text-light: #555555;
 --text-serif: 'Cormorant Garamond', serif;
 --text-sans-serif: 'Inter', sans-serif;
 --border-color: #e5e7eb;
 --frame-border: #e0d9c4;
 --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
 --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
 --radius: 4px;
 --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

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

body {
 font-family: var(--text-sans-serif);
 color: var(--text-dark);
 background-color: var(--bg-white);
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--text-serif);
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

.container.narrow { max-width: 800px; }

/* --- BUTTONS --- */
.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 500;
 border-radius: var(--radius);
 text-align: center;
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
}

.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
 border-color: var(--primary-color);
}
.btn-primary:hover {
 background-color: #d35400; /* Darker orange */
 border-color: #d35400;
 transform: translateY(-2px);
}

.btn-secondary {
 background-color: transparent;
 color: var(--text-dark);
 border-color: var(--text-dark);
}
.btn-secondary:hover {
 background-color: var(--text-dark);
 color: var(--bg-white);
}

.btn-text {
 font-family: var(--text-sans-serif);
 font-weight: 600;
 color: var(--primary-color);
}
.btn-text:hover {
 text-decoration: underline;
}
.btn-lg {
 padding: 16px 36px;
 font-size: 1.1rem;
}

/* --- HEADER & NAVIGATION --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 transition: var(--transition);
}
.nav {
 height: 80px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.nav-logo {
 font-family: var(--text-serif);
 font-size: 1.75rem;
 font-weight: 600;
 color: var(--text-dark);
}
.nav-logo:hover {
 color: var(--primary-color);
}
.nav-links {
 display: flex;
 gap: 32px;
}
.nav-links a {
 font-size: 0.95rem;
 font-weight: 500;
 color: var(--text-light);
 padding: 5px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 1px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-links a.active, .nav-links a:hover {
 color: var(--text-dark);
}

.nav-toggle {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
}
.nav-toggle span {
 display: block; width: 25px; height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0; transition: var(--transition);
}

@media (max-width: 768px) {
 .nav-toggle { display: block; }
 .nav-links {
 position: absolute; top: 80px; left: 0; right: 0;
 flex-direction: column; align-items: center;
 background-color: var(--bg-white);
 padding: 2rem 0;
 gap: 1.5rem;
 box-shadow: var(--shadow-md);
 transform: translateY(-110%);
 transition: transform 0.4s ease-in-out;
 z-index: -1;
 }
 .nav-links.active { transform: translateY(0); }
}

/* --- SECTIONS --- */
main {
 padding-top: 80px;
}
.section {
 padding: 100px 0;
}
.section.light {
 background-color: #faf9f7;
}
.section-header.centered {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 60px;
}
.section-label {
 display: inline-block;
 margin-bottom: 1rem;
 font-size: 0.9rem;
 font-weight: 500;
 color: var(--primary-color);
 text-transform: uppercase;
 letter-spacing: 1px;
}
.section-title {
 margin-bottom: 1rem;
}
.section-subtitle {
 font-size: 1.1rem;
 line-height: 1.7;
}

/* ---- Art Gallery Layout ---- */

/* Hero Gallery */
.hero-gallery {
 min-height: calc(100vh - 80px);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 40px;
 background-color: #f7f6f2;
}
.hero-artwork-frame {
 position: relative;
 padding: 25px;
 background-color: var(--bg-white);
 box-shadow: 0 20px 50px rgba(0,0,0,0.1);
 border: 1px solid var(--frame-border);
}
.hero-artwork {
 width: 100%;
 max-height: 75vh;
 object-fit: cover;
}
.hero-placard {
 position: absolute;
 bottom: 50px;
 right: -50px;
 background-color: rgba(255, 255, 255, 0.95);
 padding: 2rem;
 max-width: 450px;
 box-shadow: var(--shadow-md);
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.hero-title {
 font-size: 2.5rem;
 margin-bottom: 1rem;
}
.hero-statement {
 font-style: italic;
 color: var(--text-light);
 margin-bottom: 1.5rem;
}
.hero-actions {
 display: flex;
 gap: 1rem;
 align-items: center;
}

/* Collection Grid */
.collection-section { background-color: #faf9f7; }
.collection-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 50px;
}
.collection-card-frame {
 background-color: #fff;
 padding: 15px;
 border: 1px solid var(--frame-border);
 margin-bottom: 1.5rem;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.collection-card-frame img {
 width: 100%;
 height: 250px;
 object-fit: cover;
}
.collection-card:hover .collection-card-frame {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.collection-card-label {
 text-align: center;
}
.collection-card-label h3 {
 font-family: var(--text-serif);
 margin-bottom: 0.5rem;
}

/* Artist Statement */
.artist-statement-section { background-color: var(--bg-white); }
.artist-statement-content p {
 font-family: var(--text-serif);
 font-size: 1.25rem;
 line-height: 1.8;
 color: var(--text-dark);
 margin-bottom: 2rem;
 text-align: center;
}
.statement-signature {
 text-align: center;
 font-family: var(--text-serif);
 font-size: 1.1rem;
 font-style: italic;
 color: var(--text-light);
 margin-top: 2rem;
}

/* Exhibit Section */
.exhibit {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
 margin-bottom: 100px;
}
.exhibit.reverse {
 grid-template-columns: 1fr 1fr;
}
.exhibit.reverse .exhibit-visual { grid-column: 2; grid-row: 1; }
.exhibit.reverse .exhibit-info { grid-column: 1; grid-row: 1; }
.exhibit-frame {
 padding: 20px;
 background-color: var(--bg-white);
 box-shadow: var(--shadow-md);
 border: 1px solid var(--frame-border);
}
.exhibit-visual img { width: 100%; height: auto; }
.exhibit-info h3 { font-size: 2rem; margin-bottom: 1rem; }
.exhibit-meta {
 font-size: 0.9rem;
 font-weight: 600;
 color: var(--primary-color);
 text-transform: uppercase;
 letter-spacing: 1px;
 display: block;
 margin-bottom: 1.5rem;
}

/* --- PAGE SPECIFIC STYLES --- */
.page-hero {
 padding: 80px 0;
 text-align: center;
 background-color: #faf9f7;
}
.page-hero-content h1 {
 font-size: 3.5rem;
}
.page-hero-content p {
 font-family: var(--text-serif);
 font-size: 1.3rem;
 color: var(--text-light);
 max-width: 600px;
 margin: 1rem auto 0;
}
.text-page h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.text-page ul { margin-left: 20px; list-style: disc; margin-bottom: 1rem; }
.text-page ul li { margin-bottom: 0.5rem; }
.text-page.centered { text-align: center; }

/* Services Page */
.services-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 40px;
}
.service-card {
 border: 1px solid var(--border-color);
 padding: 30px;
 transition: var(--transition);
}
.service-card:hover { 
 box-shadow: var(--shadow-md); 
 border-color: transparent;
 transform: translateY(-5px);
}
.service-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: 1rem; }

/* Timeline */
.timeline {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 30px;
 position: relative;
 margin-top: 40px;
}
.timeline::before {
 content: '';
 position: absolute;
 top: 22px;
 left: 5%;
 width: 90%;
 height: 1px;
 background-color: var(--border-color);
}
.timeline-step { position: relative; padding-top: 40px; }
.timeline-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem;}
.timeline-step p { font-size: 0.95rem; }
.timeline-step::before {
 content: '';
 position: absolute;
 top: 12px;
 left: 0;
 width: 20px;
 height: 20px;
 background-color: var(--bg-white);
 border: 2px solid var(--primary-color);
 border-radius: 50%;
}

/* Team Page */
.media-object { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media-visual img { border-radius: 4px; box-shadow: var(--shadow-md); }

.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}
.team-card {
 text-align: center;
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem;
 border: 4px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}
.team-title {
 color: var(--primary-color);
 font-weight: 500;
 font-size: 0.9rem;
 margin-bottom: 0.5rem;
}
.team-bio { font-size: 0.9rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-item h3 { margin-bottom: 0.5rem; }
.value-item p { font-size: 0.95rem; }

/* Portfolio Page */
.portfolio-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 50px;
}
.portfolio-card { transition: var(--transition); }
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-card-frame { padding: 15px; border: 1px solid var(--frame-border); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.portfolio-card-frame img { width: 100%; height: 300px; object-fit: cover; }
.portfolio-card-label h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.portfolio-category {
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--primary-color);
 letter-spacing: 0.5px;
 text-transform: uppercase;
 display: block;
 margin-bottom: 0.5rem;
}
.portfolio-card-label a { margin-top: 0.5rem; }

.testimonial-section { background-color: #faf9f7; }
.testimonial-quote {
 padding: 2rem;
 margin-bottom: 2rem;
}
.testimonial-quote blockquote {
 font-family: var(--text-serif);
 font-size: 1.5rem;
 font-style: italic;
 line-height: 1.6;
 text-align: center;
 margin-bottom: 2rem;
 color: var(--text-dark);
 position: relative;
}
.testimonial-quote blockquote::before {
 content: '“';
 position: absolute;
 top: -20px;
 left: 50%;
 transform: translateX(-50%);
 font-size: 5rem;
 color: var(--primary-color);
 opacity: 0.2;
}
.testimonial-quote cite {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 15px;
 font-style: normal;
}
.testimonial-quote cite img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
}
.testimonial-quote cite span {
 font-weight: 600;
 display: block;
}
.testimonial-quote cite p {
 font-size: 0.9rem;
 margin: 0;
}

/* Contact Page */
.contact-layout { display: grid; grid-template-columns: 2fr 1.2fr; gap: 60px; }
.contact-form-wrapper h3, .contact-info-wrapper h3 { margin-bottom: 0.5rem; }
.contact-form-wrapper p, .contact-info-wrapper p { margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}
.contact-info-block { margin-bottom: 1.5rem; }
.contact-info-block h4 { margin-bottom: 0.5rem; }
.contact-info-block p { font-size: 1rem; color: var(--text-light); margin-bottom: 0; line-height: 1.6; }

.map-container {
 width: 100%; height: 450px;
 border-radius: var(--radius); overflow: hidden;
 border: 10px solid var(--bg-white);
 box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.footer {
 background-color: var(--bg-dark);
 color: #a0a0a0;
 padding: 80px 0 40px;
 margin-top: 100px;
}
.footer-main {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 40px;
 margin-bottom: 60px;
}
.footer-column h4 {
 font-family: var(--text-sans-serif);
 color: var(--bg-white);
 font-size: 1rem;
 font-weight: 500;
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.footer-column.footer-brand .footer-logo {
 font-family: var(--text-serif);
 font-size: 1.75rem;
 color: var(--bg-white);
 display: block;
 margin-bottom: 1rem;
}
.footer-column ul { padding: 0; }
.footer-column ul li { margin-bottom: 0.8rem; }
.footer-column a { color: #a0a0a0; transition: var(--transition); }
.footer-column a:hover { color: var(--bg-white); }
.footer-column p { color: #a0a0a0; font-size: 0.95rem; margin-bottom: 0.5rem; }

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 40px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.footer-legal {
 display: flex; gap: 20px;
}

/* --- Cookie Banner --- */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: var(--bg-dark);
 color: #e0e0e0;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner div { display: flex; gap: 1rem; align-items: center; }
#cookie-banner button {
 padding: 8px 16px;
 background-color: var(--primary-color);
 color: white; border: none; cursor: pointer;
 border-radius: var(--radius);
}
#cookie-banner a { color: #fff; text-decoration: underline; }

/* Responsive adjustments */
@media (max-width: 1024px) {
 .collection-grid { grid-template-columns: repeat(2, 1fr); }
 .timeline { grid-template-columns: repeat(2, 1fr); }
 .values-grid { grid-template-columns: repeat(2, 1fr); }
 .exhibit, .exhibit.reverse { grid-template-columns: 1fr; }
 .exhibit.reverse .exhibit-visual { grid-column: 1; grid-row: 1; }
 .hero-placard {
 position: relative;
 bottom: 0;
 right: 0;
 max-width: 100%;
 margin-top: 2rem;
 }
}
@media (max-width: 768px) {
 .section { padding: 80px 0; }
 .collection-grid, .portfolio-grid { grid-template-columns: 1fr; }
 .services-grid { grid-template-columns: 1fr; }
 .media-object { grid-template-columns: 1fr; }
 .media-object .media-visual { order: -1; margin-bottom: 2rem; }
 .contact-layout { grid-template-columns: 1fr; }
 .footer-main { grid-template-columns: 1fr 1fr; }
 .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
 h1 { font-size: 2.5rem; }
 h2 { font-size: 2rem; }
}
@media (max-width: 576px) {
 .timeline { grid-template-columns: 1fr; }
 .values-grid { grid-template-columns: 1fr; }
 .footer-main { grid-template-columns: 1fr; }
 #cookie-banner { flex-direction: column; text-align: center; }
}