/* ═══════════════════════════════════════════════════
   SYO INDIA · MAIN STYLESHEET
   Singpho Youth Organisation · syoindia.org
═══════════════════════════════════════════════════ */

:root {
  --gold:       #C9922A;
  --gold-light: #E8B84B;
  --deep-gold:  #8B5E1A;
  --blue:       #1A3A8F;
  --deep-blue:  #0D2260;
  --navy:       #0a0d1a;
  --crimson:    #7A1A1A;
  --green:      #1A5C2A;
  --cream:      #FAF5E8;
  --cream-dark: #F0E8D4;
  --dark:       #090910;
  --dark-mid:   #111120;
  --text:       #1A1209;
  --muted:      #5C4A2A;
  --border:     rgba(201,146,42,0.22);

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Crimson Pro', Georgia, serif;
  --font-mono:    'Space Mono', monospace;

  --radius: 0px;
  --transition: 0.28s ease;
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TRIBAL DIVIDER ── */
.tribal-divider {
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    #8B1A1A   0px,  #8B1A1A  18px,
    #C9922A   18px, #C9922A  36px,
    #1A5C2A   36px, #1A5C2A  54px,
    #1A3A8F   54px, #1A3A8F  72px,
    #C9922A   72px, #C9922A  90px
  );
  flex-shrink: 0;
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── TYPOGRAPHY HELPERS ── */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.section-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  margin-bottom: 2.8rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.88rem 2.2rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all var(--transition);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,146,42,0.38);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.88rem 2.2rem;
  text-decoration: none;
  border: 1.5px solid rgba(250,245,232,0.32);
  transition: all var(--transition);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9,9,16,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  transition: box-shadow 0.3s;
}
#main-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom-color: rgba(201,146,42,0.4);
}

.nav-logo {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 46px; width: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: contain;
  background: white;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.25;
  letter-spacing: 0.06em;
}
.nav-logo-text span {
  display: block;
  font-size: 0.58rem;
  color: rgba(201,146,42,0.5);
  letter-spacing: 0.2em;
  font-weight: 400;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(250,245,232,0.65);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -1px; left: 50%; right: 50%;
  height: 2px; background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { left: 0.6rem; right: 0.6rem; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 0.42rem 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  margin-left: 0.5rem;
  transition: background var(--transition) !important;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--gold);
  display: block;
  transition: 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   HERO (index.php)
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(9,9,16,0.93) 0%, rgba(13,34,96,0.86) 52%, rgba(9,9,16,0.97) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpolygon points='40,4 76,24 76,56 40,76 4,56 4,24' fill='none' stroke='rgba(201,146,42,0.11)' stroke-width='1'/%3E%3Cpolygon points='40,14 66,28 66,52 40,66 14,52 14,28' fill='none' stroke='rgba(201,146,42,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover, 80px 80px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 70px 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,146,42,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 5s ease-in-out infinite;
}
.hero-ring:nth-child(1) { width: 560px; height: 560px; }
.hero-ring:nth-child(2) { width: 720px; height: 720px; animation-delay: 1.4s; border-color: rgba(201,146,42,0.07); }
.hero-ring:nth-child(3) { width: 880px; height: 880px; animation-delay: 2.8s; border-color: rgba(201,146,42,0.04); }

@keyframes pulse-ring {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%,-50%) scale(1.03); opacity: 0.6; }
}

.hero-content { position: relative; z-index: 2; max-width: 840px; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,146,42,0.38);
  padding: 0.38rem 1.4rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: 136px; height: 136px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: white;
  margin: 0 auto 2rem;
  object-fit: contain;
  animation: fadeUp 0.9s 0.15s ease both;
  box-shadow: 0 0 50px rgba(201,146,42,0.28), 0 0 120px rgba(201,146,42,0.1);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.04;
  margin-bottom: 0.4rem;
  animation: fadeUp 0.9s 0.25s ease both;
  letter-spacing: 0.04em;
}
.hero-title em {
  display: block;
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), #f2c860, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(250,245,232,0.5);
  margin-bottom: 2rem;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.35s ease both;
}

.hero-desc {
  font-size: 1.22rem;
  font-weight: 300;
  color: rgba(250,245,232,0.78);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  line-height: 1.8;
  font-style: italic;
  animation: fadeUp 0.9s 0.45s ease both;
}

