/* ============================================================
   YALE INDIA FORUM — Premium Design System
   Version 1.0 | Phase 1: Homepage
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/* --- CSS Variables --- */
:root {
  --yale-blue: #05122e;
  --yale-dark: #030b1c;
  --yale-mid: #13315c;
  --white: #FFFFFF;
  --silver: #cc945a;
  --silver-light: #e0b183;
  --bg: #F6F8FB;
  --bg-card: #FFFFFF;
  --text-primary: #05122e;
  --text-secondary: #4A5568;
  --text-muted: #4A5568;
  --border: rgba(200, 204, 212, 0.3);
  --shadow-sm: 0 2px 12px rgba(5,18,46,0.06);
  --shadow-md: 0 8px 32px rgba(5,18,46,0.10);
  --shadow-lg: 0 24px 64px rgba(5,18,46,0.14);
  --shadow-xl: 0 40px 100px rgba(5,18,46,0.18);
  --gradient: linear-gradient(135deg, #05122e 0%, #13315c 100%);
  --gradient-hero: linear-gradient(135deg, #030b1c 0%, #05122e 40%, #13315c 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --yif-primary:      #05122e;
  --yif-primary-soft: #0c1f47;
  --yif-gold:          #cc945a;
  --yif-gold-soft:     #e0b384;
  --yif-text:          #e7ebf3;
  --yif-text-muted:    #9aa6bf;
  --navy: #05122e;        /* deep Yale blue — sampled from the wordmark */
      --navy-soft: #0a2049;
      --royal: #13315c;       /* royal blue secondary */
      --royal-soft: #1c4272;
      --gold: #cc945a;        /* antique gold accent */
      --gold-bright: #e0b183;

      /* Re-map the base design-system tokens onto the brand palette so every
         reused component (speakers grid, section headings, badges, etc.)
         automatically inherits the new colors. */
      --yale-blue: var(--navy);
      --yale-dark: var(--navy);
      --yale-mid: var(--royal);
      --silver: var(--gold);
      --silver-light: var(--gold-bright);
      --text-primary: var(--navy);
      --gradient: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
      --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 45%, var(--royal) 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'georgia', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
       HEADER / NAVIGATION
       ============================================================ */
.yif-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 24px;
	padding: 0px 40px;
	background: transparent;
	transition: padding 0.35s ease;
}
 
.yif-header.is-scrolled {
	padding: 5px 40px;
	background: rgba(5, 18, 46, 0.85);
}
 
.yif-nav-pill {
	grid-column: 2;
	display: flex;
	align-items: center;
	gap: 120px;
	/*background: rgba(5,18,46,0.55);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255,255,255,0.12);*/
	border-radius: 100px;
	padding: 0px 16px 0px 32px;
	/*box-shadow: 0 10px 34px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);*/
	transition: background 0.35s ease, box-shadow 0.35s ease;
}
 
.yif-header.is-scrolled .yif-nav-pill {
	/*background: rgba(5, 18, 46, 0.85);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);*/
}
 
.yif-nav-left,
.yif-nav-right {
	display: flex;
	align-items: center;
	gap: 50px;
}
 
.yif-nav-pill .yif-brand {
	padding: 0 24px;
}
 
.yif-nav-right-outer {
	grid-column: 3;
	justify-self: end;
}
 
/* --- Left cluster: unique burger + search icon --- */
.yif-header-left {
	grid-column: 1;
	justify-self: start;
	display: flex;
	align-items: center;
	gap: 12px;
}
 
.yif-burger-btn {
	position: relative;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transition: border-color 0.25s ease, background 0.25s ease;
}
 
.yif-burger-btn:hover {
	border-color: var(--gold-bright);
	background: rgba(255, 255, 255, 0.13);
}
 
.yif-burger-btn .burger-line {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
.yif-burger-btn .line1 {
	width: 12px;
	align-self: flex-start;
	margin-left: 14px;
}
 
.yif-burger-btn .line2 {
	width: 22px;
}
 
.yif-burger-btn .line3 {
	width: 17px;
	align-self: flex-end;
	margin-right: 14px;
}
 
.yif-burger-btn:hover .line1,
.yif-burger-btn:hover .line3 {
	width: 22px;
	margin: 0;
	align-self: center;
}
 
.yif-burger-btn.open .line1 {
	width: 22px;
	margin: 0;
	align-self: center;
	transform: translateY(7px) rotate(45deg);
	background: var(--gold-bright);
}
 
.yif-burger-btn.open .line2 {
	opacity: 0;
}
 
.yif-burger-btn.open .line3 {
	width: 22px;
	margin: 0;
	align-self: center;
	transform: translateY(-7px) rotate(-45deg);
	background: var(--gold-bright);
}
 
.yif-search-btn {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.95rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}
 
.yif-search-btn:hover,
.yif-search-btn.open {
	border-color: var(--gold-bright);
	background: rgba(255, 255, 255, 0.13);
	color: var(--gold-bright);
}
 
/* --- Side drawer (announcement) --- */
.yif-side-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 390;
	background: rgba(5, 18, 46, 0.55);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
 
.yif-side-drawer-overlay.open {
	opacity: 1;
	visibility: visible;
}
 
.yif-side-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 400px;
	max-width: 88vw;
	z-index: 400;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
	box-shadow: 24px 0 60px rgba(0, 0, 0, 0.4);
	padding: 50px 42px 40px;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
.yif-side-drawer.open {
	transform: translateX(0);
}
 
.yif-side-drawer-close {
	position: absolute;
	top: 26px;
	right: 26px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}
 
.yif-side-drawer-close:hover {
	color: var(--gold-bright);
	border-color: var(--gold-bright);
}
 
.yif-side-drawer-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'georgia', sans-serif;
	;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-bright);
	border: 1px solid rgba(204, 148, 90, 0.45);
	border-radius: 100px;
	padding: 7px 16px;
	margin-bottom: 22px;
}
 
.yif-side-drawer-eyebrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold-bright);
	box-shadow: 0 0 8px 2px rgba(224, 177, 131, 0.7);
}
 
.yif-side-drawer-content h3 {
	font-family: 'georgia', sans-serif;
	;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.28;
	color: #fff;
	margin: 0 0 16px;
}
 
.yif-side-drawer-content p {
	font-size: 14px;
	line-height: 1.75;
	color: rgba(230, 235, 245, 0.82);
	margin: 0 0 8px;
}
 
.yif-side-drawer-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.14);
	margin: 28px 0;
}
 
.yif-side-drawer-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gold-bright);
	margin: 0 0 10px;
}
 
/* --- Search overlay --- */
.yif-search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 250;
	background: rgba(5, 18, 46, 0.94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 130px 40px 55px;
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, visibility 0.5s;
}
 
.yif-search-overlay.open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
 
.yif-search-box {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	border-bottom: 2px solid rgba(204, 148, 90, 0.5);
	padding-bottom: 18px;
}
 
.yif-search-box i.fa-search {
	color: var(--gold-bright);
	font-size: 1.3rem;
}
 
.yif-search-box input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	font-family: 'georgia', sans-serif;
	;
	font-size: 1.7rem;
	color: #fff;
}
 
.yif-search-box input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}
 
.yif-search-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}
 
.yif-search-close:hover {
	color: var(--gold-bright);
}
 
.yif-search-hint {
	max-width: 760px;
	margin: 14px auto 0;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.45);
}

/* --- Live search results --- */
.yif-search-results {
	max-width: 760px;
	margin: 22px auto 0;
	max-height: 50vh;
	overflow-y: auto;
}

.yif-search-results.has-results {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 10px;
}

.yif-search-result {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 10px;
	text-decoration: none;
	color: #fff;
	transition: background 0.2s ease;
}

.yif-search-result:hover,
.yif-search-result.active {
	background: rgba(204, 148, 90, 0.14);
}

.yif-search-result-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.yif-search-result-title {
	font-family: 'georgia', sans-serif;
	font-size: 1.05rem;
	color: #fff;
}

.yif-search-result-category {
	flex-shrink: 0;
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-bright);
	white-space: nowrap;
}

.yif-search-result-excerpt {
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
}

.yif-search-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 14px 16px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 640px) {
	.yif-search-results {
		max-height: 60vh;
	}

	.yif-search-result-top {
		flex-direction: column;
		gap: 2px;
	}
}
 
