/* ==========================================================================
   GCCYD — Global Centre for Creative Youth Development
   Site design adapted from the CultureThrive layout (Denise Montgomery)
   Minimal palette: brand purple as the single accent over white / cream / ink
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  /* ── Minimal brand palette ── */
  --purple:        #4A2D7A;   /* primary accent */
  --purple-deep:   #34205A;
  --purple-light:  #6B4FA0;
  --lavender:      #E8DFF0;
  --lavender-wash: #F4F0F8;
  --cream:         #F5F0E8;
  --ink:           #1E1E2E;
  --white:         #FFFFFF;
  --text:          #2C2A33;
  --text-soft:     #5C5866;
  --text-mute:     #8B8794;
  --line:          #E7E3EC;
  --gold:          #C9A84C;   /* announcement accent */
  --banner-h:      42px;
}

/* ── Announcement banner (pinned above the nav) ── */
.announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 2.6rem; overflow: hidden;
  background: var(--gold); color: var(--ink);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em;
}
.announce-link { color: var(--ink); text-decoration: none; overflow: hidden; max-width: 100%; }
.announce-link:hover { text-decoration: underline; }
.announce span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.announce em { font-style: italic; }
.announce .arrow { font-weight: 800; margin-left: 0.4rem; }
.announce .short { display: none; }
.announce-close {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; color: var(--ink);
  font-size: 1.3rem; line-height: 1; padding: 0.15rem 0.5rem; opacity: 0.65;
}
.announce-close:hover { opacity: 1; }
html.announce-hidden { --banner-h: 0px; }
html.announce-hidden .announce { display: none; }
@media (max-width: 700px) {
  .announce { font-size: 0.74rem; padding: 0 2.4rem; }
  .announce .full { display: none; }
  .announce .short { display: inline; }
}

body {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.serif {
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
}

/* trademark mark — small superscript next to large display text */
.tm {
  font-family: 'Mulish', sans-serif;
  font-size: 0.36em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.04em;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 3rem;
}
.nav-logo img { height: 127px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 1.9rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}
/* hover + current-page underline indicator (page links only, not the LinkedIn circle) */
.nav-links a:not(.nav-li) {
  position: relative;
  padding-bottom: 6px;
}
.nav-links a:not(.nav-li)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links a:not(.nav-li):hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--purple); }
/* current page: persistent purple label + filled underline + dot */
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-li {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  font-size: 0.7rem; letter-spacing: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-links .nav-li:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ── Language / translate widget ── */
.nav-translate { position: relative; margin-left: 1.4rem; }
.nav-globe {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  border: 1.5px solid var(--text); border-radius: 50%;
  background: none; color: var(--text); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-globe:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.nav-globe svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute; right: 0; top: 130%; margin: 0; padding: 6px;
  list-style: none; min-width: 184px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(30,30,46,0.16); z-index: 300;
  max-height: 70vh; overflow-y: auto;
}
.lang-menu[hidden] { display: none; }
.lang-menu li button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 0.86rem; color: var(--text);
  padding: 0.5rem 0.7rem; border-radius: 7px;
}
.lang-menu li button:hover { background: var(--lavender-wash); color: var(--purple); }

/* Hide Google Translate's injected banner/chrome — driven by the globe menu */
#google_translate_element { position: absolute; left: -9999px; top: -9999px; }
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; }

/* ==========================================================================
   HERO  (full-bleed photo under purple wash)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: calc(12rem + var(--banner-h)) 3rem 5rem;
  color: #fff;
  overflow: hidden;
  background: #3a2260 url('wash-purple.jpg') center/cover;
}
/* optional photo, multiplied into the watercolor wash */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.55;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(52,32,90,0.62) 0%, rgba(74,45,122,0.42) 55%, rgba(107,79,160,0.30) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero-rule { width: 64px; height: 3px; background: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero .hero-sub {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 52ch;
  color: rgba(255,255,255,0.92);
}
.btn-outline {
  display: inline-block;
  margin-top: 2.6rem;
  padding: 1rem 2.4rem;
  border: 1.5px solid rgba(255,255,255,0.9);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.btn-outline:hover { background: #fff; color: var(--purple); }

/* ==========================================================================
   FEATURED CALLOUT (Extensions magazine band)
   ========================================================================== */
.featured-band {
  background: var(--cream);
  padding: 3.5rem 3rem;
  text-align: center;
}
.featured-band .fb-inner { max-width: 820px; margin: 0 auto; }
.featured-band .fb-tag {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 0.9rem;
}
.featured-band p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
}
.featured-band a.fb-link {
  display: inline-block; margin-top: 1.3rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--purple); text-decoration: none;
  border-bottom: 2px solid var(--purple); padding-bottom: 3px;
}
.featured-band a.fb-link:hover { color: var(--purple-deep); }

/* ==========================================================================
   PARTNERS / FEATURED-IN BAND (purple)
   ========================================================================== */
.partners {
  background: var(--purple);
  color: #fff;
  padding: 4.5rem 3rem;
  text-align: center;
}
.partners h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 2.8rem;
}
.partners-row {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 3rem;
}
.partners-row span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
}

