@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #161616;
  --muted: #666;
  --paper: #f5f2eb;
  --white: #fff;
  --line: rgba(0,0,0,.12);
  --accent: #b83d2f;
  --deep: #111827;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245,242,235,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--ink); color: white; font-weight: 700; letter-spacing: .08em;
  font-size: 13px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a:hover { opacity: .6; }
.nav-cta { border: 1px solid var(--ink); padding: 10px 16px; }
.menu-toggle { display:none; background:none; border:0; font-size:28px; }

.hero {
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(110deg, rgba(0,0,0,.82), rgba(0,0,0,.32)),
    radial-gradient(circle at 70% 30%, #4b5563 0%, #1f2937 35%, #0b0d10 100%);
  overflow: hidden;
}
.hero::after {
  content:"";
  position:absolute; inset:auto -120px -180px auto;
  width:520px; height:520px; border:1px solid rgba(255,255,255,.15); border-radius:50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0; }
.eyebrow, .section-kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700;
}
.eyebrow { color: rgba(255,255,255,.75); margin-bottom: 26px; }
.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(54px, 7.5vw, 92px);
  line-height: .98;
  margin: 0;
  max-width: 980px;
}
.hero p { max-width: 720px; font-size: 20px; color: rgba(255,255,255,.78); margin: 32px 0; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn { padding: 14px 20px; border:1px solid rgba(255,255,255,.7); font-weight:600; font-size:14px; }
.btn-primary { background:white; color:var(--ink); }
.btn-secondary { color:white; }

.intro { padding: 120px 0; border-bottom: 1px solid var(--line); }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:70px; }
h2 {
  font-family:"Playfair Display", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height:1.08;
  font-weight:500;
  margin: 18px 0 0;
}
.intro-copy { font-size:18px; color:#3e3e3e; padding-top:32px; }
.section-kicker { color: var(--accent); }

.pillars { padding: 120px 0; }
.cards {
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top:60px;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.card { padding:34px 28px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); min-height:280px; }
.card span { color:var(--accent); font-weight:700; font-size:12px; letter-spacing:.12em; }
.card h3 { margin:70px 0 12px; font-size:20px; }
.card p { color:var(--muted); margin:0; }

.programs { background: var(--deep); color:white; padding:120px 0; }
.section-kicker.light { color:#c7d2fe; }
.program-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:90px; }
.program-copy p { color:rgba(255,255,255,.65); font-size:18px; max-width:630px; }
.program-list { border-top:1px solid rgba(255,255,255,.18); }
.program-list div {
  display:grid; grid-template-columns:70px 1fr; gap:15px;
  padding:22px 0; border-bottom:1px solid rgba(255,255,255,.18);
}
.program-list strong { color:#9ca3af; font-size:13px; }
.program-list span { font-size:19px; }

.festival-section { padding:120px 0; }
.festival-card {
  margin-top:45px; background:white; border:1px solid var(--line);
  padding:38px;
}
.festival-badge {
  display:inline-block; background:var(--ink); color:white;
  padding:7px 11px; font-size:11px; font-weight:700; letter-spacing:.13em;
}
.festival-content {
  display:flex; justify-content:space-between; gap:40px; align-items:flex-end; margin-top:46px;
}
.rtv-logo { font-weight:800; font-size:34px; letter-spacing:.05em; }
.festival-content h3 { font-family:"Playfair Display",serif; font-size:38px; font-weight:500; margin:6px 0 14px; }
.festival-content p { color:var(--muted); max-width:700px; font-size:17px; }
.festival-link { white-space:nowrap; border-bottom:1px solid var(--ink); padding-bottom:4px; font-weight:600; }
.future-note { margin-top:20px; color:var(--muted); font-size:14px; }

.statement { padding:100px 0; background:#ddd7cb; }
blockquote {
  font-family:"Playfair Display",serif;
  font-size: clamp(38px,5.5vw,68px);
  line-height:1.08; max-width:1050px; margin:0;
}

.contact { padding:120px 0; }
.contact-grid { display:grid; grid-template-columns:1fr .8fr; gap:80px; }
.contact p { color:var(--muted); }
.email-link { display:inline-block; margin-top:8px; font-size:24px; font-weight:600; border-bottom:1px solid; }
.contact-panel { background:white; border:1px solid var(--line); padding:34px; }
.small-label { font-size:11px; letter-spacing:.14em; font-weight:700; }
.contact-panel h3 { font-size:25px; margin:15px 0 7px; }

footer { background:var(--ink); color:white; padding:34px 0; }
.footer-grid { display:flex; justify-content:space-between; gap:20px; font-size:13px; }
.footer-grid > div { display:flex; flex-direction:column; gap:4px; }
.footer-grid span { color:rgba(255,255,255,.55); }
.footer-right { text-align:right; }

@media (max-width: 860px) {
  .brand-copy span { display:none; }
  .menu-toggle { display:block; }
  .nav {
    position:absolute; top:84px; left:0; right:0; display:none; flex-direction:column;
    align-items:flex-start; background:var(--paper); padding:24px 20px 30px;
    border-bottom:1px solid var(--line);
  }
  .nav.open { display:flex; }
  .hero { min-height:650px; }
  .hero h1 { font-size: clamp(48px, 15vw, 74px); }
  .hero p { font-size:17px; }
  .two-col, .program-grid, .contact-grid { grid-template-columns:1fr; gap:38px; }
  .cards { grid-template-columns:1fr 1fr; }
  .festival-content { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px) {
  .container { width:min(100% - 28px,1180px); }
  .brand-copy strong { font-size:12px; max-width:190px; }
  .hero-inner { padding:90px 0; }
  .cards { grid-template-columns:1fr; }
  .card { min-height:auto; }
  .card h3 { margin-top:40px; }
  .footer-grid { flex-direction:column; }
  .footer-right { text-align:left; }
}



.brand-copy strong { font-size: 15px; display:block; }
.initial {
  color: var(--accent);
  font-weight: 700;
}

.nav-right {
  display:flex;
  align-items:center;
  gap:16px;
}


@media (max-width: 860px) {
  .nav-right { gap: 10px; }
  .nav {
    z-index: 30;
  }
}


.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  background: rgba(255,255,255,.34);
}
.language-switcher a {
  opacity: .58;
  transition: opacity .18s ease;
}
.language-switcher a:hover {
  opacity: 1;
}
.language-switcher .lang-current {
  color: var(--accent);
}
.lang-divider {
  opacity: .28;
}

/* Make the initials clearly explain CFCA without overpowering the name */
.brand-copy .initial {
  color: var(--accent);
  font-weight: 800;
}



/* ===== Version 2.2 mobile/header fix ===== */
.brand {
  min-width: 0;
  flex: 1 1 auto;
}
.brand-copy {
  min-width: 0;
}
.brand-copy .brand-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .24em;
  font-size: 15px;
  line-height: 1.14;
  max-width: 340px;
}
.brand-copy .word,
.brand-copy .plain-word {
  display: inline-block;
  white-space: nowrap;
}
.brand-copy .word::first-letter {
  color: var(--accent);
  font-weight: 800;
}
.brand-copy .brand-tagline {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.nav-wrap {
  gap: 16px;
}
.nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-switcher {
  white-space: nowrap;
  background: transparent;
}

@media (max-width: 860px) {
  .brand-copy .brand-tagline {
    display: none;
  }
  .brand-copy .brand-name {
    font-size: 12.5px;
    line-height: 1.12;
    max-width: 210px;
  }
  .nav-right {
    gap: 8px;
  }
  .language-switcher {
    display: inline-flex;
    padding: 7px 8px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .nav-wrap {
    min-height: 78px;
    gap: 10px;
  }
  .brand {
    gap: 10px;
    align-items: center;
  }
  .brand-mark {
    width: 54px;
    height: 54px;
    font-size: 12px;
    letter-spacing: .06em;
  }
  .brand-copy .brand-name {
    font-size: 11px;
    line-height: 1.08;
    max-width: 165px;
  }
  .menu-toggle {
    font-size: 26px;
    padding: 0;
  }
  .language-switcher {
    padding: 6px 7px;
    font-size: 10px;
    gap: 5px;
  }
}


/* ===== Version 3.0 formal association identity ===== */
.institution-strip {
  background: #111;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.institution-strip-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.institution-strip-right {
  color: rgba(255,255,255,.46);
}

.site-header {
  background: rgba(247,244,237,.97);
}

.nav-wrap {
  min-height: 96px;
}

.institutional-brand {
  gap: 18px;
}

.formal-mark {
  width: 66px;
  height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.12);
}
.mark-main {
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
}
.mark-sub {
  font-size: 7px;
  line-height: 1;
  letter-spacing: .18em;
  color: rgba(255,255,255,.55);
}

.formal-brand-copy .brand-name {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.formal-brand-copy .brand-tagline {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-copy .word::first-letter {
  color: var(--accent);
  font-weight: 900;
}

.nav {
  gap: 24px;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
}
.nav-cta {
  padding: 9px 14px;
}
.language-switcher {
  border-color: rgba(0,0,0,.16);
  padding: 7px 9px;
  background: rgba(255,255,255,.45);
}

.hero {
  min-height: 720px;
}
.hero-inner {
  padding-top: 125px;
  padding-bottom: 125px;
}
.hero h1 {
  max-width: 1040px;
  letter-spacing: -.025em;
}
.hero p {
  max-width: 760px;
}

@media (max-width: 860px) {
  .institution-strip {
    display: none;
  }

  .nav-wrap {
    min-height: 84px;
  }

  .institutional-brand {
    gap: 12px;
  }

  .formal-mark {
    width: 58px;
    height: 58px;
  }

  .formal-brand-copy .brand-name {
    font-size: 12.5px;
    max-width: 220px;
  }

  .formal-brand-copy .brand-tagline {
    display: none;
  }

  .hero {
    min-height: 680px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 80px;
  }

  .formal-mark {
    width: 56px;
    height: 56px;
  }

  .formal-brand-copy .brand-name {
    font-size: 11px;
    max-width: 175px;
    gap: 0 .18em;
  }

  .mark-main {
    font-size: 13px;
  }

  .mark-sub {
    font-size: 6px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
    line-height: .98;
  }
}