@media (max-width: 640px) {
	.yif-side-drawer {
		padding: 100px 28px 32px;
		width: 100%;
		max-width: 100%;
	}
 
	.yif-search-overlay {
		padding: 110px 24px 40px;
	}
 
	.yif-search-box input {
		font-size: 1.2rem;
	}
}
 
 
/* --- Fix: make drawer scrollable when content overflows --- */
.yif-side-drawer {
	box-sizing: border-box;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
 
/* --- Quick Links inside drawer --- */
.yif-side-drawer-links-title {
	display: block;
	font-family: 'georgia', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-bright);
	margin-bottom: 14px;
}
 
.yif-side-drawer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}
 
.yif-side-drawer-links ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
 
.yif-side-drawer-links ul li:last-child {
	border-bottom: none;
}
 
.yif-side-drawer-links ul li a {
	display: block;
	padding: 7px 2px;
	font-size: 0.8rem;
	font-weight: 500;
	color: rgba(230, 235, 245, 0.85);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease, padding-left 0.2s ease;
}
 
.yif-side-drawer-links ul li a:hover {
	color: var(--gold-bright);
	padding-left: 6px;
}

.yif-side-drawer-links ul li a.active,
.yif-mobile-drawer a.active {
  color: var(--gold-bright);
}
 
.yif-nav-divider {
      width: 1px;
      height: 22px;
      background: rgba(255,255,255,0.22);
    }
 
    .yif-nav-link {
      color: #EAF0FF;
      font-family: 'georgia', sans-serif;;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      white-space: nowrap;
      position: relative;
      padding-bottom: 4px;
      transition: color 0.2s ease;
    }
    .yif-nav-link::after {
      content: '';
      position: absolute; left: 0; bottom: 0;
      width: 0; height: 1px;
      background: var(--gold-bright);
      transition: width 0.25s ease;
    }
    .yif-nav-link:hover { color: var(--gold-bright); }
    .yif-nav-link:hover::after { width: 100%; }
    .yif-nav-link.active { color: var(--gold-bright); }
    .yif-nav-link.active::after { width: 100%; }
 
    .yif-btn-join {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
      color: var(--navy);
      padding: 10px 26px;
      border-radius: 100px;
      font-family: 'georgia', sans-serif;;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      text-decoration: none;
      white-space: nowrap;
      box-shadow: 0 6px 20px rgba(204,148,90,0.35);
      transition: all 0.25s ease;
    }
    .yif-btn-join:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(204,148,90,0.48);
      filter: brightness(1.05);
    }
 
    .yif-menu-toggle {
      display: flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      border: none;
      color: #fff;
      cursor: pointer;
      font-family: 'georgia', sans-serif;;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .yif-menu-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
    .yif-menu-toggle .bars span { width: 20px; height: 2px; background: #fff; display: block; transition: 0.25s; }
 
    .yif-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
      padding: 0 6px;
    }
    .yif-brand img {
      width: 120px; /*height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid var(--gold);*/
    }
	.yif-header.is-scrolled .yif-brand img {
	  width: 70px;
	}
    .yif-brand-text {
      font-family: 'georgia', sans-serif;;
      color: #fff;
      line-height: 1.1;
      text-align: left;
    }
    .yif-brand-text strong {
      display: block;
      font-size: 1.15rem;
      font-weight: 600;
      letter-spacing: 0.03em;
    }
    .yif-brand-text span {
      display: block;
      font-family: 'georgia', sans-serif;;
      font-size: 0.6rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold-bright);
      margin-top: 2px;
    }
 
    .yif-header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .yif-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 20px;
      border-radius: 100px;
      font-family: 'georgia', sans-serif;;
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      white-space: nowrap;
      transition: all 0.25s ease;
      border: 1px solid transparent;
    }
    .yif-btn-outline {
      color: #fff;
      border-color: rgba(255,255,255,0.4);
      background: transparent;
    }
    .yif-btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
    .yif-btn-solid {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
      color: var(--navy);
    }
    .yif-btn-solid:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .yif-btn-glass {
      background: rgba(255,255,255,0.10);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.35);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 4px 18px rgba(0,10,30,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
    }
    .yif-btn-glass .btn-arrow { display: inline-block; transition: transform 0.25s ease; }
    .yif-btn-glass:hover {
      background: rgba(255,255,255,0.22);
      border-color: var(--gold-bright);
      color: var(--gold-bright);
      box-shadow: 0 8px 26px rgba(0,10,30,0.24), inset 0 1px 0 rgba(255,255,255,0.28);
      transform: translateY(-2px);
    }
    .yif-btn-glass:hover .btn-arrow { transform: translateX(3px); }
 
    /* Mobile drawer (legacy full-menu nav — replaced by side drawer on mobile, see below) */
    .yif-mobile-toggle {
      display: none;
      background: transparent; border: none; cursor: pointer;
      width: 40px; height: 40px;
      align-items: center; justify-content: center;
      flex-direction: column; gap: 5px;
      z-index: 220;
    }
    .yif-mobile-toggle span { width: 22px; height: 2px; background: #fff; transition: 0.3s; }
    .yif-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .yif-mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .yif-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
    .yif-mobile-drawer {
      position: fixed;
      inset: 0;
      z-index: 210;
      background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 1.5rem;
      padding: 2rem 2.5rem;
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
    }
    .yif-mobile-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .yif-mobile-drawer a {
      color: #fff;
      font-family: 'georgia', sans-serif;;
      font-size: 1.7rem;
      text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding-bottom: 0.6rem;
      width: 100%;
    }
    .yif-mobile-drawer .yif-header-actions { margin: 1rem 0 0; }
 
    @media (max-width: 1080px) {
      .yif-nav-left,
      .yif-nav-right { display: none; }
      .yif-nav-pill { padding: 6px 20px; gap: 0; }
      .yif-nav-right-outer { display: none; }
      .yif-mobile-toggle { display: none; } /* replaced by burger (left) + search (right) below */
      .yif-header {
        display: flex;
        justify-content: space-between;
        padding: 18px 20px;
      }
      .yif-brand { padding: 0; }
    }
 
/* ============================================================
   MOBILE HEADER LAYOUT
   Burger (left, opens menu + announcements) — Logo (centered) — Search (right)
   ============================================================ */
@media (max-width: 1080px) {
 
  /* Keep header a simple relative box so we can absolutely
     position the logo dead-center and the search icon on the right */
  .yif-header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 20px;
  }
 
  .yif-header.is-scrolled {
    padding: 12px 20px;
  }
 
  /* Left cluster: burger only stays in normal flow */
  .yif-header-left {
    position: relative;
    z-index: 2;
    gap: 0;
  }
 
  /* Search button detached from the left cluster and pinned to the right edge */
  .yif-header-left .yif-search-btn {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 2;
  }
 
  .yif-header.is-scrolled .yif-header-left .yif-search-btn {
    top: 12px;
  }
 
  /* Logo perfectly centered regardless of icon widths on either side */
  .yif-nav-pill {
    position: fixed;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    padding: 0;
    gap: 0;
    z-index: 1;
  }
 
  .yif-header.is-scrolled .yif-nav-pill {
    top: 12px;
  }
 
  .yif-brand {
    padding: 0;
  }
 
  .yif-brand img {
    width: 90px;
  }
 
  .yif-header.is-scrolled .yif-brand img {
    width: 60px;
  }
 
  /* Right-side Join Now button and old full nav links stay hidden on mobile */
  .yif-nav-right-outer {
    display: none;
  }
}
 
/* Tablet / large phone fine-tuning */
@media (max-width: 640px) {
  .yif-burger-btn,
  .yif-header-left .yif-search-btn {
    width: 42px;
    height: 42px;
  }
}
 
/* Small phones */
@media (max-width: 400px) {
  .yif-header,
  .yif-header.is-scrolled {
    padding: 12px 14px;
  }
 
  .yif-header-left .yif-search-btn {
    right: 14px;
    top: 12px;
  }
 
  .yif-nav-pill,
  .yif-header.is-scrolled .yif-nav-pill {
    top: 12px;
  }
 
  .yif-brand img {
    width: 90px;
  }
 
  .yif-header.is-scrolled .yif-brand img {
    width: 50px;
  }
 
  .yif-burger-btn,
  .yif-header-left .yif-search-btn {
    width: 38px;
    height: 38px;
  }
 
  .yif-side-drawer {
    padding: 90px 20px 28px;
  }
 
  .yif-side-drawer-content h3 {
    font-size: 1.15rem;
  }
 
  .yif-side-drawer-links ul {
    grid-template-columns: 1fr;
  }
 
  .yif-search-overlay {
    padding: 95px 18px 32px;
  }
 
  .yif-search-box input {
    font-size: 1.05rem;
  }
}
 
