@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #f0f4f8;
  --ink-light: #c5d1de;
  --cream: #121820;
  --paper: #0a0e14;
  --terracotta: #10b981;
  --terracotta-bright: #34d399;
  --gold: #e6a143;
  --gold-light: #f7cb78;
  --muted: #8b98a6;
  --dark-bg: #06090c;
  --dark-surface: #0e131b;
  --border-light: rgba(16, 185, 129, 0.22);
  --border-dark: rgba(255, 255, 255, 0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 6vw;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(to bottom, rgba(16, 9, 5, 0.85) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  height: 70px;
  background: rgba(20, 13, 9, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(210, 162, 88, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.25em;
}

.brand span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--gold-light);
}

.brand small {
  font-size: 8px;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.nav nav {
  display: flex;
  gap: 36px;
}

.nav nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav nav a:hover {
  color: #fff;
}

.nav nav a:hover::after {
  width: 100%;
}

.nav button {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero picture, .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(0.92) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(16, 9, 5, 0.88) 0%, rgba(16, 9, 5, 0.52) 42%, rgba(16, 9, 5, 0.18) 75%),
    linear-gradient(to top, rgba(16, 9, 5, 0.92) 0%, transparent 45%);
}

.sun-beam {
  position: absolute;
  right: 15%;
  top: 8%;
  width: 32vw;
  height: 32vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 138, 0.22), transparent 70%);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.canopy {
  position: absolute;
  top: 0;
  width: 45vw;
  height: 20vw;
  background: radial-gradient(ellipse, rgba(35, 60, 30, 0.2), transparent 70%);
  transform-origin: top center;
  animation: sway 7s ease-in-out infinite;
  pointer-events: none;
}

.canopy-a { left: -6%; }
.canopy-b { right: -5%; animation-delay: -3s; }

.dust span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 230, 185, 0.7);
  box-shadow: 0 0 6px rgba(255, 210, 140, 0.8);
  animation: floatDust linear infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 22vh 0 0 7vw;
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.38em;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

.eyebrow.dark {
  color: var(--terracotta);
}
.eyebrow.dark::before {
  background: var(--terracotta);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
}

.hero-content > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.primary, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 0;
}

.primary {
  background: var(--terracotta);
  color: #042f1e;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.primary:hover {
  background: var(--terracotta-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
}

.ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.primary.small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 10px;
}

/* FOLK NAV BAR */
.folk-nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 20px 4vw 16px;
  background: linear-gradient(to top, rgba(16, 9, 5, 0.98), rgba(16, 9, 5, 0.75));
  border-top: 1px solid rgba(210, 162, 88, 0.25);
  backdrop-filter: blur(12px);
}

.folk-nav a {
  min-width: 0;
  padding: 0 12px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-right: 1px dotted rgba(210, 162, 88, 0.4);
  transition: var(--transition);
}

.folk-nav a:last-child {
  border-right: 0;
}

.folk-nav img {
  width: 48px;
  height: 48px;
  color: var(--gold-light);
  filter: drop-shadow(0 0 10px rgba(247, 203, 120, 0.5)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

.folk-nav b, .folk-nav span {
  display: block;
}

.folk-nav b {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.folk-nav span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 300;
}

.folk-nav a:hover {
  transform: translateY(-4px);
}

.folk-nav a:hover img {
  transform: scale(1.14);
  filter: drop-shadow(0 0 16px rgba(247, 203, 120, 0.95)) drop-shadow(0 6px 14px rgba(230, 161, 67, 0.8));
}

/* SECTIONS COMMON */
.intro, .projects, .map-section, .contact, .studio-section {
  padding: 100px 7vw;
}

/* INTRO / STUDIO PHILOSOPHY */
.studio-section {
  background: var(--paper);
  border-bottom: 1px solid var(--border-light);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.studio-copy h2 {
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 1.02;
  margin-bottom: 24px;
  color: var(--ink);
}

.studio-copy p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
}

.studio-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.studio-tabs button {
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.studio-tabs button.active, .studio-tabs button:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.studio-tab-panel {
  display: none;
}

.studio-tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.studio-visual {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(26, 18, 11, 0.15);
}

.studio-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.studio-visual:hover img {
  transform: scale(1.04);
}

.studio-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(20, 13, 9, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
}

.studio-badge strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.studio-badge span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* PROJECTS SECTION */
.projects {
  background: var(--cream);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-head h2 {
  font-size: clamp(38px, 4.5vw, 70px);
  line-height: 1.05;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  padding: 8px 18px;
  border: 1px solid rgba(148, 61, 39, 0.3);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tabs button.active, .filter-tabs button:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--dark-surface);
  border: 1px solid rgba(16, 185, 129, 0.25);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.65);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .card-image-wrap img {
  transform: scale(1.07);
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 13, 9, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  font-weight: 600;
}

.card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--ink);
}

.card-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px dashed rgba(110, 94, 82, 0.2);
  margin-bottom: 20px;
  font-size: 11px;
  color: var(--muted);
}