/* ==========================================================================
   GENERIC SECTIONS  (inner pages + home)
   ========================================================================== */
section.block { padding: 6rem 3rem; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }

.eyebrow {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 1rem;
}
h2.title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
h3.subtitle {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
p.lead {
  font-size: 1.15rem; color: var(--text-soft); max-width: 60ch; line-height: 1.8;
}
.block p + p { margin-top: 1.1rem; }
.block p { color: var(--text-soft); }
.bg-cream { background: var(--cream); }
.bg-wash  { background: var(--lavender-wash); }

/* Two-column intro */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.split img { width: 100%; border-radius: 4px; object-fit: cover; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 2.2rem 2rem; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(74,45,122,0.10); border-color: var(--lavender); }
.card .num {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; color: var(--purple);
  margin-bottom: 0.6rem; font-weight: 800;
}
.card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.5rem; font-weight: 700; }
.card p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.65; }

/* Page header (inner pages) */
.page-head {
  margin-top: 0;
  padding: calc(13rem + var(--banner-h)) 3rem 4.5rem;
  background: linear-gradient(rgba(52,32,90,0.55), rgba(52,32,90,0.66)), #3a2260 url('wash-purple.jpg') center/cover;
  color: #fff;
}
.page-head .wrap { max-width: 1120px; }
.page-head .eyebrow { color: rgba(255,255,255,0.7); }
.page-head h1 {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 20ch;
}
.page-head p { margin-top: 1.2rem; max-width: 60ch; color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* Value chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.chips span {
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  padding: 0.6rem 1.3rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.chips span:hover { border-color: var(--purple-light); background: var(--lavender-wash); }
.chips a { text-decoration: none; }
.chips a:hover span { border-color: var(--purple); background: var(--lavender-wash); color: var(--purple); }

/* Quote */
.quote { text-align: center; }
.quote blockquote {
  font-family: 'Bricolage Grotesque', sans-serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.5; color: var(--ink);
  max-width: 24ch; margin: 0 auto;
}
.quote .wrap-narrow { max-width: 860px; }
.quote cite { display: block; margin-top: 1.6rem; font-style: normal; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); font-weight: 700; }

/* Contact / list rows */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-grid .label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.4rem; }
.contact-grid a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--lavender); }
.contact-grid a:hover { color: var(--purple); }
.field { margin-bottom: 1.2rem; }
.field label { display:block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 4px;
  font: inherit; color: var(--ink); background: #fff;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A2D7A' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple-light); }
.field .opt { color: var(--text-mute); font-weight: 500; text-transform: none; letter-spacing: 0; }
.btn-solid {
  display: inline-block; background: var(--purple); color: #fff; border: 0;
  padding: 0.95rem 2.4rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background 0.2s;
}
.btn-solid:hover { background: var(--purple-deep); }

/* Publications list */
.pub { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.pub:first-of-type { border-top: 1px solid var(--line); }
.pub .pub-meta { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); }
.pub h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.4rem; font-weight: 700; }
.pub p { font-size: 0.95rem; color: var(--text-soft); }

/* ==========================================================================
   FOOTER  (dark, with Subscribe form)
   ========================================================================== */
footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 4.5rem 3rem 3rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start;
}
.footer-logo img { height: 56px; width: auto; display: block; margin-bottom: 1.5rem; }
.footer-meta { font-size: 0.88rem; line-height: 1.9; }
.footer-meta a { color: rgba(255,255,255,0.7); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.footer-meta a:hover { color: #fff; }
.subscribe h3 {
  font-family: 'Bricolage Grotesque', sans-serif; color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; font-weight: 700;
}
.subscribe p { font-size: 0.9rem; margin-bottom: 1.2rem; }
.subscribe form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 200px; padding: 0.85rem 1rem; border: 0; border-radius: 0; font: inherit;
  background: rgba(255,255,255,0.95); color: var(--ink);
}
.subscribe button {
  background: var(--purple-light); color: #fff; border: 0; padding: 0.85rem 1.8rem;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.subscribe button:hover { background: var(--purple); }
.subscribe .note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.8rem; }
.footer-bottom {
  max-width: 1120px; margin: 3rem auto 0; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.76rem; color: rgba(255,255,255,0.45);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nav { padding: 0.7rem 1.5rem; }
  .nav-logo img { height: 104px; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.1em; }
  .nav-translate { margin-left: 1rem; }
}
@media (max-width: 860px) {
  .nav-logo img { height: 84px; }
  .nav-toggle { margin-left: auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 1.5rem; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
  section.block { padding: 4rem 1.5rem; }
  .hero { padding: calc(8rem + var(--banner-h)) 1.5rem 4rem; }
  .featured-band, .partners, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-head { padding: calc(9rem + var(--banner-h)) 1.5rem 3.5rem; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pub { grid-template-columns: 1fr; gap: 0.5rem; }
}