/* ============================================================
   MOBILE SIDE DRAWER: menu first, then announcement details
   (Desktop drawer order is untouched — this is scoped to mobile only)
   ============================================================ */
@media (max-width: 1080px) {
 
  .yif-side-drawer-content {
    display: flex;
    flex-direction: column;
  }
 
  /* Pull the menu list to the very top of the drawer */
  .yif-side-drawer-links {
    order: -1;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
 
  /* Remove the "Quick Links" label — it now serves as the main menu */
  .yif-side-drawer-links-title {
    display: none;
  }
 
  /* Show as a single-column main menu instead of a compact 2-col grid */
  .yif-side-drawer-links ul {
    grid-template-columns: 1fr;
  }
 
  .yif-side-drawer-links ul li a {
    font-size: 1rem;
    padding: 12px 2px;
    white-space: normal;
  }
}
 










/* ============================================================
       HERO
       ============================================================ */
    #yif-hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: url('../images/yale-hero-bg.png') center / cover no-repeat;
      font-family: 'georgia', sans-serif;;
      padding-top: 110px;
    }

    /* --- Layer 0: light tint over the still image — just enough for text
       contrast, without hiding the photo underneath --- */
    .yif-hero-image-tint {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(5,18,46,0.20) 0%, rgba(5,18,46,0.30) 45%, rgba(5,18,46,0.48) 100%);
    }

    /* --- Layer 1: drifting aurora glow (primary base + secondary bloom) --- */
    .yif-hero-aurora {
      position: absolute;
      inset: -10%;
      z-index: 0;
      pointer-events: none;
      /*background:
        radial-gradient(circle at 18% 28%, rgba(204,148,90,0.32) 0%, transparent 40%),
        radial-gradient(circle at 82% 22%, rgba(224,177,131,0.20) 0%, transparent 42%),
        radial-gradient(circle at 70% 78%, rgba(204,148,90,0.22) 0%, transparent 45%),
        radial-gradient(circle at 25% 82%, rgba(19,49,92,0.55) 0%, transparent 50%);*/
      background-repeat: no-repeat;
      background-size: 140% 140%, 130% 130%, 150% 150%, 160% 160%;
      filter: blur(50px);
      animation: yifAuroraDrift 24s ease-in-out infinite alternate;
      will-change: background-position;
    }
    @keyframes yifAuroraDrift {
      0%   { background-position: 0% 20%, 100% 0%, 80% 100%, 10% 90%; }
      50%  { background-position: 30% 55%, 65% 35%, 45% 70%, 45% 55%; }
      100% { background-position: 65% 10%, 20% 60%, 100% 40%, 80% 20%; }
    }

    /* --- Layer 2: faint moving blueprint grid for a premium, architectural feel --- */
    .yif-hero-grid {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0.10;
      /*background-image:
        linear-gradient(rgba(224,177,131,0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224,177,131,0.7) 1px, transparent 1px);*/
      background-size: 64px 64px;
      animation: yifGridPan 34s linear infinite;
    }
    @keyframes yifGridPan {
      from { background-position: 0 0, 0 0; }
      to   { background-position: 128px 128px, 128px 128px; }
    }

    /* --- Layer 3: a slow diagonal light sweep, like a spotlight passing through --- */
    .yif-hero-sweep {
      position: absolute;
      top: -20%;
      left: -60%;
      width: 55%;
      height: 140%;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(100deg, transparent 0%, rgba(224,177,131,0.16) 45%, rgba(224,177,131,0.28) 50%, rgba(224,177,131,0.16) 55%, transparent 100%);
      transform: skewX(-18deg);
      animation: yifSweepMove 9s ease-in-out infinite;
    }
    @keyframes yifSweepMove {
      0%   { left: -60%; }
      45%  { left: 120%; }
      100% { left: 120%; }
    }

    /* --- Layer 4: embers rising through the scene, in the secondary accent color --- */
    .yif-hero-embers {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
    }
    .yif-ember {
      position: absolute;
      bottom: -10%;
      border-radius: 50%;
      background: radial-gradient(circle, #e0b183 0%, #cc945a 65%, transparent 100%);
      box-shadow: 0 0 10px 2px rgba(204,148,90,0.55);
      opacity: 0;
      animation-name: yifEmberRise;
      animation-timing-function: ease-in;
      animation-iteration-count: infinite;
    }
    @keyframes yifEmberRise {
      0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
      12%  { opacity: 0.9; }
      50%  { transform: translate(18px, -55vh) scale(1); opacity: 0.75; }
      88%  { opacity: 0.25; }
      100% { transform: translate(-14px, -108vh) scale(0.4); opacity: 0; }
    }

    #yif-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 2;
      /*background: linear-gradient(135deg, rgba(5,18,46,0.72) 0%, rgba(19,49,92,0.5) 55%, rgba(5,18,46,0.8) 100%);*/
      pointer-events: none;
    }
    .yif-hero-ring {
      position: absolute;
      width: 620px; height: 620px;
      border: 1px solid rgba(204,148,90,0.3);
      border-radius: 50%;
      top: -180px; right: -160px;
      pointer-events: none;
      z-index: 2;
      animation: yifRingRotate 50s linear infinite, yifRingPulse 7s ease-in-out infinite;
    }
    .yif-hero-ring::before {
      content: '';
      position: absolute; inset: 60px;
      border: 1px solid rgba(204,148,90,0.18);
      border-radius: 50%;
    }
    @keyframes yifRingRotate {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }
    @keyframes yifRingPulse {
      0%, 100% { opacity: 0.55; transform: scale(1) rotate(0deg); }
      50%      { opacity: 1; transform: scale(1.04) rotate(180deg); }
    }

    @media (prefers-reduced-motion: reduce) {
      .yif-hero-aurora,
      .yif-hero-grid,
      .yif-hero-sweep,
      .yif-ember,
      .yif-hero-ring {
        animation: none !important;
      }
    }

    .yif-hero-inner {
      position: relative;
      z-index: 5;
      max-width: 1440px;
      margin: 0 auto;
      width: 100%;
      padding: 2rem 40px 4rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .yif-hero-inner--minimal {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 24px;
    }

    .yif-hero-title-main {
      font-family: 'georgia', sans-serif;;
      font-weight: 400;
      font-size: clamp(2.6rem, 6vw, 5.2rem);
      line-height: 1.15;
      color: #d09b63;
      letter-spacing: 0.01em;
      margin: 0 0 20px;
    }

    .yif-hero-eyebrow {
      font-size: clamp(0.8rem, 1vw, 0.95rem);
      font-weight: 600;
      letter-spacing: 0.5em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0;
    }

    .yif-hero-meta {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }
    .yif-badge-live {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--gold);
      color: var(--navy);
      padding: 5px 14px;
      border-radius: 4px;
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .yif-badge-live::before {
      content: '';
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--navy);
    }
    .yif-hero-meta span.dates {
      color: rgba(255,255,255,0.85);
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.03em;
    }

    .yif-hero-title {
      font-size: clamp(2.6rem, 5.2vw, 4rem);
      font-weight: 700;
      line-height: 1.08;
      color: #fff;
      margin: 0 0 10px;
      max-width: 880px;
    }
    .yif-hero-title em { font-style: normal; color: var(--gold-bright); }

    .yif-hero-subtitle {
      font-size: clamp(1.1rem, 2vw, 1.5rem);
      font-weight: 400;
      color: rgba(234,240,255,0.88);
      margin: 0 0 20px;
    }

    .yif-hero-location {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--gold-bright);
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 22px;
    }

    .yif-hero-desc {
      font-size: 18px;
      line-height: 1.75;
      color: rgba(210,220,240,0.82);
      max-width: 1000px;
      margin-bottom: 34px;
    }

    .yif-hero-cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-bottom: 3rem;
    }
    .yif-btn-hero-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
      color: var(--navy);
      padding: 15px 30px;
      border-radius: 100px;
      font-weight: 700;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.25s ease;
    }
    .yif-btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(204,148,90,0.35); }
    .yif-btn-hero-secondary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.35);
      padding: 15px 30px;
      border-radius: 100px;
      font-weight: 600;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.25s ease;
    }
    .yif-btn-hero-secondary:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

    /* Floating stat chips */
    .yif-hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }
    .yif-stat-chip {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      backdrop-filter: blur(6px);
      border-radius: 14px;
      padding: 14px 20px;
      min-width: 160px;
    }
    .yif-stat-chip i { color: var(--gold-bright); font-size: 1.1rem; }
    .yif-stat-chip strong { display: block; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1; }
    .yif-stat-chip span { display: block; color: rgba(210,220,240,0.7); font-size: 0.7rem; margin-top: 4px; letter-spacing: 0.03em; }

    .yif-scroll-cue {
      position: absolute;
      bottom: 26px; left: 40px;
      display: flex; align-items: center; gap: 10px;
      color: rgba(255,255,255,0.55);
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      z-index: 5;
    }
    .yif-scroll-cue .line { width: 34px; height: 1px; background: rgba(255,255,255,0.4); }

    @media (max-width: 640px) {
      .yif-hero-inner { padding: 1.5rem 20px 3rem; }
      .yif-scroll-cue { display: none; }
    }
	
	.yif-hero-title-main {
  text-transform: uppercase;
}

