/* ═══════════════════════════════════════════════════════════════
   TIMYC — STYLE.CSS
   Theme: White & Beige · Elegant · Minimalist
═══════════════════════════════════════════════════════════════ */

:root {
  --bg:       #FAFAF7;
  --bg2:      #F5F0E8;
  --bg3:      #EDE8DC;
  --surface:  #FFFFFF;
  --surface2: #F9F6F0;
  --border:   rgba(139,115,85,0.12);
  --border2:  rgba(139,115,85,0.25);
  --text:     #1C1814;
  --text2:    #6B5E4E;
  --text3:    #A8967E;
  --gold:     #C8A97E;
  --gold-dark:#8B7355;
  --gold-light:#E8D9C0;
  --green:    #6B8C6B;
  --blue:     #4A7C8E;
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 4px 24px rgba(139,115,85,0.1);
  --shadow-lg:0 16px 48px rgba(139,115,85,0.15);
  --transition:0.3s cubic-bezier(0.4,0,0.2,1);
  --font:     'Inter', sans-serif;
  --font-serif:'Cormorant Garamond', Georgia, serif;
  --font-display:'Cinzel', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ═══ LOADER ═══════════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.loader-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  animation: loaderPulse 2s ease infinite;
}
@keyframes loaderPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,169,126,0.2); }
  50% { box-shadow: 0 0 0 16px rgba(200,169,126,0); }
}
.loader-logo-text { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loader-timyc {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text);
}
.loader-sub {
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text2);
  text-transform: uppercase;
}
.loader-line {
  width: 120px; height: 1px;
  background: var(--border2);
}
.loader-fill {
  height: 1px;
  background: var(--gold);
  animation: loaderFill 2s ease forwards;
}
@keyframes loaderFill { from { width: 0 } to { width: 100% } }

