/* ═══════════════════════════════════════════════════
   Artisan Designs & More — Global Styles v2
   Improved contrast, readability, cross-browser
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;1,6..12,300;1,6..12,400&display=swap');

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

:root {
  --color-cream: #FAF7F2;
  --color-warm-white: #F3EDE3;
  --color-sand: #DDD4C4;
  --color-taupe: #8A7E72;
  --color-bronze: #6B5D4F;
  --color-text: #3D352E;
  --color-heading: #2A2420;
  --color-deep: #1A1715;
  --color-accent: #7A6448;
  --color-gold: #9E8559;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 1400px;
  --pad: 3.5rem;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: column; flex-direction: column;
}

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

/* ═══ NAVIGATION ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: space-between; justify-content: space-between;
  padding: 1.25rem var(--pad);
  background: rgba(250,247,242,.97);
  border-bottom: 1px solid rgba(138,126,114,.12);
  -webkit-transition: box-shadow .4s; transition: box-shadow .4s;
}
nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,.06); }

.nav-left {
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 400;
  letter-spacing: .04em; color: var(--color-heading);
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.logo em { font-style: italic; color: var(--color-accent); }

/* Facebook button — nav (small circle) */
.fb-link {
  display: -webkit-inline-flex; display: inline-flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-sand);
  -webkit-transition: all .3s; transition: all .3s;
  text-decoration: none;
  flex-shrink: 0;
}
.fb-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.fb-link svg {
  width: 14px; height: 14px;
  fill: var(--color-bronze);
  -webkit-transition: fill .3s; transition: fill .3s;
}
.fb-link:hover svg { fill: #fff; }

/* Facebook button — footer (prominent rounded rectangle) */
.fb-link-footer {
  display: -webkit-inline-flex; display: inline-flex;
  -webkit-align-items: center; align-items: center;
  gap: .55rem;
  padding: .55rem 1.1rem;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  text-decoration: none;
  -webkit-transition: all .3s; transition: all .3s;
  flex-shrink: 0;
}
.fb-link-footer svg {
  width: 16px; height: 16px;
  fill: #fff;
  flex-shrink: 0;
}
.fb-link-footer span {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: #fff;
}
.fb-link-footer:hover {
  background: var(--color-heading);
  border-color: var(--color-heading);
}

.nav-links {
  display: -webkit-flex; display: flex;
  gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-bronze); text-decoration: none;
  position: relative; padding-bottom: 2px;
  -webkit-transition: color .3s; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--color-gold);
  -webkit-transition: width .35s; transition: width .35s;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-heading); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; position: absolute; left: 0; right: 0;
  height: 2px; background: var(--color-heading);
  -webkit-transition: all .3s; transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.open span:nth-child(1) { top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { bottom: 50%; -webkit-transform: translateY(50%) rotate(-45deg); transform: translateY(50%) rotate(-45deg); }

/* ═══ HERO ═══ */
.hero {
  position: relative; width: 100%; height: 100vh;
  min-height: 500px; overflow: hidden; background: var(--color-deep);
}
.hero-slide {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0; -webkit-transition: opacity 1.2s; transition: opacity 1.2s;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  -o-object-fit: cover; object-fit: cover;
  -webkit-transform: scale(1.05); transform: scale(1.05);
}
.hero-slide.active img {
  -webkit-animation: heroZoom 8s ease-out forwards;
  animation: heroZoom 8s ease-out forwards;
}
@-webkit-keyframes heroZoom { from { -webkit-transform: scale(1.08); } to { -webkit-transform: scale(1); } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(26,23,21,.12) 0%, rgba(26,23,21,.32) 50%, rgba(26,23,21,.62) 100%);
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 var(--pad) 6rem; z-index: 2;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 300; color: #fff; line-height: 1.08;
  margin-bottom: .75rem; text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero-subtitle {
  font-size: clamp(.95rem, 1.3vw, 1.12rem);
  font-weight: 400; color: rgba(255,255,255,.88);
  max-width: 540px; line-height: 1.65;
}
.slide-text {
  position: absolute; bottom: 10rem; right: var(--pad); z-index: 3;
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,.82);
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  opacity: 0; -webkit-transform: translateY(10px); transform: translateY(10px);
  -webkit-transition: opacity .8s .3s, transform .8s .3s;
  transition: opacity .8s .3s, transform .8s .3s;
}
.hero-slide.active .slide-text { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }

.hero-indicators {
  position: absolute; bottom: 2.5rem; left: var(--pad); z-index: 5;
  display: -webkit-flex; display: flex; gap: .75rem;
}
.hero-dot {
  width: 32px; height: 3px; background: rgba(255,255,255,.35);
  border: none; cursor: pointer; border-radius: 2px;
  -webkit-transition: all .4s; transition: all .4s;
}
.hero-dot.active { background: #fff; width: 48px; }

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  padding: 10rem var(--pad) 4rem;
  text-align: center; position: relative;
  background: var(--color-warm-white);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-sand), transparent);
}
.page-hero .page-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-taupe); margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; color: var(--color-heading);
}
.page-hero .page-desc {
  font-size: 1.05rem; font-weight: 400;
  color: var(--color-text); max-width: 600px;
  margin: 1.25rem auto 0; line-height: 1.75;
}