.yif-hero-edition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.yif-hero-edition-text {
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.yif-hero-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 260px;
  max-width: 60vw;
}

.yif-hero-ornament-line {
  flex: 1;
  height: 1px;
  background: rgba(224,177,131,0.4);
}

.yif-hero-ornament-diamond {
  color: var(--gold-bright);
  font-size: 0.8rem;
  line-height: 1;
  transform: translateY(-1px);
}

.yif-hero-chakra {
  width: 34px;
  height: 34px;
  color: var(--gold-bright);
  flex: none;
  animation: yifChakraSpin 40s linear infinite;
}

@keyframes yifChakraSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .yif-hero-chakra {
    animation: none;
  }
}
	














/* ============================================================
     EDITORIAL FEATURES — two-up image cards (unequal 2:1 split)
     ============================================================ */
  .yif-editorial-features {
    background: var(--navy);
    padding: 90px 44px 40px;
  }
  .yif-editorial-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 45px;
  }
  .yif-editorial-card {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .yif-editorial-image {
    position: relative;
    width: 100%;
    height: clamp(300px, 36vw, 560px);
    border-radius: 2px;
    overflow: hidden;
    background: var(--navy-soft);
  }
  .yif-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .yif-editorial-card:hover .yif-editorial-image img {
    transform: scale(1.045);
  }

  .yif-editorial-content { padding-top: 26px; }

  .yif-editorial-eyebrow {
    display: block;
    font-family: 'georgia', sans-serif;;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 10px;
  }
  .yif-editorial-eyebrow::before {
    content: '';
    display: block;
    width: 34px;
    height: 1px;
    background: var(--gold-bright);
    margin-bottom: 12px;
    transition: width 0.35s ease;
  }
  .yif-editorial-card:hover .yif-editorial-eyebrow::before { width: 56px; }

  .yif-editorial-title {
    font-family: 'georgia', sans-serif;;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.32;
    color: #fff;
    margin: 0 0 10px;
    max-width: 520px;
  }
  .yif-editorial-content p {color: #fff; font-size: 1rem; padding-bottom: 15px;}

  .yif-editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'georgia', sans-serif;;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    transition: gap 0.25s ease;
  }
  .yif-editorial-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }
  .yif-editorial-card:hover .yif-editorial-link { gap: 14px; }
  .yif-editorial-card:hover .yif-editorial-link i { transform: translateX(3px); }

  @media (max-width: 860px) {
    .yif-editorial-features { padding: 60px 24px 40px; }
    .yif-editorial-grid { grid-template-columns: 1fr; gap: 52px; }
    .yif-editorial-image { height: auto; aspect-ratio: 16 / 10; }
  }
  
  
  
  
  
  
  
  
  
  
  
  
/* ============================================================
     ANNOUNCEMENT v5 — marquee backdrop + floating glass card
     ============================================================ */
  .yif-announce-v5 {
    position: relative;
    background: var(--navy);
    padding: clamp(40px, 10vh, 120px) 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;      /* covers full screen height */
    box-sizing: border-box;
  }
  .yif-announce-v5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 55% at 50% 50%, rgba(19,49,92,0.6) 0%, transparent 70%);
    z-index: 0;
  }
  /* --- scrolling marquee texture, sits behind the card --- */
  .yif-announce-v5-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    white-space: nowrap;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }
  .yif-announce-v5-marquee .track {
    display: inline-block;
    animation: yif-marquee 34s linear infinite;
  }
  .yif-announce-v5-marquee span {
    display: inline-block;
    font-family: 'georgia', sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 11vw, 8rem);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(224,177,131,0.16);
    text-stroke: 1px rgba(224,177,131,0.16);
    margin-right: 2.2rem;
  }
  @keyframes yif-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  /* --- floating glass card, sits on top --- */
  /* --- floating glass card, sits on top --- */
.yif-announce-v5-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) clamp(36px, 6vw, 72px);
  background: rgba(10, 32, 73, 0.45);
  border: 1px solid rgba(224,177,131,0.3);
  border-radius: 4px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  overflow: hidden;          /* NEW: clips the video to the card's rounded edges */
}

/* --- video background inside the card --- */
.yif-announce-v5-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;                /* sits behind text, above the card's own background */
}

/* --- dark tint over the video so text stays readable --- */
.yif-announce-v5-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 32, 73, 0.55);   /* tweak opacity to taste */
  z-index: 1;
}
/* --- make sure text content sits above video + overlay --- */
.yif-announce-v5-mark,
.yif-announce-v5-heading,
.yif-announce-v5-text {
  position: relative;
  z-index: 2;
}
  .yif-announce-v5-mark {
    width: 8px;
    height: 8px;
    margin: 0 auto clamp(24px, 4vh, 34px);
    border: 1px solid var(--gold-bright);
    transform: rotate(45deg);
  }
  .yif-announce-v5-heading {
    margin: 0 0 clamp(26px, 4vh, 36px);
    font-family: 'georgia', sans-serif;
  }
  .yif-announce-v5-heading .l1 {
    display: block;
    font-weight: 600;
    font-size: clamp(2.5rem, 3.8vw, 2.4rem);   /* slightly larger for the bigger box */
    line-height: 1.22;
    color: #fff;
  }
  .yif-announce-v5-heading .l2 {
    display: block;
    margin-top: 8px;
    font-family: 'georgia', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.5rem, 4.4vw, 3rem);
    line-height: 1.2;
    color: var(--gold-bright);
  }
  
  .yif-announce-v5-heading .l3 {
  display: block;
  margin-top: 14px;
  font-family: 'georgia', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding-top: 16px;
}

/* small gold divider above the line, echoes the diamond mark above the heading */
.yif-announce-v5-heading .l3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.6;
}
  
  .yif-announce-v5-text {
    font-family: 'georgia', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    color: rgba(255,255,255,0.65);
    max-width: 750px;              /* widened to match bigger card */
    margin: 0 auto;
  }
  @media (max-width: 640px) {
    .yif-announce-v5 { padding: 64px 16px; min-height: 100vh; }
    .yif-announce-v5-marquee span { font-size: 2.6rem; }
    .yif-announce-v5-card { padding: 40px 24px; }
	.yif-announce-v5-text {
	  font-size: 1rem;
  }
  }
  