.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.55s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   QUICK LINKS (index.php)
══════════════════════════════════════ */
#quicklinks {
  background: var(--dark-mid);
  padding: 0;
}
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid rgba(201,146,42,0.15);
}
.quicklink-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1rem;
  text-decoration: none;
  border-right: 1px solid rgba(201,146,42,0.1);
  border-bottom: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition);
  gap: 0.85rem;
  position: relative;
}
.quicklink-item:last-child { border-right: none; }
.quicklink-item:hover, .quicklink-item.ql-active {
  background: rgba(201,146,42,0.06);
  border-bottom-color: var(--gold);
}

/* SVG icon container */
.ql-icon {
  width: 34px; height: 34px;
  color: rgba(250,245,232,0.35);
  transition: color var(--transition);
  flex-shrink: 0;
}
.quicklink-item:hover .ql-icon,
.quicklink-item.ql-active .ql-icon { color: var(--gold); }

.ql-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,245,232,0.5);
  transition: color var(--transition);
}
.quicklink-item:hover .ql-label,
.quicklink-item.ql-active .ql-label { color: var(--cream); }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  padding: 130px 0 60px;
  background:
    linear-gradient(160deg, rgba(9,9,16,0.95) 0%, rgba(13,34,96,0.9) 60%, rgba(9,9,16,0.98) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpolygon points='30,3 57,17 57,43 30,57 3,43 3,17' fill='none' stroke='rgba(201,146,42,0.1)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover, 60px 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { display: flex; align-items: flex-end; gap: 2rem; }
.page-hero-content { flex: 1; }
.page-hero .section-label { color: var(--gold); }
.page-hero .section-title { color: var(--cream); margin-bottom: 0.75rem; }
.page-hero .section-line { margin-bottom: 0; }
.page-hero-desc {
  font-size: 1.1rem;
  color: rgba(250,245,232,0.62);
  font-style: italic;
  margin-top: 1rem;
  max-width: 580px;
}

/* ══════════════════════════════════════
   HISTORY PAGE
══════════════════════════════════════ */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}
.history-text p {
  font-size: 1.14rem;
  line-height: 1.88;
  color: #3a2c15;
  margin-bottom: 1.3rem;
}
.history-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.74;
  margin-right: 0.1em;
  margin-top: 0.08em;
  color: var(--gold);
  font-weight: 800;
}
.history-sidebar { position: sticky; top: 90px; }
.history-card {
  background: var(--dark);
  color: var(--cream);
  padding: 2.2rem 2rem;
  margin-bottom: 1.2rem;
  border-left: 4px solid var(--gold);
}
.history-card-year {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.history-card p {
  font-size: 0.97rem;
  line-height: 1.68;
  color: rgba(250,245,232,0.7);
}

/* ══════════════════════════════════════
   GENEALOGY PAGE
══════════════════════════════════════ */
.genealogy-intro {
  max-width: 700px;
  font-size: 1.14rem;
  line-height: 1.82;
  color: rgba(250,245,232,0.68);
  font-style: italic;
  margin-bottom: 3.5rem;
}
.clans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.clan-card {
  border: 1px solid rgba(201,146,42,0.2);
  padding: 2rem 1.6rem;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
  position: relative;
}
.clan-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--gold), var(--blue));
  transition: height 0.35s ease;
}
.clan-card:hover { border-color: rgba(201,146,42,0.5); transform: translateY(-4px); }
.clan-card:hover::before { height: 100%; }
.clan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.clan-desc { font-size: 0.92rem; color: rgba(250,245,232,0.52); line-height: 1.65; }
.genealogy-cta {
  background: rgba(201,146,42,0.07);
  border: 1px dashed rgba(201,146,42,0.3);
  padding: 3rem;
  text-align: center;
}
.genealogy-cta p {
  font-size: 1.08rem;
  color: rgba(250,245,232,0.65);
  margin-bottom: 1.8rem;
  font-style: italic;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}