/* ═══ NAV ═══════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-block { display: flex; flex-direction: column; gap: 2px; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text);
  line-height: 1;
}
.logo-sub {
  font-size: 0.45rem; font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text2);
  text-transform: uppercase;
}
.nav-links {
  display: flex; list-style: none; gap: 2px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text2);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg2); }
.nav-cta {
  padding: 10px 22px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px;
  transition: background var(--transition);
  margin-left: auto;
}
.hamburger:hover { background: var(--bg2); }
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 20px 20px; gap: 4px;
  background: rgba(250,250,247,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open { max-height: 500px; }
.mobile-menu a {
  padding: 12px 16px; font-size: 1rem; font-weight: 500;
  color: var(--text2); border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: var(--bg2); }
.mobile-menu .nav-cta { margin-top: 12px; text-align: center; }

/* ═══ HERO ═══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(200,169,126,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-blur.b1 {
  width: 500px; height: 500px;
  background: rgba(200,169,126,0.1);
  top: -100px; right: -100px;
}
.hero-blur.b2 {
  width: 400px; height: 400px;
  background: rgba(107,140,107,0.06);
  bottom: -80px; left: -80px;
}
.hero-container {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 120px 32px 80px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 28px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text3);
}
.eyebrow-line {
  display: block; height: 1px; width: 40px;
  background: var(--gold);
}
.hero-logo-large { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-timyc {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text);
  line-height: 1;
}
.hero-intl {
  font-size: clamp(0.55rem, 1.5vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--text2);
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}
.hero-desc {
  font-size: 1rem; color: var(--text2);
  line-height: 1.8; max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary svg { width: 18px; height: 18px; transition: transform var(--transition); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,115,85,0.25); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; font-weight: 500;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-ghost:hover { background: var(--bg2); border-color: var(--gold); transform: translateY(-2px); }
.full-w { width: 100%; justify-content: center; }
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding: 24px 40px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-wrap: wrap; justify-content: center;
}
.hstat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.hstat-val {
  font-family: var(--font-serif);
  font-size: 2.25rem; font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hstat-label { font-size: 0.8rem; color: var(--text2); font-weight: 500; }
.hstat-div { width: 1px; height: 40px; background: var(--border2); }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
}
.scroll-mouse {
  width: 26px; height: 42px;
  border: 1.5px solid var(--border2);
  border-radius: 13px;
  display: flex; justify-content: center;
  padding-top: 8px;
  animation: scrollBounce 2s ease infinite;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: wheelScroll 2s ease infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes wheelScroll { 0%,100% { opacity: 1; transform: translateY(0); } 50% { opacity: 0.3; transform: translateY(6px); } }

/* ═══ SECTION COMMONS ════════════════════════════════════════════ */
section { padding: 120px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-desc {
  font-size: 1rem; color: var(--text2);
  line-height: 1.7; max-width: 600px;
}
.section-header {
  text-align: center;
  max-width: 1200px; margin: 0 auto 60px;
  padding: 0 32px;
}
.section-header .section-desc { margin: 16px auto 0; }

/* ═══ ABOUT ══════════════════════════════════════════════════════ */
#about { background: var(--bg2); }
.about-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.about-left { display: flex; flex-direction: column; gap: 20px; }
.about-logo-card {
  position: relative;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.alc-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.alc-timyc {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text);
}
.alc-line { width: 60px; height: 1px; background: var(--gold); }
.alc-sub {
  font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text2);
}
.alc-badge {
  position: absolute; top: 24px; right: 24px;
  padding: 4px 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--gold-dark);
}
.alc-city {
  position: absolute; bottom: 32px;
  font-size: 0.875rem; color: var(--text2); font-weight: 500;
}
.about-instagram {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: fit-content;
  transition: border-color var(--transition);
}
.about-instagram:hover { border-color: var(--border2); }
.about-instagram svg { width: 22px; height: 22px; color: var(--text2); flex-shrink: 0; }
.about-instagram div { display: flex; flex-direction: column; gap: 2px; }
.about-instagram strong { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.about-instagram span { font-size: 0.8rem; color: var(--text2); }
.about-right { display: flex; flex-direction: column; gap: 20px; }
.about-text { font-size: 1rem; color: var(--text2); line-height: 1.8; }
.about-text strong { color: var(--text); }
.about-pillars { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.pillar:hover { border-color: var(--gold-light); }
.pillar-icon { font-size: 0.6rem; color: var(--gold); margin-top: 4px; flex-shrink: 0; }
.pillar div { display: flex; flex-direction: column; gap: 2px; }
.pillar strong { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.pillar span { font-size: 0.8125rem; color: var(--text2); }

/* ═══ ACTIVITIES ════════════════════════════════════════════════ */
#activities { background: var(--bg); }

/* Featured */
.activity-featured {
  max-width: 1200px; margin: 0 auto 64px;
  padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: center;
}
.af-visual {
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
  position: relative;
}
.af-crescent {
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  animation: crescentSpin 20s linear infinite;
}
@keyframes crescentSpin { to { transform: rotate(360deg); } }
.af-crescent svg { width: 100%; height: 100%; }
.af-years { display: flex; gap: 10px; }
.af-year-tag {
  padding: 6px 16px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--text2);
  transition: all var(--transition);
}
.af-year-tag.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.af-content { display: flex; flex-direction: column; gap: 24px; }
.af-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(200,169,126,0.1);
  border: 1px solid rgba(200,169,126,0.3);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--gold-dark);
  width: fit-content;
}
.af-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400; line-height: 1.2;
  color: var(--text);
}
.af-desc {
  font-size: 1rem; color: var(--text2);
  line-height: 1.8;
}
.af-desc strong { color: var(--text); }
.af-numbers {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 24px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  flex-wrap: wrap;
}
.af-num { display: flex; flex-direction: column; gap: 2px; }
.af-num-val {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 500;
  color: var(--text);
}
.af-num-label { font-size: 0.8rem; color: var(--text2); }
.af-num-div { width: 1px; height: 32px; background: var(--border2); }

/* Activity Cards */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
}
.act-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.act-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: var(--shadow-lg);
}
.act-top {
  padding: 24px 20px 20px;
  background: color-mix(in srgb, var(--c) 8%, var(--bg2));
  border-bottom: 1px solid color-mix(in srgb, var(--c) 12%, var(--border));
  display: flex; align-items: flex-start; justify-content: space-between;
}
.act-emoji { font-size: 2rem; line-height: 1; }
.act-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text2);
}
.act-body {
  padding: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.act-body h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--text);
}
.act-body p { font-size: 0.875rem; color: var(--text2); line-height: 1.7; flex: 1; }
.act-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: var(--text2);
}
.act-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 600;
  color: var(--gold-dark);
  transition: background var(--transition);
}
.act-cta:hover { background: var(--bg2); }
.act-cta span { transition: transform var(--transition); }
.act-cta:hover span { transform: translateX(4px); }