/* ============================================================
     SPONSORS & PARTNERS — scoped styles
     Uses the page's existing tokens when present, with safe
     fallbacks so the block also works if dropped in standalone.
     ============================================================ */
  .sp-section {
    --sp-navy: var(--navy, #05122e);
    --sp-navy-soft: var(--navy-soft, #0a2049);
    --sp-royal: var(--royal, #13315c);
    --sp-gold: var(--gold, #cc945a);
    --sp-gold-bright: var(--gold-bright, #e0b183);

    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 900px 500px at 50% 0%, var(--sp-royal) 0%, transparent 60%),
      linear-gradient(180deg, var(--sp-navy) 0%, var(--sp-navy-soft) 100%);
    padding: 110px 24px 100px;
    isolation: isolate;
  }

  /* faint diagonal hairline texture for depth, no imagery needed */
  .sp-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: repeating-linear-gradient(
      115deg,
      rgba(224, 177, 131, 0.035) 0px,
      rgba(224, 177, 131, 0.035) 1px,
      transparent 1px,
      transparent 64px
    );
    pointer-events: none;
  }

  .sp-inner {
    max-width: 980px;
    margin: 0 auto;
  }

  /* ---------- Heading ---------- */
  .sp-head {
    text-align: center;
    margin-bottom: 76px;
  }

  .sp-eyebrow {
    display: inline-block;
    font-family: 'georgia', sans-serif;;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--sp-gold);
    margin-bottom: 18px;
  }

  .sp-title {
    font-family: 'georgia', sans-serif;;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--sp-gold-bright);
    letter-spacing: 0.01em;
    margin: 0 0 22px;
  }

  .sp-title .sp-amp {
    font-style: italic;
    color: var(--sp-gold-bright);
    padding: 0 6px;
  }

  .sp-title-rule {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sp-title-rule span {
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sp-gold), transparent);
  }

  /* ---------- Columns ---------- */
  .sp-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 56px;
    margin-bottom: 84px;
  }

  .sp-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-label {
    font-family: 'georgia', sans-serif;;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sp-gold-bright);
    margin-bottom: 18px;
  }

  .sp-name {
    font-family: 'georgia', sans-serif;;
    font-weight: 500;
    color: #f4f1ea;
    margin: 0 0 14px;
    line-height: 1.15;
  }

  .sp-name--host {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
  }

  .sp-name--host .sp-at {
    color: var(--sp-gold);
    font-style: italic;
    padding: 0 4px;
  }

  .sp-sub {
    font-family: 'georgia', sans-serif;;
    font-size: 16px;
    letter-spacing: 0.03em;
    color: rgba(231, 235, 243, 0.62);
    max-width: 260px;
    margin: 0;
    line-height: 1.6;
  }

  .sp-sub--foundation {
    font-family: 'georgia', sans-serif;;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: rgba(244, 241, 234, 0.85);
    margin-top: 18px;
  }

  .sp-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 30px;
    /*border: 1px solid rgba(204, 148, 90, 0.35);
    background: rgba(224, 177, 131, 0.04);*/
    min-width: 190px;
    min-height: 90px;
  }

  .sp-logo {
    max-width: 290px;
    /*max-height: 64px;*/
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* ---------- Divider between columns ---------- */
  .sp-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 10px;
  }
  .sp-divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(204, 148, 90, 0.55), transparent);
  }
  .sp-divider-mark {
    width: 7px;
    height: 7px;
    background: var(--sp-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  /* ---------- Institutional Partners row ---------- */
  .sp-footer-row {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 620px;
    margin: 0 auto;
  }

  .sp-footer-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 148, 90, 0.4));
  }
  .sp-footer-rule:last-child {
    background: linear-gradient(90deg, rgba(204, 148, 90, 0.4), transparent);
  }

  .sp-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    text-align: center;
  }

  .sp-label--muted {
    color: rgba(224, 177, 131, 1);
    margin-bottom: 10px;
  }

  .sp-soon {
    font-family: 'georgia', sans-serif;;
    font-style: italic;
    font-size: 2.15rem;
    color: rgba(244, 241, 234, 1);
    letter-spacing: 0.02em;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 760px) {
    .sp-section { padding: 40px 20px 40px; }
    .sp-head { margin-bottom: 56px; }
    .sp-columns {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-bottom: 30px;
    }
    .sp-divider {
      flex-direction: row;
      width: 100%;
      /*max-width: 220px;*/
    }
    .sp-divider-line { width: auto; height: 1px; flex: 1; }
    .sp-footer-row { flex-direction: column; gap: 14px; }
    .sp-footer-rule { width: 60px; flex: none; }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
/* ============================================================
   SUMMIT HERO / COUNTDOWN SECTION
   ============================================================ */
.yif-summit-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 100px;
  text-align: center;
}

/* --- background image + navy overlay --- */
.yif-summit-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.yif-summit-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yif-summit-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,18,46,0.7) 0%, rgba(5,18,46,0.7) 55%, rgba(5,18,46,0.7) 100%);
}

/* --- content --- */
.yif-summit-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
}

/* divider */
.yif-summit-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 34px;
}
.yif-summit-line {
  width: 130px;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.6;
}
.yif-summit-icon { color: var(--gold-bright); line-height: 0; }

/* heading */
.yif-summit-heading {
  font-family: 'georgia', sans-serif;;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 22px;
}
.yif-summit-heading-script {
  display: initial;
  font-style: italic;
  font-weight: 600;
  margin-top: 4px;
  background: linear-gradient(90deg, #cc945a 0%, #f0d3ac 50%, #cc945a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* subtitle */
.yif-summit-subtitle {
  font-family: 'georgia', sans-serif;;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0 0 30px;
}

/* small rule */
.yif-summit-rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold-bright);
  margin: 0 auto 56px;
  opacity: 0.8;
}

/* --- countdown --- */
.yif-countdown {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.yif-countdown-box {
  width: 250px;
  padding: 32px 20px 26px;
  border: 1px solid rgba(224,177,131,0.3);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.yif-countdown-box:hover {
  border-color: rgba(224,177,131,0.6);
  transform: translateY(-3px);
}
.yif-countdown-icon { color: var(--gold-bright); margin-bottom: 30px; }
.yif-countdown-divider-line {
  width: 26px;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.7;
  margin-bottom: 18px;
}
.yif-countdown-number {
  font-family: 'georgia', sans-serif;;
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}
.yif-countdown-label {
  font-family: 'georgia', sans-serif;;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* --- watch video button --- */
.yif-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  border: 1px solid rgba(224,177,131,0.5);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 999px;
  font-family: 'georgia', sans-serif;;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}
.yif-watch-btn:hover {
  background: rgba(224,177,131,0.08);
  border-color: var(--gold-bright);
  gap: 18px;
  color: var(--gold-bright);
}
.yif-watch-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--navy);
  flex-shrink: 0;
}

/* --- responsive --- */
@media (max-width: 768px) {
  .yif-summit-hero { padding: 40px 18px 40px; }
  .yif-summit-line { width: 50px; }
  .yif-countdown { gap: 12px; }
  .yif-countdown-box { width: calc(50% - 6px); padding: 24px 12px 20px; }
}
