/* ═══ CONTENT SECTIONS ═══ */
.section-pad { padding: 5rem var(--pad); max-width: var(--max-width); margin: 0 auto; }

.section-header {
  display: -webkit-flex; display: flex;
  -webkit-align-items: baseline; align-items: baseline;
  -webkit-justify-content: space-between; justify-content: space-between;
  margin-bottom: 2.5rem; border-bottom: 1px solid var(--color-sand); padding-bottom: 1.25rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; color: var(--color-heading);
}
.section-header a {
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-bronze); text-decoration: none;
  border-bottom: 1px solid var(--color-sand); padding-bottom: 2px;
  -webkit-transition: all .3s; transition: all .3s;
}
.section-header a:hover { color: var(--color-heading); border-color: var(--color-heading); }

/* Intro block */
.intro {
  padding: 6rem var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  max-width: var(--max-width); margin: 0 auto;
  -webkit-align-items: center; align-items: center;
}
.intro-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-taupe); margin-bottom: 1.25rem;
}
.intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.18;
  color: var(--color-heading); margin-bottom: 1.5rem;
}
.intro p {
  font-size: 1.05rem; font-weight: 400;
  line-height: 1.85; color: var(--color-text); max-width: 520px;
}
.intro p + p { margin-top: 1rem; }
.intro-image { position: relative; }
.intro-image img { width: 100%; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.intro-image::before {
  content: ''; position: absolute;
  top: -1.5rem; left: -1.5rem; width: 60%; height: 60%;
  border: 1px solid var(--color-sand); border-radius: 3px; z-index: -1;
}

/* ═══ GALLERY GRID — full gallery pages, 4 columns ═══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* ═══ FEATURED PREVIEW — home page, 4 large images in a single row ═══ */
.featured-section {
  padding: 0 1rem 5rem;
  max-width: 100%;
}
.featured-section .section-header {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  padding-left: calc(var(--pad) - 1rem);
  padding-right: calc(var(--pad) - 1rem);
}
.gallery-preview-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-preview-row .tile-overlay {
  background: linear-gradient(to top, rgba(26,23,21,.6) 0%, rgba(26,23,21,.08) 40%, transparent 60%);
}
.gallery-preview-row .tile-text {
  font-size: 1.35rem;
  bottom: 1.5rem; left: 1.75rem; right: 1.75rem;
}

/* ═══ TILE — simple, reliable structure ═══ */
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  background: var(--color-sand);
}
/* Image creates its own height — no pseudo-element tricks */
.gallery-tile img {
  display: block;
  width: 100%;
  height: 280px;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform .6s;
  transition: transform .6s;
}
.gallery-preview-row .gallery-tile img {
  height: 340px;
}
.gallery-tile:hover img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}
.tile-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26,23,21,.55) 0%, transparent 50%);
  opacity: 0; -webkit-transition: opacity .4s; transition: opacity .4s;
}
.gallery-tile:hover .tile-overlay { opacity: 1; }
.tile-text {
  position: absolute; bottom: 1rem; left: 1.25rem; right: 1.25rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: #fff;
  opacity: 0; -webkit-transform: translateY(8px); transform: translateY(8px);
  -webkit-transition: all .4s .1s; transition: all .4s .1s;
}
.gallery-tile:hover .tile-text { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }

/* ═══ LIGHTBOX ═══ */
.lightbox {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200; background: rgba(26,23,21,.95);
  -webkit-justify-content: center; justify-content: center;
  -webkit-align-items: center; align-items: center;
}
.lightbox.open { display: -webkit-flex; display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  -o-object-fit: contain; object-fit: contain;
  border-radius: 3px; box-shadow: 0 20px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2.2rem; color: rgba(255,255,255,.7);
  background: none; border: none; cursor: pointer;
  font-weight: 300; z-index: 210; line-height: 1;
  -webkit-transition: color .3s; transition: color .3s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute; top: 50%;
  -webkit-transform: translateY(-50%); transform: translateY(-50%);
  font-size: 2.5rem; color: rgba(255,255,255,.6);
  background: none; border: none; cursor: pointer;
  padding: 1rem; z-index: 210; line-height: 1;
  -webkit-transition: color .3s; transition: color .3s;
}
.lightbox-nav:hover { color: #fff; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-caption {
  position: absolute; bottom: 2rem; left: 0; right: 0;
  text-align: center; font-family: var(--font-display);
  font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,.75);
}