/* ═══ IMPACT ════════════════════════════════════════════════════ */
#impact { background: var(--bg2); }
.impact-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.impact-left { display: flex; flex-direction: column; gap: 24px; }
.impact-desc { font-size: 1rem; color: var(--text2); line-height: 1.8; }
.impact-quote {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.iq-mark {
  font-family: var(--font-serif);
  font-size: 4rem; line-height: 0.8;
  color: var(--gold-light);
  flex-shrink: 0;
}
.impact-quote p {
  font-family: var(--font-serif);
  font-size: 1.0625rem; font-weight: 400;
  font-style: italic;
  color: var(--text2); line-height: 1.7;
  align-self: center;
}
.impact-right { display: flex; flex-direction: column; gap: 20px; }
.impact-cards { display: flex; flex-direction: column; gap: 14px; }
.ic-card {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition);
}
.ic-card:hover { border-color: var(--border2); }
.ic-card.featured-ic {
  background: var(--text);
  border-color: var(--text);
}
.ic-card.featured-ic .ic-year,
.ic-card.featured-ic .ic-val,
.ic-card.featured-ic .ic-label { color: var(--bg); }
.ic-card.featured-ic .ic-year span {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
.ic-card.featured-ic .ic-bar { background: rgba(255,255,255,0.15); }
.ic-card.featured-ic .ic-fill { background: var(--gold-light); }
.ic-year {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 600;
  color: var(--text2); margin-bottom: 6px;
}
.ic-year span {
  padding: 2px 8px;
  background: rgba(200,169,126,0.1);
  border: 1px solid rgba(200,169,126,0.25);
  border-radius: 100px;
  font-size: 0.7rem; color: var(--gold-dark);
}
.ic-val {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 500;
  color: var(--text); letter-spacing: -0.02em;
}
.ic-label { font-size: 0.8125rem; color: var(--text2); margin-top: 2px; margin-bottom: 12px; }
.ic-bar {
  height: 2px; background: var(--bg3);
  border-radius: 2px; overflow: hidden;
}
.ic-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ic-fill.anim { width: var(--w); }
.impact-total {
  display: flex; align-items: baseline; gap: 4px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
  flex-wrap: wrap;
}
.it-val {
  font-family: var(--font-serif);
  font-size: 2.75rem; font-weight: 500;
  color: var(--gold-dark);
}
.it-plus { font-size: 1.5rem; color: var(--gold-dark); }
.it-label {
  font-size: 0.9rem; color: var(--text2);
  margin-left: 8px; align-self: center;
}

/* ═══ TEAM ═══════════════════════════════════════════════════════ */
#team { background: var(--bg); }

/* New team grid */
.team-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
}
.tc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.tc-card:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: var(--shadow-lg);
}
.tc-card.featured-member {
  border-color: var(--gold-light);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(200,169,126,0.04) 100%);
}

/* Photo section */
.tc-photo-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: var(--bg2);
}
.tc-photo-frame {
  position: absolute; inset: 0;
}
.tc-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}
.tc-card:hover .tc-photo { transform: scale(1.05); }

/* Initials fallback */
.tc-initials {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--av) 10%, var(--bg2));
}
.tc-initials span {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--av);
}

/* Role badge over photo */
.tc-badge-role {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(28,24,20,0.75) 0%, transparent 100%);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-align: center;
  pointer-events: none;
}

/* Info section */
.tc-info {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.tc-info h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem; font-weight: 500;
  color: var(--text);
}
.tc-role-tag {
  display: inline-block;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--rc) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--rc) 25%, transparent);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--rc);
  width: fit-content;
}
.tc-info p { font-size: 0.8125rem; color: var(--text2); line-height: 1.6; }

/* Keep old classes for team-cta */
.team-card { display: none; }
.tc-role { display: none; }
.tc-avatar { display: none; }
.team-cta {
  text-align: center;
  margin-top: 48px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  padding: 0 32px;
}
.team-cta p { font-size: 1rem; color: var(--text2); }

/* ═══ CONTACT ════════════════════════════════════════════════════ */
#contact { background: var(--bg2); }
.contact-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 24px; }
.contact-left p { font-size: 1rem; color: var(--text2); line-height: 1.7; }
.c-links { display: flex; flex-direction: column; gap: 12px; }
.c-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition);
}
a.c-link:hover { border-color: var(--border2); }
.cl-icon {
  width: 40px; height: 40px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; color: var(--text2);
}
.cl-icon svg { width: 20px; height: 20px; }
.c-link div { display: flex; flex-direction: column; gap: 2px; }
.c-link strong { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.c-link span { font-size: 0.8125rem; color: var(--text2); }
.contact-form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--text2); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,126,0.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* ═══ FOOTER ═════════════════════════════════════════════════════ */
footer {
  background: var(--bg3);
  border-top: 1px solid var(--border2);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; flex-direction: column; gap: 4px; }