/* ============================================================
     NEWSLETTER SUBSCRIBE SECTION — nlx- scoped styles
     Structurally identical to .yif-newsletter-*, renamed so it
     can live alongside the original without any class collision.
     ============================================================ */
  .nlx-wrap {
    padding: 70px 24px;
    background: var(--navy, #05122e);
  }

  .nlx-card {
    position: relative;
    overflow: hidden;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 56px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(115deg, var(--royal, #13315c) 0%, var(--navy, #05122e) 55%, var(--navy-soft, #0a2049) 100%);
    border: 1px solid rgba(224, 177, 131, 0.18);
  }

  /* --- animated video background (replaces the bar chart) --- */
  .nlx-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .nlx-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.28; /* keeps it a subtle backdrop, not a distraction */
  }

  /* gradient wash so text stays readable over the footage */
  .nlx-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      115deg,
      rgba(19, 49, 92, 0.88) 0%,
      rgba(5, 18, 46, 0.82) 55%,
      rgba(10, 32, 73, 0.9) 100%
    );
  }

  /* if video fails to load / is blocked, fall back to a soft gold glow */
  .nlx-video-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 600px 400px at 30% 100%, rgba(224, 177, 131, 0.1), transparent 70%);
  }

  /* --- left column --- */
  .nlx-left {
    position: relative;
    z-index: 1;
    max-width: 560px;
  }
  .nlx-icon {
    display: inline-flex;
    color: var(--gold-bright, #e0b183);
    margin-bottom: 22px;
  }
  .nlx-heading {
    font-family: 'georgia', sans-serif;;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 16px;
  }
  .nlx-subtext {
    font-family: 'georgia', sans-serif;;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 480px;
  }

  /* --- right column --- */
  .nlx-right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: 380px;
  }
  .nlx-label {
    font-family: 'georgia', sans-serif;;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px;
  }

  .nlx-form {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(224, 177, 131, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    padding: 4px 4px 4px 20px;
  }
  .nlx-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'georgia', sans-serif;;
    font-size: 0.9rem;
    color: #ffffff;
    padding: 12px 8px;
  }
  .nlx-input::placeholder { color: rgba(255, 255, 255, 0.55); }

  .nlx-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--gold-bright, #e0b183);
    color: var(--navy, #05122e);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .nlx-submit:hover {
    background: #f0d3ac;
    transform: translateX(2px);
  }
  
  .nlx-submit.wg-loading {
    width: auto;
    min-width: 40px;
    padding: 0 16px;
    border-radius: 999px;
    gap: 6px;
    font-family: 'georgia', sans-serif;
    font-size: 0.82rem;
    white-space: nowrap;
    color: var(--navy, #05122e);
  }
  .nlx-submit.wg-loading .wg-spinner {
    border-color: rgba(5, 18, 46, 0.3);
    border-top-color: var(--navy, #05122e);
  }

  .nlx-fineprint {
    font-family: 'georgia', sans-serif;;
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 16px 0 0;
  }
  .nlx-fineprint a {
    color: var(--gold-bright, #e0b183);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .nlx-fineprint a:hover { color: #f0d3ac; }

  /* --- responsive --- */
  @media (max-width: 900px) {
    .nlx-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 34px;
      padding: 44px 32px;
    }
    .nlx-right { max-width: 100%; }
  }
  @media (max-width: 480px) {
    .nlx-wrap { padding: 50px 16px; }
    .nlx-card { padding: 34px 22px; border-radius: 16px; }
    /* video is heavier on mobile data — dim it further and slow attention on it */
    .nlx-video { opacity: 0.18; }
  }

  /* respect reduced-motion preference: freeze on first frame */
  @media (prefers-reduced-motion: reduce) {
    .nlx-video { display: none; }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
/* ============================================================
   FOOTER v2 — Yale India Forum (diagonal navy/gold layout)
   ============================================================ */
#footer {
    background: var(--yale-dark);
    color: rgba(200, 212, 232, 0.7);
    padding: 5rem 0 0rem;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 204, 212, 0.2), transparent);
}
.yif-footer-v2{
  position:relative;
  background:var(--navy);
  color:rgba(225,232,247,0.82);
  overflow:hidden;
  padding-top:4.5rem;
}
.yif-footer-v2::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(105deg,
    var(--navy) 0%,
    var(--navy) 26%,
    var(--navy-soft) 29%,
    var(--navy-soft) 100%);
  z-index:0;
}
.yif-footer-v2-bars{
  position:absolute;
  right:0; bottom:0;
  /*width:min(46%,620px);
  height:220px;*/
  z-index:1;
  opacity:0.2;
  pointer-events:none;
}
.yif-footer-v2-inner{
  position:relative;
  z-index:2;
  max-width:1440px;
  margin:0 auto;
  padding:0 3rem;
}
.yif-footer-v2-grid{
  display:grid;
  grid-template-columns:2.0fr 0.9fr 1.1fr 1.3fr;
  gap:2.5rem;
  padding-bottom:3rem;
}
.yif-footer-v2-brand .logo-lockup{
  display:flex; align-items:center; gap:14px;
  text-decoration:none;
  margin-bottom:1.4rem;
}
.yif-footer-v2-brand .logo-lockup img{
  width:80px; /*height:54px;
  border-radius:50%;
  border:1.5px solid var(--gold);
  object-fit:cover;
  background:#fff;*/
}
/* Second (India@Yale) logo — sits inline next to the primary logo */
.yif-footer-v2-brand .logo-lockup img.logo-lockup-secondary{
  width:150px;
  /*height:150px;*/
  border-radius:50%;
  object-fit:cover;
  /*background:#fff;*/
  flex:0 0 auto;
}
.yif-footer-v2-brand .lockup-text strong{
  display:block;
  color:#fff;
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:0.01em;
  line-height:1.2;
}
.yif-footer-v2-brand .lockup-text span{
  display:block;
  font-size:0.66rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold-bright);
  margin-top:4px;
}
.yif-footer-v2-brand p{
  font-size:16px;
  line-height:1.8;
  max-width:100%;
  margin:0 0 1.6rem;
  color:rgba(225,232,247,0.72);
}
/* Trademark disclaimer — sits just above the social icons, in smaller type */
.yif-footer-v2-brand p.yif-footer-v2-trademark{
  font-size:0.72rem;
  line-height:1.6;
  max-width:420px;
  margin:0 0 1.2rem;
  color:rgba(225,232,247,0.5);
}
.yif-footer-v2-trademark {
	font-size:0.72rem;
	max-width: 560px;
}
.yif-footer-v2-brand h5{
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#fff;
  margin:0 0 0.9rem;
}
.yif-footer-v2-social{ display:flex; gap:10px; }
.yif-footer-v2-social a{
  width:38px; height:38px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.16);
  color:#fff;
  text-decoration:none;
  font-size:0.85rem;
  transition:0.25s ease;
}
.yif-footer-v2-social a:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--navy);
  transform:translateY(-3px);
}
.yif-footer-v2-col h4{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--gold-bright);
  margin:0 0 1.4rem;
}
/* ---------- Accordion toggle (structural reset — no visual change on desktop) ---------- */
.yif-footer-v2-accordion-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background:none;
  border:none;
  padding:0;
  margin:0 0 1.4rem;
  font:inherit;
  color:inherit;
  text-align:left;
  cursor:default;
}
.yif-footer-v2-accordion-toggle h4{
  margin:0;
}
.yif-footer-v2-accordion-icon{
  display:none; /* only shown on mobile */
  flex:0 0 auto;
  color:var(--gold-bright);
  font-size:0.75rem;
  margin-left:10px;
  transition:transform 0.25s ease;
}
.yif-footer-v2-col ul{
  list-style:none;
  margin:0; padding:0;
  display:flex; flex-direction:column;
  gap:0.9rem;
}
.yif-footer-v2-col ul a{
  color:rgba(225,232,247,0.82);
  text-decoration:none;
  font-size:16px;
  display:inline-block;
  transition:color 0.2s ease, transform 0.2s ease;
}
.yif-footer-v2-col ul a:hover{
  color:var(--gold-bright);
  transform:translateX(3px);
}
.yif-footer-v2-contact ul{ gap:1.15rem; }
.yif-footer-v2-contact li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:0.88rem;
  line-height:1.6;
  color:rgba(225,232,247,0.82);
}
.yif-footer-v2-contact li i{
  width:32px; height:32px;
  flex:0 0 32px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(204,148,90,0.14);
  color:var(--gold-bright);
  font-size:0.8rem;
  margin-top:1px;
}
.yif-footer-v2-contact li a{
  color:rgba(225,232,247,0.82);
  text-decoration:none;
}
.yif-footer-v2-contact li a:hover{ color:var(--gold-bright); }
.yif-footer-v2-divider{
  position:relative; z-index:2;
  border-top:1px solid rgba(255,255,255,0.14);
}
.yif-footer-v2-bottom{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:0.75rem;
  padding:1.6rem 0;
  font-size:16px;
  color:rgba(225,232,247,0.6);
}
.yif-footer-v2-bottom-links{ display:flex; gap:1.6rem; flex-wrap:wrap; }
.yif-footer-v2-bottom-links a{
  color:rgba(225,232,247,0.6);
  text-decoration:none;
  transition:color 0.2s ease;
}
.yif-footer-v2-bottom-links a:hover{ color:var(--gold-bright); }

@media (max-width:1080px){
  .yif-footer-v2-grid{ grid-template-columns:1fr 1fr; }
  .yif-footer-v2-brand{ grid-column:1 / -1; }
}
@media (max-width:620px){
  .yif-footer-v2-grid{ grid-template-columns:1fr; }
  .yif-footer-v2-bars{ width:70%; opacity:0.35; }
  #footer {
	  padding: 3rem 0 0rem;
  }
  .yif-footer-v2-inner {
	  padding: 0 2rem;
  }
  .yif-footer-v2-brand .lockup-text span {
	  font-size: 0.55rem;
  }
  @media (max-width:620px){
  .yif-footer-v2-grid{ grid-template-columns:1fr; }
  .yif-footer-v2-bars{ width:70%; opacity:0.35; }
  #footer {
	  padding: 3rem 0 0rem;
  }
  .yif-footer-v2-inner {
	  padding: 0 2rem;
  }
  .yif-footer-v2-brand .lockup-text span {
	  font-size: 0.55rem;
  }

  /* ---------- Accordion behavior (mobile only) ---------- */
  .yif-footer-v2-accordion-toggle{
    cursor:pointer;
    padding:1rem 0;
    margin-bottom:0;
    border-bottom:1px solid rgba(255,255,255,0.12);
  }
  .yif-footer-v2-accordion-icon{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .yif-footer-v2-accordion.open .yif-footer-v2-accordion-icon i{
    transform:rotate(180deg);
  }
  .yif-footer-v2-accordion-panel{
    max-height:0;
    opacity:0;
    overflow:hidden;
    padding-top:0;
    transition:max-height 0.35s ease, opacity 0.3s ease, padding-top 0.3s ease;
  }
  .yif-footer-v2-accordion.open .yif-footer-v2-accordion-panel{
    max-height:500px;
    opacity:1;
    padding-top:1rem;
  }
}
}