/* ═══ CTA BAND ═══ */
.cta-band { background: var(--color-deep); padding: 5rem var(--pad); text-align: center; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; color: var(--color-cream); margin-bottom: .75rem;
}
.cta-band p { font-size: 1.05rem; font-weight: 400; color: rgba(250,247,242,.7); margin-bottom: 2rem; }
.cta-btn {
  display: inline-block; padding: .9rem 2.5rem;
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-cream); border: 1px solid rgba(250,247,242,.4);
  text-decoration: none; border-radius: 2px;
  -webkit-transition: all .35s; transition: all .35s;
}
.cta-btn:hover { background: var(--color-cream); color: var(--color-heading); border-color: var(--color-cream); }

/* ═══ ARTIST PAGE ═══ */
.artist-content { padding: 5rem var(--pad); max-width: var(--max-width); margin: 0 auto; }
.artist-body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem;
  -webkit-align-items: start; align-items: start;
}
.artist-portrait { position: sticky; top: 7rem; }
.artist-portrait img { width: 100%; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.artist-text h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 500; color: var(--color-heading);
  margin-bottom: 1rem; margin-top: 2.5rem;
}
.artist-text h3:first-child { margin-top: 0; }
.artist-text p {
  font-size: 1.02rem; font-weight: 400;
  line-height: 1.85; color: var(--color-text); margin-bottom: 1rem;
}
.artist-text em { font-style: italic; color: var(--color-heading); }

/* Process */
.process-section { padding: 4rem var(--pad) 5rem; max-width: var(--max-width); margin: 0 auto; }
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; margin-top: 2.5rem;
}
.process-card {
  padding: 2rem; background: var(--color-warm-white);
  border-radius: 3px; border: 1px solid var(--color-sand);
}
.process-num { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--color-gold); margin-bottom: .75rem; }
.process-card h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--color-heading); margin-bottom: .5rem; }
.process-card p { font-size: .95rem; font-weight: 400; line-height: 1.75; color: var(--color-text); }

/* ═══ CONTACT PAGE ═══ */
.contact-content { padding: 5rem var(--pad); max-width: 800px; margin: 0 auto; text-align: center; }
.contact-methods {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 3rem;
}
.contact-card {
  padding: 3rem 2rem; background: var(--color-warm-white);
  border: 1px solid var(--color-sand); border-radius: 3px;
  -webkit-transition: transform .3s, box-shadow .3s; transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.contact-card .icon { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-gold); }
.contact-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--color-heading); margin-bottom: .5rem; }
.contact-card a, .contact-card p { font-size: 1rem; font-weight: 400; color: var(--color-text); text-decoration: none; line-height: 1.6; }
.contact-card a:hover { color: var(--color-heading); }
.contact-note {
  margin-top: 3rem; font-size: 1rem; font-weight: 400;
  color: var(--color-taupe); line-height: 1.75;
  max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ═══ FOOTER ═══ */
footer {
  padding: 2.5rem var(--pad);
  display: -webkit-flex; display: flex;
  -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-align-items: center; align-items: center;
  border-top: 1px solid var(--color-sand);
  font-size: .88rem; font-weight: 400; color: var(--color-taupe);
  margin-top: auto;
}
.footer-right {
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  gap: 1.25rem;
}
footer a { color: var(--color-bronze); text-decoration: none; -webkit-transition: color .3s; transition: color .3s; }
footer a:hover { color: var(--color-heading); }

/* ═══ FADE-IN ═══ */
.fade-up {
  opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px);
  -webkit-transition: opacity .7s, transform .7s; transition: opacity .7s, transform .7s;
}
.fade-up.visible { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --pad: 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: .72rem; letter-spacing: .1em; }
  .intro { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .artist-body { grid-template-columns: 1fr; }
  .artist-portrait { position: static; max-width: 350px; }
  .contact-methods { grid-template-columns: 1fr; }
  .gallery-preview-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview-row .gallery-tile img { height: 300px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh; background: var(--color-cream);
    -webkit-flex-direction: column; flex-direction: column;
    padding: 6rem 2rem 2rem; gap: 1.75rem;
    -webkit-transform: translateX(100%); transform: translateX(100%);
    -webkit-transition: transform .4s; transition: transform .4s;
    box-shadow: -10px 0 40px rgba(0,0,0,.08); z-index: 105;
  }
  .nav-links.open { -webkit-transform: translateX(0); transform: translateX(0); }
  .nav-links a { font-size: .9rem; }
  .hero { min-height: 85vh; }
  .hero-content { padding-bottom: 4.5rem; }
  .slide-text { right: var(--pad); bottom: 7.5rem; font-size: 1.05rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-preview-row { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-preview-row .tile-text { font-size: 1.05rem; bottom: 1rem; left: 1rem; right: 1rem; }
  .gallery-preview-row .gallery-tile img { height: 220px; }
  .gallery-grid .gallery-tile img { height: 180px; }
  .featured-section { padding: 0 .5rem 3rem; }
  footer { -webkit-flex-direction: column; flex-direction: column; gap: .75rem; text-align: center; }
  .footer-right { -webkit-flex-direction: column; flex-direction: column; gap: .5rem; }
}