.fl-timyc {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: 0.25em; color: var(--text);
}
.fl-sub {
  font-size: 0.45rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text2);
}
.footer-brand p { font-size: 0.875rem; color: var(--text2); line-height: 1.7; max-width: 240px; }
.footer-social { display: flex; gap: 8px; }
.fs-link {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text2);
  transition: all var(--transition);
}
.fs-link svg { width: 16px; height: 16px; }
.fs-link:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 0.75rem; font-weight: 700;
  color: var(--text); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 4px;
}
.footer-col a { font-size: 0.875rem; color: var(--text2); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.nl-form { display: flex; gap: 8px; }
.nl-form input {
  flex: 1; padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: var(--radius-sm); font-size: 0.875rem;
  outline: none; transition: border-color var(--transition);
}
.nl-form input::placeholder { color: var(--text3); }
.nl-form input:focus { border-color: var(--gold); }
.nl-form button {
  width: 40px; height: 40px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.nl-form button svg { width: 16px; height: 16px; }
.nl-form button:hover { background: var(--gold-dark); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: var(--text2);
}

/* ═══ MODALS ═════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(28,24,20,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.97);
  z-index: 2001;
  width: 90%; max-width: 540px;
  max-height: 90vh; overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg2);
}
.modal.open {
  opacity: 1; visibility: visible;
  transform: translate(-50%,-50%) scale(1);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text2);
  border-radius: 8px; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.modal-close:hover { background: var(--bg3); color: var(--text); }
.modal-header {
  padding: 24px 24px 18px;
  background: color-mix(in srgb, var(--mc, var(--gold)) 8%, var(--bg2));
  border-bottom: 1px solid color-mix(in srgb, var(--mc, var(--gold)) 15%, var(--border));
  display: flex; align-items: center; gap: 14px;
}
.m-emoji { font-size: 2rem; line-height: 1; }
.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--text);
}
.modal-header p { font-size: 0.8125rem; color: var(--text2); margin-top: 2px; }
.modal-form {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
}

/* ═══ TOAST ══════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 3000;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid rgba(107,140,107,0.3);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  transform: translateY(100px); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.t-icon {
  width: 34px; height: 34px;
  background: rgba(107,140,107,0.12);
  border: 1px solid rgba(107,140,107,0.25);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.t-text { display: flex; flex-direction: column; gap: 2px; }
.t-text strong { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.t-text span { font-size: 0.8125rem; color: var(--text2); }

/* ═══ REVEAL ═════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ GALERIE ════════════════════════════════════════════════════ */
#galerie { background: var(--bg2); }

.gal-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  max-width: 1200px; margin: 0 auto 44px;
  padding: 0 32px;
}
.gal-tab {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text2);
  border-radius: 100px;
  font-size: 0.875rem; font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}
.gal-tab:hover { border-color: var(--gold); color: var(--text); }
.gal-tab.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Masonry-style grid */
.gal-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.gal-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-item.hidden { display: none; }

.gal-img {
  width: 100%; height: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  overflow: hidden;
  transition: transform var(--transition);
}
.gal-item:hover .gal-img { transform: scale(1.03); }

/* Real image support */
.gal-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gal-item:hover .gal-img img { transform: scale(1.08); }

.gal-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
}
.gp-icon { font-size: 2.5rem; line-height: 1; opacity: 0.6; }
.gp-hint {
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px; border-radius: 100px;
}

/* Hide placeholder when real img is present */
.gal-img:has(img) .gal-placeholder { display: none; }

.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,20,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(200,169,126,0.85);
  border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 4px;
}
.gal-overlay p {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: 4000;
  background: rgba(28,24,20,0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-placeholder {
  width: 500px; max-width: 90vw;
  height: 500px; max-height: 80vh;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1, #C8A97E), var(--c2, #8B7355));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox.open .lightbox-placeholder { transform: scale(1); }
.lb-icon { font-size: 4rem; opacity: 0.7; }
.lb-caption {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 400;
  color: rgba(255,255,255,0.9);
}
.lb-tag-text {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: white; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Instagram CTA */
.gal-insta {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; justify-content: center;
  max-width: 600px; margin: 48px auto 0;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
}
.gi-logo {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gi-logo svg { width: 26px; height: 26px; stroke: white; }
.gal-insta div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 140px; }
.gal-insta p { font-size: 0.875rem; color: var(--text2); }
.gal-insta strong { font-size: 1rem; font-weight: 700; color: var(--text); }

/* ═══ RESPONSIVE ═════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-wrap { grid-template-columns: 1fr; gap: 48px; }
  .about-logo-card { margin: 0 auto; }
  .activity-featured { grid-template-columns: 1fr; gap: 40px; }
  .af-visual { order: -1; }
  .impact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-container { padding: 100px 24px 60px; }
  .hero-timyc { letter-spacing: 0.15em; }
  .hero-stats { gap: 20px; padding: 16px 24px; }
  .hstat-div { display: none; }
  .activities-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .team-grid-new { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 24px; }
  .section-header, .about-wrap, .impact-wrap, .contact-wrap, .activity-featured { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .toast { right: 16px; left: 16px; min-width: unset; bottom: 16px; }
  .modal { width: 95%; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; padding: 0 20px; }
  .gal-item.wide { grid-column: span 2; }
  .gal-insta { padding: 20px; margin: 32px 20px 0; }
  .gal-tabs { padding: 0 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .team-grid-new { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-logo-card { width: 240px; height: 240px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}