/* ============================================================
   SECTION 2 — ABOUT YALE INDIA FORUM — DARK LAYOUT
   Recolored onto the brand navy palette to match the rest of the
   page (same treatment as #our-strategy). Only visual overrides
   live here — layout/grid rules stay in style.css.
   ============================================================ */
.section {
    padding: 40px 0;
}
.section-heading {
    font-family: 'georgia', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--yale-blue);
}
.eyebrow-text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yale-blue);
}
.section-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 750px;
}
/* ============================================================
   SECTION 2 — ABOUT YALE INDIA FORUM — DARK LAYOUT
   Recolored onto the brand navy palette to match the rest of the
   page (same treatment as #our-strategy). Only visual overrides
   live here — layout/grid rules stay in style.css.
   ============================================================ */
#about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background:
    linear-gradient(100deg, rgba(5,18,46,0.9) 0%, rgba(5,18,46,0.9) 45%, rgba(5,18,46,0.9) 72%, var(--navy) 100%),
    url('../images/yale-hero-bg.png') center / cover no-repeat;
  overflow: hidden;
}
#about .section-container { width: 100%; }
#about::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(204,148,90,0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 88%, rgba(27,67,168,0.35) 0%, transparent 50%);
  pointer-events: none;
}
#about::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
}
#about .section-container { position: relative; z-index: 2; }

@media (max-width: 980px) {
  #about { min-height: auto; padding-top: 118px; padding-bottom: 60px; }
}

/* Headings / copy */
#about .section-eyebrow .eyebrow-line { background: var(--gold); }
#about .section-eyebrow .eyebrow-text { color: var(--gold-bright); }
#about .section-heading { color: #fff; }
#about .section-heading em { font-style: normal; color: var(--gold-bright); }
#about .section-heading strong { color: #fff; }
#about .section-subtext { color: rgba(210,220,240,0.78); }

#about .about-quote {
  color: rgba(230,235,245,0.85);
  font-style: italic;
}
#about .about-image-badge {
  background: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-xl);
}
#about .about-image-badge .badge-icon { color: var(--gold-bright); }
#about .about-image-badge .badge-text strong { color: #fff; }
#about .about-image-badge .badge-text span { color: rgba(210,220,240,0.75); }

#about .about-year-badge {
  background: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-xl);
}
#about .about-year-badge .year { color: var(--gold-bright); }
#about .about-year-badge .year-label { color: rgba(210,220,240,0.8); }

/* Mini cards */
#about .mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#about .mini-card i { color: var(--gold-bright); }
#about .mini-card strong { color: #fff; }
#about .mini-card span { color: rgba(210,220,240,0.72); }







/* ============================================================
   ABOUT SECTION — namespaced with yif- prefix to avoid
   any collision with existing .about-* rules elsewhere
   ============================================================ */

.yif-about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.yif-about-image-wrap {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.yif-about-image-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gradient);
  position: relative;
  display: block;
}

.yif-about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3rem;
  background: 
              url('../images/yale-hero-building.jpg') no-repeat center center;
  background-size: cover;
}

.yif-about-logo-display {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}

.yif-about-logo-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yif-about-quote {
  font-family: 'georgia', sans-serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.5;
}

.yif-about-image-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.yif-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

.yif-badge-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.yif-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.yif-about-year-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.yif-about-year-badge .yif-year {
  font-family: 'georgia', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.yif-about-year-badge .yif-year-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
}

/* Content column */
.yif-about-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Responsive — stack on smaller screens */
@media (max-width: 900px) {
  .yif-about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .yif-about-image-wrap {
    max-width: 320px;
  }
}
























/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */

/* --- Hero: title + featured founder card --- */
.yif-leadership-hero {
  position: relative;
  padding: 168px 24px 20px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,18,46,0.62) 0%, rgba(5,18,46,0.74) 55%, var(--navy) 100%),
    url('../images/yale-hero-bg.png') center 20% / cover no-repeat;
}
.yif-leadership-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.yif-leadership-heading {
  font-family: 'georgia', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(2.8rem, 5.5vw, 3.6rem);
  margin: 0;
  line-height: 1.05;
}

.yif-leadership-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 1.6rem 0 1.4rem;
}
.yif-leadership-divider .line {
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(224,177,131,0.55));
}
.yif-leadership-divider .line:last-child { background: linear-gradient(90deg, rgba(224,177,131,0.55), transparent); }
.yif-leadership-divider svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.yif-leadership-tagline {
  font-family: 'georgia', sans-serif;
  font-size: 1.02rem;
  color: rgba(220,228,245,0.78);
  margin: 20px 0 40px 0;
}

/* --- Leader card (shared by featured + grid) --- */
.yif-leader-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 22px 50px rgba(0,0,0,0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.yif-leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(0,0,0,0.4);
}
.yif-leader-photo {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(150deg, #d9b98c 0%, #b98f5c 55%, #8a6a44 100%);
}
.yif-leader-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.yif-leader-info {
  padding: 22px 24px 28px;
  background: var(--navy);
  text-align: center;
}
.yif-leader-role {
  display: block;
  font-family: 'georgia', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.5;
}
.yif-leader-rule {
  display: block;
  width: 34px;
  height: 2px;
  margin: 10px auto;
  background: var(--gold);
}
.yif-leader-name {
  font-family: 'georgia', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}
.yif-leader-org {
  display: block;
  margin-top: 8px;
  font-family: 'georgia', sans-serif;
  font-size: 0.92rem;
  color: rgba(220,228,245,0.75);
}

/* Featured founder card is larger & centered */
.yif-leader-card-featured {
  max-width: 350px;
  margin: 0 auto;
}
.yif-leader-card-featured .yif-leader-photo { aspect-ratio: 2 / 3; }
.yif-leader-card-featured .yif-leader-role { font-size: 0.78rem; }
.yif-leader-card-featured .yif-leader-name { font-size: 1.5rem; }

/* --- Signature line --- */
.yif-leadership-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 3.2rem;
}
.yif-leadership-signature .line {
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(224,177,131,0.5));
}
.yif-leadership-signature .line:last-child { background: linear-gradient(90deg, rgba(224,177,131,0.5), transparent); }
.yif-leadership-signature-text { text-align: center; }
.yif-leadership-signature-text .script {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 2rem;
  color: var(--gold-bright);
  line-height: 1;
}
.yif-leadership-signature-text .caption {
  display: block;
  margin-top: 6px;
  font-family: 'georgia', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(220,228,245,0.75);
}

/* --- Executive team grid --- */
.yif-leadership-team {
  position: relative;
  background: var(--navy);
  padding: 30px 0 110px;
}
.yif-leader-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

@media (max-width: 1080px) {
  .yif-leader-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 620px) {
  .yif-leader-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .yif-leadership-hero { padding: 140px 20px 70px; }
  .yif-leadership-signature { gap: 12px; }
  .yif-leadership-signature .line { width: 60px; }
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.5rem;
}













/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  cursor: pointer;
}

#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); }

















/* ============================================================
   CONTACT PAGE — "Get in Touch With Us" split hero section
   ============================================================ */
.yif-contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 100vh;
  padding-top: 128px;
  background:
    linear-gradient(100deg, rgba(5,18,46,0.5) 0%, rgba(5,18,46,0.58) 42%, rgba(5,18,46,0.88) 58%, var(--navy) 72%, var(--navy) 100%),
    url('../images/yale-hero-bg.png') center / cover no-repeat,
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 55%, var(--royal) 130%);
  overflow: hidden;
}

/* Left column */
.yif-contact-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px 60px 56px;
  z-index: 2;
}
.yif-contact-left::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.yif-contact-left::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 12% 18%, rgba(0,27,72,0.16) 0%, transparent 45%);
}

.yif-contact-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2.6rem;
}
.yif-contact-brand .flower-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--gold);
}
.yif-contact-brand span {
  font-family: 'georgia', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.yif-contact-heading {
  font-family: 'IBM Plex Sans', sans-serif
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  font-size: clamp(2.6rem, 4.2vw, 4.2rem);
  margin: 0;
}
.yif-contact-heading em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yif-contact-rule {
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  margin: 1.8rem 0 2.3rem;
}

.yif-contact-email-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2.2rem;
}
.yif-contact-email-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(224,177,131,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.05rem;
  background: rgba(255,255,255,0.03);
}
.yif-contact-email-row p {
  margin: 0;
  font-family: 'georgia', sans-serif;
  font-size: 0.92rem;
  color: rgba(220,228,245,0.78);
  line-height: 1.5;
}
.yif-contact-email-row a {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
}
.yif-contact-email-row a:hover { text-decoration: underline; }