.card-meta strong {
  color: var(--terracotta);
  font-family: var(--font-serif);
  font-size: 16px;
  display: block;
}

.card-btn {
  background: transparent;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  padding: 12px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.card-btn:hover {
  background: var(--terracotta);
  color: #fff;
}

/* MAP SECTION */
.map-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  background: var(--dark-bg);
  color: #fff;
}

.map-copy h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 16px;
}

.map-copy p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.city-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.city-filter button {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.city-filter button.active, .city-filter button:hover {
  background: var(--gold);
  color: var(--dark-bg);
  border-color: var(--gold);
}

.map-shell {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

#map {
  height: 650px;
  width: 100%;
  background: #d6ccbc;
}

.custom-pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.35);
  animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.project-panel {
  position: absolute;
  right: 24px;
  top: 24px;
  bottom: 24px;
  z-index: 700;
  width: min(380px, calc(100% - 48px));
  background: #fff;
  color: var(--ink);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(120%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
}

.project-panel.open {
  transform: translateX(0);
}

.project-panel > button {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--dark-bg);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.project-panel > button:hover {
  background: var(--terracotta);
}

.project-panel img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.panel-body {
  padding: 28px;
}

.panel-body span {
  color: var(--terracotta);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.panel-body h3 {
  margin: 10px 0 14px;
  font-size: 32px;
}

.panel-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.panel-stats {
  display: flex;
  gap: 36px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.panel-stats b {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--terracotta);
}

.panel-stats small {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* STATS SECTION */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 70px 7vw;
  background: var(--terracotta);
  color: #fff;
}

.stats div {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--gold-light);
}

.stats span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* CONTACT SECTION */
.contact {
  text-align: center;
  background: var(--paper);
}

.contact h2 {
  max-width: 920px;
  margin: 0 auto 36px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.05;
}

/* FOOTER */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 7vw;
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .brand span {
  color: var(--gold);
}

/* DIALOG / LIGHTBOX MODAL */
.project-modal {
  margin: auto;
  border: 1px solid rgba(217, 107, 39, 0.3);
  padding: 0;
  max-width: 860px;
  width: 90vw;
  background: var(--dark-surface);
  color: var(--ink);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  border-radius: 4px;
}

.project-modal::backdrop {
  background: rgba(16, 9, 5, 0.82);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(20, 13, 9, 0.85);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--terracotta);
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-tag {
  color: var(--terracotta);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.modal-body h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.modal-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.modal-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--terracotta);
}

.modal-stats small {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* SMOOTH SCROLL REVEAL SYSTEM */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* HAMBURGER MENU BUTTON */
.nav button#menuBtn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.nav button#menuBtn span {
  width: 100%;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* MOBILE DRAWER OVERLAY */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 9, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: min(340px, 85vw);
  height: 100%;
  background: var(--dark-surface);
  border-left: 1px solid rgba(210, 162, 88, 0.25);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

#drawerClose {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

#drawerClose:hover {
  transform: rotate(90deg);
  color: #fff;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.drawer-link {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 26px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
  display: inline-block;
  transform: translateX(10px);
  opacity: 0;
}

.mobile-drawer.open .drawer-link {
  transform: translateX(0);
  opacity: 1;
}

.mobile-drawer.open .drawer-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-drawer.open .drawer-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-drawer.open .drawer-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-drawer.open .drawer-link:nth-child(4) { transition-delay: 0.25s; }

.drawer-link:hover {
  color: var(--gold-light);
  transform: translateX(6px) !important;
}

.drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.drawer-footer a {
  color: var(--gold-light);
  text-decoration: none;
  display: block;
  margin-top: 6px;
}

/* PROJECT GRID FILTER ANIMATION */
.project-card {
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-card.fade-out {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}

.project-card.fade-in {
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ANIMATIONS */
@keyframes pulse {
  50% { opacity: 0.6; transform: scale(1.08); }
}

@keyframes sway {
  50% { transform: rotate(2deg) translateX(8px); }
}

@keyframes floatDust {
  from { transform: translateY(60px); opacity: 0; }
  20% { opacity: 0.85; }
  to { transform: translateY(-200px) translateX(50px); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .folk-nav {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 20px;
  }
  .folk-nav a:nth-child(4) {
    border-right: 0;
  }
  .map-section {
    grid-template-columns: 1fr;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-image-wrap img {
    height: 280px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nav nav {
    display: none;
  }
  .nav button#menuBtn {
    display: flex;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 16vh 6vw 0;
  }
  .hero h1 {
    font-size: 48px;
  }
  .folk-nav {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 4vw;
  }
  .folk-nav a:nth-child(even) {
    border-right: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 20px 0;
  }
  footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .map-shell, #map {
    height: 520px;
  }
}