/* ============================================================
   NATALIA MILANESI — Main Stylesheet
   Dark & Cinematic | Cormorant Garamond + Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&family=Josefin+Sans:wght@100;200;300&display=swap');

/* ---- Variables ---- */
:root {
  --bg:        #080808;
  --bg-card:   #111111;
  --bg-hover:  #1a1a1a;
  --white:     #ffffff;
  --muted:     #6e6e6e;
  --muted-lt:  #9a9a9a;
  --accent:    #c4a35a;
  --accent-lt: #d4b76a;
  --border:    #1e1e1e;
  --nav-h:     76px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  gap: 38px;
}
.nav-links a {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 38px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn-gold {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-gold:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}
/* Wrap bg + overlay so scale() is clipped without clipping the text */
.hero-bg-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.28);
  transform: scale(1.05);
  transition: transform 14s ease;
}
.hero:hover .hero-bg { transform: scale(1.08); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,8,8,0.15) 0%,
    rgba(8,8,8,0.02) 35%,
    rgba(8,8,8,0.65) 80%,
    var(--bg) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 24px 60px;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-subtitle {
  margin-bottom: auto;
}
.hero-logo {
  width: 68px;
  margin-bottom: 48px;
  opacity: 0.85;
}
.hero-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 100;
  font-style: normal;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-lt);
  margin-bottom: 56px;
  line-height: 2.2;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(var(--accent), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}

/* ============================================================
   PAGE HERO — Inner pages
   ============================================================ */
.page-hero {
  height: 56vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 68px;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.1) 0%, rgba(8,8,8,0.88) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.07em;
  line-height: 1;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 64px;
}
.section-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-divider {
  width: 50px; height: 1px;
  background: var(--accent);
  margin-bottom: 52px;
}
.text-body {
  color: var(--muted-lt);
  font-size: 0.88rem;
  line-height: 1.95;
}
.text-body + .text-body { margin-top: 20px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 52px 30px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-card); }
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   HOME — ABOUT TEASER
   ============================================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
}
.about-photo-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.88);
}
.about-photo-wrap::before {
  content: '';
  position: absolute;
  top: -14px; right: -14px;
  bottom: 14px; left: 14px;
  border: 1px solid var(--accent);
  opacity: 0.35;
  z-index: -1;
}

/* ============================================================
   HOME — FEATURE CARDS
   ============================================================ */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.home-feature-card {
  position: relative;
  overflow: hidden;
  display: block;
}
.home-feature-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.45) grayscale(20%);
  transition: all 0.6s ease;
}
.home-feature-card:hover img {
  filter: brightness(0.3) grayscale(0%);
  transform: scale(1.05);
}
.home-feature-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px;
  background: linear-gradient(0deg, rgba(8,8,8,0.92) 0%, transparent 55%);
}
.home-feature-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.home-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
}
.home-feature-arrow {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
.home-feature-card:hover .home-feature-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============================================================
   ARTISTS GRID
   ============================================================ */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.artist-item { text-align: center; }
.artist-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.72);
  transition: all 0.4s ease;
  margin-bottom: 10px;
}
.artist-item:hover img { filter: grayscale(0%) brightness(0.95); }
.artist-name {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   DARK BAND
   ============================================================ */
.band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 88px 64px;
  text-align: center;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 90px;
  align-items: start;
}
.about-sticky-photo {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.about-sticky-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.88);
}
.about-sticky-photo .photo-caption {
  margin-top: 16px;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}
.credential {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.3s;
}
.credential:hover { background: var(--bg-card); }
.credential-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.credential-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.3;
}
.credential-text {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull-quote {
  border-left: 2px solid var(--accent);
  padding: 18px 38px;
  margin: 64px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted-lt);
  max-width: 680px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  width: fit-content;
  margin-bottom: 56px;
}
.filter-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:last-child { border-right: none; }
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.72) grayscale(15%);
  transition: all 0.5s ease;
}
.project-card:hover img {
  filter: brightness(0.5) grayscale(0%);
  transform: scale(1.04);
}
.project-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 22px 22px;
  background: linear-gradient(0deg, rgba(8,8,8,0.96) 0%, transparent 100%);
  transform: translateY(8px);
  opacity: 0.88;
  transition: all 0.4s;
}
.project-card:hover .project-card-info {
  transform: translateY(0);
  opacity: 1;
}
.project-role {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.project-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
}
.project-card.hidden { display: none; }

/* ============================================================
   CARD MODAL (shared by project & artist cards)
   ============================================================ */
