/* ============================================================
   FAAD � Arte ?i Arti?ti �n Dialog
   Aesthetic: Editorial warmth � ink, gold, Delta reed tones
   ============================================================ */

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

/* -- Variables -- */
:root {
  --ink:       #1a1612;
  --ink-soft:  #2e2820;
  --cream:     #f5f0e8;
  --cream-mid: #ede6d6;
  --gold:      #b8933e;
  --gold-lt:   #d4ab5a;
  --gold-pale: #f0e4c2;
  --delta:     #2a4a5e;
  --delta-lt:  #3d6b84;
  --reed:      #8a7355;
  --reed-lt:   #b09a75;
  --white:     #fff;
  --shadow:    0 4px 32px rgba(26,22,18,.14);
  --shadow-lg: 0 12px 56px rgba(26,22,18,.22);
  --radius:    4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Cormorant Garamond', Georgia, serif;
  --font-ui:      'DM Sans', system-ui, sans-serif;
}

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 68px;
  background: rgba(245,240,232,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,147,62,.18);
}
.site-header .logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-accent { color: var(--gold); }
.site-nav { display: flex; gap: 2.2rem; align-items: center; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: right .25s;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { right: 0; }
.site-nav a.active { color: var(--gold); }
.site-nav a.active::after { right: 0; }
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: .42rem 1.1rem;
  border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-cta::after { display: none !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(42,74,94,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(184,147,62,.12) 0%, transparent 60%),
    linear-gradient(160deg, #1a1612 0%, #2e2820 40%, #2a4a5e 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: .6;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
  animation: heroFade 1.2s ease both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo { width: 120px; margin-bottom: .5rem; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  max-width: 680px;
}
.hero-tagline {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  font-size: 1.4rem;
  color: rgba(245,240,232,.4);
  animation: bounce 2.2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.cards-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem 2rem 5rem;
}
.section-label {
  font-family: var(--font-ui);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
  padding-left: 1px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(184,147,62,.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card--soon { cursor: default; opacity: .82; }
.card--soon:hover { transform: none; box-shadow: var(--shadow); }
.card-inner { display: flex; flex-direction: column; height: 100%; }
.card-media {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media--about {
  background: linear-gradient(135deg, #1a1612 0%, #2e2820 50%, var(--delta) 100%);
}
.card-media--gallery {
  background: linear-gradient(135deg, var(--delta) 0%, #1a3040 50%, #0d1e28 100%);
}
.card-media--courses {
  background: linear-gradient(135deg, #3d3028 0%, var(--reed) 60%, #5a4a35 100%);
}
.card-media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(184,147,62,.18) 0%, transparent 70%);
}
.card-icon {
  position: relative;
  font-size: 3rem;
  color: rgba(212,171,90,.4);
  letter-spacing: 0;
}
.card--featured .card-media { height: 260px; }
.card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
}
.card-tag {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-tag--soon { color: var(--reed); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.card-excerpt {
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .4rem;
}
.card-cta--muted { color: var(--reed-lt); }
.arrow { transition: transform .2s; display: inline-block; }
.card:hover .arrow { transform: translateX(5px); }
.card-soon-badge {
  position: absolute;
  top: 16px; right: -28px;
  background: var(--reed);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem 2.5rem;
  transform: rotate(45deg);
}

/* ============================================================
   PARTNERS STRIP
   ============================================================ */
.partners-section {
  background: var(--ink);
  padding: 2.5rem 3rem;
  text-align: center;
}
.partners-label {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(212,171,90,.55);
  margin-bottom: 1.1rem;
}
.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 0;
  font-family: var(--font-ui);
  font-size: .78rem;
  color: rgba(245,240,232,.5);
  letter-spacing: .06em;
}
.partners-list span { padding: 0 .6rem; }
.sep { opacity: .35; }

/* ============================================================
   INTERIOR PAGE HERO
   ============================================================ */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero--delta {
  background: linear-gradient(160deg, #0d1e28 0%, var(--delta) 50%, #1a3040 100%);
}
.page-hero--about {
  background: linear-gradient(160deg, #1a1612 0%, #2e2820 50%, #1a3040 100%);
}
.page-hero-bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: .7;
}
.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 80%, rgba(184,147,62,.14) 0%, transparent 60%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  animation: heroFade 1s ease both;
}
.page-hero-label {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.1;
  max-width: 700px;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}
.page-hero-date {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: rgba(212,171,90,.6);
  margin-top: 1rem;
  letter-spacing: .08em;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.content-area h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.content-area h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--delta);
  margin: 2rem 0 .8rem;
}
.content-area p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.content-area ul {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.content-area ul li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.content-area ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .7rem;
  top: .4rem;
}

/* Gold divider */
.gold-rule {
  border: none;
  border-top: 1px solid rgba(184,147,62,.3);
  margin: 3rem 0;
}
.intro-lead {
  font-size: 1.25rem !important;
  font-style: italic;
  color: var(--delta) !important;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin-bottom: 2rem !important;
}

/* Participants box */
.participants-box {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  margin: 2.5rem 0;
}
.participants-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-lt);
  margin-bottom: 1.4rem;
  font-style: normal;
}
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .4rem .8rem;
}
.participants-grid span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(245,240,232,.85);
}

/* Projects list */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.project-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.project-year {
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .08em;
  min-width: 50px;
  padding-top: .2rem;
}
.project-desc {
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.project-desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section {
  background: var(--cream-mid);
  padding: 5rem 3rem;
}
.gallery-section-inner { max-width: 1300px; margin: 0 auto; }
.gallery-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.gallery-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.gallery-header .section-label { margin: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 16px rgba(26,22,18,.12);
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s;
}
.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: rgba(245,240,232,.25);
}
.gallery-item-placeholder span { font-size: 2rem; }
.gallery-item-placeholder small {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,22,18,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: var(--white);
  font-size: 1.6rem;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,22,18,.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
}
#lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(245,240,232,.6);
  padding: 4.5rem 3rem 2.5rem;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(245,240,232,.55);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-contact p { font-size: .88rem; line-height: 1.9; }
.footer-contact a { color: var(--gold-lt); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: .72rem;
  color: rgba(245,240,232,.28);
  letter-spacing: .05em;
}

.nav-hamburger { display: none; }
.nav-overlay   { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 1.5rem; }

  /* Hide desktop nav, show hamburger */
  .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: min(80vw, 300px);
    height: 100dvh;
    background: var(--ink);
    padding: 6rem 2rem 3rem;
    gap: 0;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.35);
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .site-nav a {
    color: rgba(245,240,232,.75);
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(245,240,232,.08);
    letter-spacing: .08em;
  }
  .site-nav a:hover { color: var(--gold-lt); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta {
    margin-top: 1.5rem;
    text-align: center;
    border: 1px solid var(--gold) !important;
    border-radius: 2px;
    padding: .8rem 1.5rem;
    color: var(--gold) !important;
    background: transparent;
  }
  .site-nav .nav-cta:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
  }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 300;
    position: relative;
  }
  .nav-hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .3s ease, opacity .3s ease, width .3s ease;
  }
  .nav-hamburger span:nth-child(1) { width: 24px; }
  .nav-hamburger span:nth-child(2) { width: 18px; }
  .nav-hamburger span:nth-child(3) { width: 24px; }
  /* X state */
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; background: var(--gold); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; background: var(--gold); }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,22,18,.6);
    z-index: 99;
  }
  .nav-overlay.open { display: block; }

  .cards-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 0 1.5rem 2.5rem; }
  .gallery-section { padding: 3rem 1.5rem; }
  .content-area { padding: 3rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .participants-box { padding: 1.5rem; }
}