.yif-contact-divider {
  height: 1px;
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 2.1rem;
}

.yif-contact-updates {
  font-family: 'georgia', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(220,228,245,0.75);
  max-width: 340px;
  margin-bottom: 1.8rem;
}

.yif-contact-social {
  display: flex;
  gap: 12px;
}
.yif-contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}
.yif-contact-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Center divider with emblem */
.yif-contact-hero::before {
  content: '';
  position: absolute;
  top: 128px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(224,177,131,0.35) 15%, rgba(224,177,131,0.35) 85%, transparent 100%);
  z-index: 3;
}
.yif-contact-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  z-index: 4;
  color: var(--gold);
  background: var(--navy);
  padding: 6px;
  border-radius: 50%;
}

/* Right column — form */
.yif-contact-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 64px 60px 56px;
  z-index: 2;
}
.yif-contact-form-card {
  width: 100%;
  max-width: 620px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.yif-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.yif-contact-field { position: relative; }
.yif-contact-field input,
.yif-contact-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'IBM Plex Sans', sans-serif
  font-size: 1.02rem;
  color: #fff;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.yif-contact-field textarea {
  min-height: 190px;
  resize: vertical;
  font-family: 'georgia', sans-serif;
  font-size: 0.95rem;
}
.yif-contact-field input::placeholder,
.yif-contact-field textarea::placeholder {
  color: rgba(220,228,245,0.45);
  font-family: 'IBM Plex Sans', sans-serif
}
.yif-contact-field input:focus,
.yif-contact-field textarea:focus {
  border-color: var(--gold-bright);
  background: rgba(255,255,255,0.06);
}

.yif-contact-message-field { margin-bottom: 26px; }

.yif-contact-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy);
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-family: 'georgia', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(204,148,90,0.35);
  transition: all 0.25s ease;
}
.yif-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(204,148,90,0.48);
  filter: brightness(1.04);
}
.yif-contact-submit i { font-size: 0.95rem; }

.yif-contact-form-note {
  margin-top: 14px;
  text-align: center;
  font-family: 'georgia', sans-serif;
  font-size: 0.82rem;
  color: rgba(220,228,245,0.55);
}
.yif-contact-form-note.success { color: var(--gold-bright); }

@media (max-width: 980px) {
  .yif-contact-hero { grid-template-columns: 1fr; padding-top: 118px; }
  .yif-contact-hero::before { display: none; }
  .yif-contact-emblem { display: none; }
  .yif-contact-left,
  .yif-contact-right { padding: 44px 28px; }
  .yif-contact-right { padding-top: 0; }
}
@media (max-width: 560px) {
  .yif-contact-form-row { grid-template-columns: 1fr; gap: 20px; }
  .yif-contact-form-card { padding: 26px; }
  .yif-contact-heading { font-size: 2.4rem; }
  .yif-contact-submit {font-size: 0.7rem;}
}














  .yif-join-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 40px 120px;
    background: var(--yale-dark);
    overflow: hidden;
  }
  .yif-join-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 20%, rgba(204,148,90,0.16) 0%, transparent 45%),
      radial-gradient(circle at 85% 80%, rgba(204,148,90,0.12) 0%, transparent 50%);
    pointer-events: none;
  }
  .yif-join-hero::after {
    content: '';
    position: absolute;
    width: 640px; height: 640px;
    border: 1px solid rgba(224,177,131,0.14);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .yif-join-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
  }
  .yif-join-icon {
    width: 78px; height: 78px;
    margin: 0 auto 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224,177,131,0.1);
    border: 1px solid rgba(224,177,131,0.32);
    color: var(--gold-bright);
    font-size: 1.6rem;
  }
  .yif-join-eyebrow {
    display: inline-block;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 20px;
  }
  .yif-join-heading {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 20px;
  }
  .yif-join-heading em {
    font-style: normal;
    color: var(--gold-bright);
  }
  .yif-join-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 400;
    color: rgba(234,240,255,0.85);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
  }
  .yif-join-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 44px;
  }
  .yif-join-notify-form {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    padding: 5px;
    max-width: 420px;
    width: 100%;
  }
  .yif-join-notify-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
  }
  .yif-join-notify-form input::placeholder { color: rgba(220,228,245,0.55); }
  .yif-join-notify-form button {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--navy);
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .yif-join-notify-form button:hover { transform: translateY(-1px); }
  .yif-join-note {
    font-size: 0.82rem;
    color: rgba(220,228,245,0.55);
    margin-top: -22px;
    margin-bottom: 44px;
  }
  .yif-join-note.success { color: var(--gold-bright); }
  .yif-join-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .yif-join-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
  }
  .yif-join-social a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-3px);
  }
  @media (max-width: 640px) {
    .yif-join-hero { padding: 140px 20px 90px; }
    .yif-join-notify-form { flex-direction: column; border-radius: 20px; padding: 12px; }
    .yif-join-notify-form input { width: 100%; text-align: center; }
    .yif-join-notify-form button { width: 100%; }
  }
  
  
  
  
  
  
  
  
  .yif-join-card {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 56px 72px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 90px -30px rgba(224,177,131,0.25);
  overflow: hidden;
}

.yif-join-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,177,131,0.55), transparent);
}

.yif-join-card::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(224,177,131,0.14) 0%, transparent 70%);
  top: -130px; right: -110px;
  pointer-events: none;
}

.yif-join-card .yif-join-heading {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 22px;
}

.yif-join-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  margin-bottom: 36px;
}

.yif-join-card .yif-join-actions {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

/* combined pill: icon + input + embedded button */
.yif-join-card .yif-join-notify-form {
  display: flex;
  align-items: center;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  gap: 0;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 20px rgba(0,0,0,0.3) inset;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.yif-join-card .yif-join-notify-form:focus-within {
  border-color: rgba(224,177,131,0.5);
  box-shadow: 0 0 0 4px rgba(224,177,131,0.1), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.yif-join-form-icon {
  flex-shrink: 0;
  color: rgba(224,177,131,0.7);
  margin-right: 10px;
}

.yif-join-card .yif-join-notify-form input {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0.95rem 0.4rem;
  letter-spacing: 0.01em;
}

.yif-join-submit-btn {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  border: none;
  border-radius: 100px;
  padding: 0.9rem 2.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 10px 22px -6px rgba(224,177,131,0.5),
    0 1px 0 rgba(255,255,255,0.4) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yif-join-submit-btn span {
  position: relative;
  z-index: 1;
}

.yif-join-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.yif-join-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px -6px rgba(224,177,131,0.6),
    0 1px 0 rgba(255,255,255,0.4) inset;
}

.yif-join-submit-btn:hover::before {
  left: 130%;
}

.yif-join-submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .yif-join-card { padding: 40px 24px; }
  .yif-join-card .yif-join-notify-form {
    flex-direction: column;
    border-radius: 22px;
    padding: 16px;
    gap: 12px;
  }
  .yif-join-form-icon { display: none; }
  .yif-join-card .yif-join-notify-form input {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }
  .yif-join-submit-btn { width: 100%; }
}
/* ============================================================
   CRM CONTACT FORMS — shared validation / result styling
   Applies to all .wg-contact-form forms (Contact Us, Join Now,
   Homepage Newsletter). Kept generic + low-specificity so it
   layers cleanly on top of each form's existing design.
   ============================================================ */
.wg-error input,
.wg-error textarea {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.wg-field-error {
  display: block;
  color: #dc2626;
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.4;
}

.wg-form-result {
  font-size: 0.85rem;
  margin-top: 14px;
  min-height: 18px;
  transition: color 0.2s ease;
}

.wg-form-result.wg-success { color: #16a34a; }
.wg-form-result.wg-error   { color: #dc2626; }

button.wg-loading {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}







/* ============================================================
   VIDEO POPUP MODAL
   ============================================================ */
.yif-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.yif-video-modal.is-open {
  display: flex;
}
.yif-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,18,46,0.9);
}
.yif-video-modal-inner {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  line-height: 0; /* removes inline-video gap */
}
.yif-video-modal-inner video {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
}
.yif-video-modal-close {
  position: absolute;
  top: 0px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(224,177,131,0.5);
  background: rgba(5,18,46,0.6);
  color: var(--gold-bright);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.yif-video-modal-close:hover {
  background: var(--gold-bright);
  color: var(--navy);
}

@media (max-width: 768px) {
  .yif-video-modal-close {
    top: -40px;
  }
}