.card-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.card-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.card-modal {
  background: #111;
  border: 1px solid rgba(196,163,90,0.2);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  position: relative;
  transform: translateY(18px);
  transition: transform 0.35s ease;
}
.card-modal-overlay.is-open .card-modal {
  transform: translateY(0);
}
.card-modal-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.card-modal-body {
  padding: 48px 40px 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-modal-role {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}
.card-modal-desc {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted-lt);
}
.card-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
  transition: color 0.2s;
  z-index: 1;
}
.card-modal-close:hover { color: var(--accent); }

/* Artist cards — click indicator */
.artist-item { cursor: pointer; }
.artist-item:hover .artist-name { color: var(--accent); }

/* Responsive modal */
@media (max-width: 640px) {
  .card-modal { grid-template-columns: 1fr; }
  .card-modal-img { min-height: 220px; height: 220px; }
  .card-modal-body { padding: 28px 24px; }
}

/* ============================================================
   INNOVATION & TECHNOLOGY
   ============================================================ */
.tech-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.tech-intro-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.8);
}
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 60px 0;
}
.tech-pillar {
  background: var(--bg);
  padding: 48px 34px;
  transition: background 0.3s;
}
.tech-pillar:hover { background: var(--bg-card); }
.tech-pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.8rem;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 18px;
  line-height: 1;
}
.tech-pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.2;
}
.tech-pillar-text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.85;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: 40px;
}
.edu-item {
  position: relative;
  overflow: hidden;
}
.edu-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(0.5) grayscale(20%);
  transition: all 0.5s;
}
.edu-item:hover img { filter: brightness(0.35) grayscale(0%); transform: scale(1.04); }
.edu-item-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 22px 22px;
  background: linear-gradient(0deg, rgba(8,8,8,0.95) 0%, transparent 100%);
}
.edu-item-role {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.edu-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-wrap {
  padding: 0 64px 100px;
  max-width: 1360px;
  margin: 0 auto;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.45s, transform 0.55s;
}
.gallery-item:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.97);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-height: 85vh;
  max-width: 85vw;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  font-size: 2.2rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2.8rem;
  cursor: pointer;
  padding: 20px;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 90px;
  align-items: start;
}
.form-field { margin-bottom: 28px; }
.form-field label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 1px solid #333;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { height: 150px; resize: vertical; }
.contact-info-block { padding-top: 12px; }
.contact-info-item { margin-bottom: 44px; }
.contact-info-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--muted-lt);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-logo img { height: 28px; opacity: 0.45; }
.footer-copy {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.25s;
}
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-pillars { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-sticky-photo { position: relative; top: auto; }
  .about-sticky-photo img { aspect-ratio: 16/9; }
}
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; gap: 44px; }
  .tech-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .home-features { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 28px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }
  .nav-links.is-open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 60px 24px; }
  .page-hero { padding: 0 24px 44px; }
  .gallery-wrap { padding: 0 24px 60px; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 40px 24px; flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .footer-social { justify-content: center; }
  .home-features { grid-template-columns: 1fr; }
  .tech-pillars { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { width: 100%; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}
.reveal-fade.is-visible { opacity: 1; }

/* Stagger delays */
.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.19s; }
.reveal[data-delay="4"] { transition-delay: 0.26s; }
.reveal[data-delay="5"] { transition-delay: 0.33s; }
.reveal[data-delay="6"] { transition-delay: 0.40s; }
.reveal[data-delay="7"] { transition-delay: 0.47s; }
.reveal[data-delay="8"] { transition-delay: 0.54s; }

/* Hero title letter-by-letter shimmer on load */
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(20px); letter-spacing: 0.12em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: normal; }
}
.hero-title { animation: heroTitleIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

@keyframes heroSubIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-subtitle { animation: heroSubIn 1s 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 0.85; transform: scale(1); }
}
/* Scope to home hero only so page heroes aren't affected */
.hero .hero-logo { animation: heroLogoIn 1s 0.6s ease both; }

@keyframes heroActionsIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-actions { animation: heroActionsIn 0.9s 0.85s ease both; }

/* Page hero title */
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero-content .page-eyebrow { animation: pageHeroIn 0.9s 0.2s ease both; }
.page-hero-content .page-title   { animation: pageHeroIn 1s 0.4s ease both; }

/* Gold accent line on section divider */
@keyframes dividerGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.section-divider.is-visible {
  transform-origin: left;
  animation: dividerGrow 0.7s ease both;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade,
  .hero-title, .hero-subtitle, .hero-actions,
  .hero .hero-logo, .page-hero-content .page-eyebrow,
  .page-hero-content .page-title {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