/* ══════════════════════════════════════
   EXECUTIVE PAGE
══════════════════════════════════════ */
.exec-intro {
  max-width: 660px;
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 3.5rem;
  font-style: italic;
}
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.exec-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-bottom: 3px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.exec-card:hover { transform: translateY(-6px); border-bottom-color: var(--gold); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.exec-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  border: 2.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cream);
  overflow: hidden;
}
.ea-p  { background: linear-gradient(135deg, var(--deep-blue), #2a4abf); }
.ea-vp { background: linear-gradient(135deg, var(--crimson), #a02424); }
.ea-gs { background: linear-gradient(135deg, var(--green), #2a8a3a); }
.ea-tr { background: linear-gradient(135deg, var(--deep-gold), var(--gold)); }
.ea-js { background: linear-gradient(135deg, #3a1a5c, #6a2aaf); }
.ea-os { background: linear-gradient(135deg, #1a4040, #2a7070); }
.exec-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.exec-role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.exec-region { font-size: 0.88rem; color: var(--muted); font-style: italic; }

/* ══════════════════════════════════════
   NEWS PAGE
══════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.news-featured {
  background: var(--dark);
  color: var(--cream);
  padding: 3rem;
  position: relative;
}
.news-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}
.news-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--dark);
  padding: 0.22rem 0.7rem;
  display: inline-block;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.news-tag.tag-culture { background: var(--green); color: white; }
.news-tag.tag-edu     { background: var(--blue); color: white; }
.news-tag.tag-rights  { background: var(--crimson); color: white; }

.news-featured h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 1rem;
}
.news-featured p { font-size: 1.04rem; line-height: 1.78; color: rgba(250,245,232,0.7); margin-bottom: 1.5rem; }
.news-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(250,245,232,0.38);
  letter-spacing: 0.1em;
}

.news-sidebar-list { display: flex; flex-direction: column; gap: 1rem; }
.news-sidebar-item {
  background: white;
  padding: 1.4rem;
  border-left: 3px solid var(--gold);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.news-sidebar-item:hover { border-color: var(--blue); box-shadow: 0 4px 18px rgba(0,0,0,0.07); }
.news-sidebar-item h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.5rem 0 0.4rem;
  line-height: 1.38;
}
.news-sidebar-item .news-date { color: var(--muted); }

/* ══════════════════════════════════════
   GALLERY PAGE
══════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 6px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #14141f;
  transition: filter var(--transition);
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.6rem;
  color: rgba(250,245,232,0.18);
  transition: color var(--transition);
}
.gallery-placeholder svg { width: 40px; height: 40px; }
.gallery-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gallery-item:hover .gallery-placeholder { color: rgba(250,245,232,0.45); }

.gp1 { background: linear-gradient(135deg, #0b1640, #1a3a8f); }
.gp2 { background: linear-gradient(135deg, #1a0808, #5c1414); }
.gp3 { background: linear-gradient(135deg, #081408, #1a5c2a); }
.gp4 { background: linear-gradient(135deg, #180e02, #8b5e1a); }
.gp5 { background: linear-gradient(135deg, #0a0818, #2a1a5c); }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ══════════════════════════════════════
   BLOGS PAGE
══════════════════════════════════════ */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: white;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-header {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.bh1 { background: linear-gradient(135deg, var(--blue), var(--deep-blue)); }
.bh2 { background: linear-gradient(135deg, var(--crimson), #4a0808); }
.bh3 { background: linear-gradient(135deg, var(--green), #082808); }
.blog-card-header-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpolygon points='20,2 38,11 38,29 20,38 2,29 2,11' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}
.blog-card-icon { position: relative; z-index: 1; color: rgba(255,255,255,0.25); }
.blog-card-icon svg { width: 48px; height: 48px; }
.blog-card-body { padding: 1.8rem; }
.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.38;
  color: var(--text);
}
.blog-card p { font-size: 0.95rem; line-height: 1.72; color: var(--muted); margin-bottom: 1.2rem; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #f0e8d8;
  padding-top: 1rem;
}
.blog-author { font-family: var(--font-mono); font-size: 0.58rem; color: var(--muted); letter-spacing: 0.08em; }
.blog-read {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}
.blog-read:hover { color: var(--deep-gold); }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.contact-icon-box {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid rgba(201,146,42,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-icon-box svg { width: 20px; height: 20px; }
.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.contact-item-text { font-size: 1rem; line-height: 1.68; color: rgba(250,245,232,0.7); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201,146,42,0.8);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,146,42,0.22);
  color: var(--cream);
  padding: 0.82rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: #0d1a3a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Success / Error */
.form-message {
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  display: none;
}
.form-message.success { background: rgba(26,92,42,0.3); border: 1px solid rgba(26,92,42,0.5); color: #6afa8a; display: block; }
.form-message.error   { background: rgba(122,26,26,0.3); border: 1px solid rgba(122,26,26,0.5); color: #fa8a8a; display: block; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--dark); }
.footer-inner { padding: 4.5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.2rem;
}
.footer-brand-logo img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: white;
  object-fit: contain;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.4;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(201,146,42,0.45);
  letter-spacing: 0.2em;
  margin-top: 2px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(250,245,232,0.42);
  line-height: 1.78;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(201,146,42,0.22);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(250,245,232,0.4);
  transition: border-color var(--transition), color var(--transition);
}
.social-btn svg { width: 14px; height: 14px; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  text-decoration: none;
  font-size: 0.88rem;
  color: rgba(250,245,232,0.4);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  color: rgba(250,245,232,0.28);
  letter-spacing: 0.08em;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(250,245,232,0.28);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

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

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .quicklinks-grid { grid-template-columns: repeat(4, 1fr); }
  .history-layout { grid-template-columns: 1fr; }
  .history-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0; background: rgba(9,9,16,0.98);
    padding: 1.5rem 2rem; gap: 0.2rem; border-bottom: 1px solid var(--border);
    z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .quicklinks-grid { grid-template-columns: repeat(4, 1fr); }

  .news-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; height: 220px; }
  .gallery-item:nth-child(4) { grid-column: span 2; }

  .exec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .clans-grid { grid-template-columns: 1fr; }
  .blogs-grid { grid-template-columns: 1fr; }
  .exec-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
}

/* ══════════════════════════════════════
   BLOG SINGLE POST BODY
══════════════════════════════════════ */
.blog-post-body {
  font-size: 1.16rem;
  line-height: 1.9;
  color: #3a2c15;
}
.blog-post-body p {
  margin-bottom: 1.4rem;
}
.blog-post-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  float: left;
  line-height: 0.74;
  margin-right: 0.1em;
  margin-top: 0.08em;
  color: var(--gold);
  font-weight: 800;
}
.blog-post-body em { font-style: italic; color: var(--muted); }
.blog-post-body strong { font-weight: 600; color: var(--text); }

/* ══════════════════════════════════════
   SEARCH
══════════════════════════════════════ */
.search-result-item {
  background: white;
  padding: 1.8rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1.2rem;
  transition: box-shadow var(--transition);
}
.search-result-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

/* ══════════════════════════════════════
   STATS STRIP (index.php)
══════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stat-sublabel {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.stat-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   ABOUT BANNER (index.php)
══════════════════════════════════════ */
.about-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-banner-img {
  background: var(--dark);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-banner-img img {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: white;
  object-fit: contain;
  position: relative; z-index: 1;
}
.about-banner-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpolygon points='30,3 57,17 57,43 30,57 3,43 3,17' fill='none' stroke='rgba(201,146,42,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.about-banner-content .section-title { color: var(--text); }
.about-banner-content p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

/* ══════════════════════════════════════
   RESPONSIVE ADDITIONS
══════════════════════════════════════ */
@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-banner { grid-template-columns: 1fr; }
  .about-banner-img { height: 240px; }
}

/* ══════════════════════════════════════
   TENURE SELECTOR
══════════════════════════════════════ */
.tenure-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}
/* Works for both <a> and <button> elements */
.tenure-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.48rem 1.1rem;
  border: 1.5px solid rgba(26,18,9,0.25);
  background: transparent;
  color: rgba(26,18,9,0.5);
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
}
.tenure-btn:hover {
  border-color: var(--gold);
  color: var(--deep-gold);
  background: rgba(201,146,42,0.08);
}
.tenure-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* ── tenure section panels ── */
.tenure-panel { display: none; }
.tenure-panel.active { display: block; }

/* ── exec tier heading ── */
.tier-heading {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201,146,42,0.18);
}

/* ── exec card with photo ── */
.exec-card-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  background: #1a1a2a;
}
