@import url("https://fonts.googleapis.com/css2?family=Gaegu&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

@font-face {
   font-family: "Otomanopee One Regular";
   font-style: normal;
   font-weight: normal;
   src: local("Otomanopee One Regular"),
      url("../fonts/OtomanopeeOne-Regular.woff") format("woff");
}

:root {
   --bg-white: #ffffff;
   --bg-light: #faf4e8;
   --bg-main: #1a1d28;
   --card-dark: #232e2a;
   --primary-color: #232e2a;
   --text-dark: #111111;
   --text-light: #ffffff;
   --text-muted: #94a3b8;
   --accent-yellow: #fed84d;
   --neon-orange: #fed84d;
   --line-dark: rgba(255, 255, 255, 0.1);
   --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
   --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.4);
   --radius-image: 50%;
   --curve: 40;
   --color-gold: #EAAE2B;
    --color-forest: #26362C;
}

*,
*::before,
*::after {
   box-sizing: border-box;  
}

a:focus { outline: none; }
a{text-decoration: none;}

.js .gs-reveal-hero {
   opacity: 0;
   visibility: hidden;
   transform: translateY(50px);
}


html {
   scrollbar-gutter: stable;
}

body {
   font-family: "Inter", sans-serif;
   background-color: #faf4e8;
   margin: 0;
   overflow-x: hidden;
   color: var(--text-dark);
}

.site-wrapper {
   background-color: #faf2e8;
   min-height: 100vh;
   width: 100%;
   transform-origin: top center;
   position: relative;
   z-index: 1;
   overflow: clip;
}

.transition-overlay {
   display: none;
}

.section-title {
   font-family: "Gaegu", sans-serif;
   font-size: 3rem;
}

.reveal-text,
.fade-in-sub {
   visibility: hidden;
   transform: translateY(40px);
}

.js .gs-reveal-hero,
.js .gs-reveal-metric,
.js .gs-reveal-problem,
.js .gs-reveal-framework,
.js .gs-reveal-kit,
.js .gs-reveal-proof,
.js .gs-reveal-audience,
.js .gs-reveal-implementation,
.js .gs-reveal-closing {
   visibility: hidden;
}

.cta-group .btn {
   transform: translateY(20px);
   visibility: hidden;
}

.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
   padding: 0.85rem 1.75rem;
   border-radius: 50px;
   font-weight: 600;
   text-decoration: none;
   transition: all 0.3s ease;
   cursor: pointer;
   vertical-align: middle;
   line-height: 1.2;
   text-align: center;
   white-space: normal;
}

.btn-primary {
   background-color: var(--primary-color);
   color: var(--bg-white);
   border: 2px solid var(--primary-color);
}
.btn-primary:hover {
   background-color: #112544;
   border-color: #112544;
}
.btn-secondary {
   background-color: transparent;
   color: var(--primary-color);
   border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
   background-color: var(--primary-color);
   color: var(--bg-white);
}

.btn-pill-red {
   background-color: var(--accent-yellow);
   color: #232e2a;
   padding: 1rem 1.75rem;
   border-radius: 50px;
   text-decoration: none;
   font-weight: 500;
   font-size: 0.9rem;
   display: inline-block;
   transition: transform 0.2s ease, background-color 0.2s;
}

.btn-pill-red:hover {
   background-color: var(--accent-yellow);
   transform: scale(1.05);
}

.custom-brush-title {
   position: relative;
   display: block;
   width: fit-content;
   margin-bottom: 4.5rem;
}
.custom-brush-title::after {
   content: "";
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: -20px;
   width: 110%;
   height: 16px;
   background-repeat: no-repeat;
   background-size: 100% 100%;
   pointer-events: none;
}
.brush-arch::after {
   background-image: url("../images/line1.png");
   height: 22px;
   bottom: -24px;
}
.brush-arch-1::after {
   background-color: var(--accent-yellow);
   background-image: none;
   -webkit-mask-image: url("../images/line1.png");
   -webkit-mask-size: 100% 100%;
   -webkit-mask-repeat: no-repeat;
   mask-image: url("../images/line1.png");
   mask-size: 100% 100%;
   mask-repeat: no-repeat;
}

.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   display: flex;
   justify-content: center;
   z-index: 9999;
   padding-top: 1.5rem;
   transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);  
}

.site-header.is-scrolled {
   padding-top: 0;
}

.sub-tag{
	font-family: "Gaegu", sans-serif;
	font-size: 1.5rem;
}
.sub-tag{
    visibility: hidden;
    transform: translateY(40px); /* Pre-positions it downward */
}
.dark-pill {
   background-color: rgba(35, 46, 42, 0.86);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   width: 95%;
   max-width: 1150px;
   border-radius: 50px;
   padding: 1rem 1.5rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.5rem;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   overflow: visible; 
}

.site-header.is-scrolled .dark-pill {
   width: 100%;
   max-width: 100%;
   border-radius: 0;
   padding: 1rem 3rem;
}

.brand-logo {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-weight: 400;
   font-size: 1rem;
   text-decoration: none;
   letter-spacing: -0.02em;
   font-family: "Otomanopee One Regular";
   color: #ffffff;
   flex-shrink: 0;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   /*max-width: 220px;*/
}

.desktop-nav {
   flex: 1 1 auto;
   min-width: 0;
   overflow: hidden;
}

.logo-icon-white {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 3.5rem;
   height: 3.5rem;
   background-color: transparent;
   border-radius: 0;
   flex-shrink: 0;
}

.logo-icon-white img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   display: block;
   background: #ffffff;
   border-radius: 50%;
}

.desktop-nav .nav-list {
   display: flex;
   gap: 0.25rem;
   list-style: none;
   margin: 0 auto;
   padding: 0;
   position: relative;
   flex-wrap: nowrap;
   width: fit-content;
   overflow: hidden;
}

.desktop-nav .nav-item {
   position: relative;
   z-index: 2;
}

.desktop-nav .nav-link {
   font-family: "Otomanopee One Regular";
   text-decoration: none;
   font-weight: 400;
   font-size: 0.95rem;
   color: #ffffff;
   opacity: 0.8;
   transition: opacity 0.3s ease, color 0.3s ease;
   display: flex;
   align-items: center;
   gap: 0.35rem;
   padding: 0.6rem 1rem;
   border-radius: 50px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.desktop-nav .nav-link.active,
.desktop-nav .nav-link:hover {
   opacity: 1;
   color: var(--accent-yellow);
}

.nav-blob {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   background: rgba(255, 255, 255, 35%);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-radius: 50px;
   z-index: 1;
   pointer-events: none;
   opacity: 0;
}

.mobile-menu-toggle {
   display: none;
   background-color: transparent;
   color: var(--accent-yellow);
   border: none;
   padding: 0.35rem 0.35rem 0.35rem 1rem;
   border-radius: 50px;
   font-weight: 600;
   font-size: 0.85rem;
   cursor: pointer;
   align-items: center;
   gap: 0.75rem;
   z-index: 1;
   box-shadow: none;
}

.toggle-icon-circle {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 4px;
   width: 36px;
   height: 36px;
   background-color: rgb(147 149 148 / 46%);
   border-radius: 50%;
   transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dot {
   width: 4px;
   height: 4px;
   background-color: #ffffff;
   border-radius: 50%;
}
.mobile-menu-toggle.is-active .toggle-icon-circle {
   transform: rotate(90deg);
}

.mobile-menu-panel {
   position: fixed;
   top: 5rem;
   right: 1.5rem;
   width: 380px;
   background-color: #232e2a;
   border-radius: 24px;
   padding: 2.5rem 3rem 3rem;
   z-index: 1001;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
   opacity: 0;
   visibility: hidden;
   transform-origin: top right;
}

.mobile-nav-list {
   list-style: none;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 0.5rem;
   margin: 0;
   padding: 0;
}

.mobile-nav-link {
   text-decoration: none;
   font-size: 2rem;
   color: var(--accent-yellow);
   font-weight: normal;
   letter-spacing: -0.04em;
   display: inline-flex;
   align-items: center;
   padding: 0.5rem 1rem;
   border-radius: 12px;
   margin-left: -1.5rem;
   background-color: transparent;
   transition: background-color 0.4s ease, color 0.4s ease,
      margin-left 0.4s ease;
}

.mobile-nav-link::before {
   content: "\f061";
   font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
   font-weight: 900;
   display: inline-block;
   font-size: 2rem;
   max-width: 0;
   opacity: 0;
   overflow: hidden;
   white-space: nowrap;
   transition: max-width 0.4s ease, opacity 0.4s ease, margin-right 0.4s ease;
}

.mobile-nav-list:hover .mobile-nav-link {
   color: var(--accent-yellow);
}
.mobile-nav-list .mobile-nav-link:hover,
.mobile-nav-link.active {
   color: #1c2024;
   background-color: #ffffff;
   margin-left: -1rem;
}
.mobile-nav-list .mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
   max-width: 60px;
   opacity: 1;
   margin-right: 15px;
}
.portal-nav-wrapper {
   position: relative;
   display: inline-flex;
   align-items: center;
}

.header-actions {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   flex-shrink: 0;
}

.header-actions .mobile-menu-toggle {
   display: none;
}

.persistent-top-actions {
   display: contents;
}
.portal-trigger {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background-color: rgba(255, 255, 255, 0.12);
   color: var(--accent-yellow);
   border: none;
   cursor: pointer;
   box-shadow: none;
   transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   padding: 0;
   outline: none;
   flex-shrink: 0;
}

.portal-trigger:hover {
   background-color: rgba(255, 255, 255, 0.2);
   color: #ffffff;
   transform: scale(1.08);
}

.portal-trigger[data-scrolled="true"] {
   background-color: rgba(255, 255, 255, 0.15);
}

.portal-trigger[data-scrolled="true"]:hover {
   background-color: var(--accent-yellow);
   color: #232e2a;
}

.portal-trigger.is-active {
   transform: translateY(0) scale(0.95);
}

.portal-trigger::after {
   content: attr(data-tooltip);
   position: absolute;
   right: calc(100% + 14px);
   top: 50%;
   transform: translateY(-50%) translateX(10px);
   background-color: #1a1d28;
   color: #ffffff;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.05em;
   text-transform: uppercase;
   padding: 6px 12px;
   border-radius: 6px;
   white-space: nowrap;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   pointer-events: none;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
   z-index: 1000;
}

.portal-trigger::before {
   content: "";
   position: absolute;
   right: calc(100% + 8px);
   top: 50%;
   transform: translateY(-50%) translateX(10px);
   border-width: 5px 0 5px 6px;
   border-style: solid;
   border-color: transparent transparent transparent #1a1d28;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   pointer-events: none;
   z-index: 1000;
}

.portal-trigger:hover::after,
.portal-trigger:hover::before {
   opacity: 1;
   visibility: visible;
   transform: translateY(-50%) translateX(0);
}

.portal-trigger svg {
   width: 20px;
   height: 20px;
}
.portal-dropdown {
   position: absolute;
   top: calc(100% + 15px);
   right: 0;
   width: 220px;
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 12px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
   opacity: 0;
   visibility: hidden;
   transform: translateY(10px);
   transition: all 0.2s ease;
   z-index: 1000;
   overflow: hidden;
}
.portal-dropdown.is-active {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}
.portal-item {
   display: flex;
   align-items: center;
   padding: 14px 18px;
   color: #0f172a;
   text-decoration: none !important;
   font-size: 0.95rem;
   font-weight: 600;
   transition: background 0.2s ease;
}
.portal-item i {
   margin-right: 12px;
   color: #64748b;
   width: 16px;
   text-align: center;
}
.portal-item:not(:last-child) {
   border-bottom: 1px solid #f1f5f9;
}
.portal-item:hover {
   background: #f8fafc;
   color: var(--primary-color);
}
.portal-item:hover i {
   color: var(--accent-yellow);
}

.hero-viewport {
   background: #faf4e8;
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.hero-viewport .container {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}
.hero-viewport h1 {
   font-family: "Otomanopee One Regular";
   font-size: clamp(1.2rem, -0.15rem + 3.6vw, 3rem);
   color: #232e2a;
   line-height: 1.15;
   margin-bottom: 1.5rem;
   letter-spacing: -0.02em;
}
.hero-viewport p {
   font-family: "Gaegu", sans-serif;
   font-size: 1.5rem;
   color: #000000;
   margin-bottom: 2.5rem;
   max-width: 700px;
   margin-inline: auto;
}
.hero-tagline {
    font-size: 1.325rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tagline-butterfly {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-block;
    vertical-align: middle;
	margin-left: 6px;
}

.hero-underline-wrap {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--color-forest);
}

.hero-underline {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.28em;
  color: var(--color-gold);
  overflow: visible;
}

.hero-underline path {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  
}

.cta-group {
   display: flex;
   gap: 1rem;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
}

.premium-metrics-section {
   position: relative;
   padding: 8rem 2rem;
   background-color: var(--primary-color);
   overflow: hidden;
   z-index: 2;
      border-top: 4px solid var(--color-gold, #e68933);
   
}

.glow-orb {
   position: absolute;
   border-radius: 50%;
   filter: blur(120px);
   opacity: 0.4;
   z-index: 0;
   pointer-events: none;
}

.metrics-grid-premium {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1.5rem;
   position: relative;
   z-index: 1;
   max-width: 1400px;
   margin: 0 auto;
   perspective: 1200px;
}

.premium-metric-card {
   background: rgba(255, 255, 255, 0.02);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 24px;
   padding: 2rem;
   backdrop-filter: blur(24px);
   color: #ffffff;
   display: flex;
   flex-direction: column;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
   transition: border-color 0.4s ease, background 0.4s ease;
   transform-style: preserve-3d;
}
.premium-metric-card:hover {
   background: rgba(255, 255, 255, 0.05);
   border-color: rgba(255, 255, 255, 0.2);
}
.metric-icon {
   width: 48px;
   height: 48px;
   margin-bottom: 1.5rem;
   color: var(--accent-yellow);
   opacity: 0.8;
}
.metric-value-wrap {
   font-size: 2.5rem;
   font-weight: 800;
   line-height: 1;
   margin-bottom: 1rem;
   letter-spacing: -0.04em;
   display: flex;
   align-items: baseline;
   background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}
.metric-value-wrap .suffix {
   font-size: 2.5rem;
   margin-left: 4px;
   background: linear-gradient(135deg, #ff6b6b 0%, var(--accent-yellow) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}
.premium-metric-card .metric-title {
   font-size: 1.3rem;
   font-weight: 700;
   margin: 0 0 0.5rem 0;
   color: #ffffff;
   letter-spacing: -0.02em;
}
.premium-metric-card .metric-desc {
   font-size: 0.95rem;
   color: #94a3b8;
   line-height: 1.5;
   margin: 0;
}

/* 3 Pillars */
.institutional-pillars-section {
   padding: 6rem 2rem;
   background: var(--primary-color);
   border-top: 1px dashed #ffffff;
   border-bottom: 4px solid var(--color-gold, #e68933);
}
.pillars-header {
   text-align: center;
   max-width: 700px;
   margin: 0 auto 5rem auto;
}

.pillars-kicker {
   display: inline-block;
   background: rgb(179 187 184 / 27%);
   color: var(--accent-yellow);
   font-weight: 800;
   font-size: 0.75rem;
   text-transform: uppercase;
   letter-spacing: 0.1em;
   margin-bottom: 1rem;
   padding: 0.5rem 1rem;
   border-radius: 50px;
}

.pillars-title {
   font-size: 3rem;
   font-family: "Gaegu", sans-serif;
   color: #ffffff;
   font-weight: 800;
   letter-spacing: -0.03em;
   margin: 0 0 1.5rem 0;
   line-height: 1.1;
}

.pillars-desc {
   font-family: "Gaegu", sans-serif;
   font-size: 1.5rem;
   color: rgba(255, 255, 255, 0.7);
   line-height: 1.6;
   margin: 0;
}
.pillars-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   max-width: 1200px;
   margin: 0 auto;
   align-items: stretch;
}
.new-pillar-card {
	--card-px: 2.5rem; 
   --card-pt: 3rem;
	border-radius: 32px;
   padding: var(--card-pt) var(--card-px) 0 var(--card-px);
   display: flex;
   flex-direction: column;
   background-color: var(--bg-light);
   border: 1px solid rgba(0, 0, 0, 0.04);
   box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
   transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
   overflow: hidden;
   position: relative; 
}

.new-pillar-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
   border-color: rgba(0, 0, 0, 0.08);
}

.npc-content {
   position: relative;
   z-index: 2;
   display: flex;
   flex-direction: column;   
   flex-grow: 1;
}

.npc-role {
   font-size: 0.75rem;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 0.12em;  
   display: inline-block;
   padding: 0.5rem 1.25rem;
   border-radius: 50px;
   width: fit-content;
}

.card-orange .npc-role {
   background-color: rgb(35 46 42 / 81%);
   color: var(--accent-yellow);
   border: 1px solid rgba(249, 115, 22, 0.2);
}
.card-purple .npc-role {
   background-color: rgb(35 46 42 / 81%);
   color: var(--accent-yellow);
   border: 1px solid rgba(168, 85, 247, 0.2);
}
.card-yellow .npc-role {
   background-color: rgb(35 46 42 / 81%);
   color: var(--accent-yellow);
   border: 1px solid rgba(254, 216, 77, 0.3);
}

.npc-title {
   font-size: clamp(1.5rem, 0.9757rem + 1.4563vw, 2.25rem);
   font-family: "Otomanopee One Regular";
   font-weight: 700;
   line-height: 1.15;
   margin-bottom: 1.25rem;
   letter-spacing: -0.02em;
   color: var(--primary-color);
}

.npc-text {
   font-size: 1.05rem;
   line-height: 1.6;
   margin-bottom: 2rem;
   font-weight: 500;
}

.npc-link {
	font-weight: 500;
   font-size: 0.8rem;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   margin-bottom: 0;
   margin-top: auto; /* Pushes the button to the bottom of the text block */
   transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
   gap: 8px;
   color: var(--primary-color);
   border: 1px solid #232e2a;
   padding: 0.25rem 0.75rem;
   border-radius: 50px;
   width: fit-content;
}

.new-pillar-card:hover .npc-link {
   gap: 14px;
   color: var(--primary-color);
   color" #ffffff;
}

.npc-image-wrap {	
    padding-top: 2.5rem; 
    display: flex;
    justify-content: center;
    align-items: flex-end;  
    width: calc(100% + (var(--card-px) * 2)); 
    margin-left: calc(var(--card-px) * -1);
    margin-right: calc(var(--card-px) * -1);    
    flex-shrink: 0;    
    position: relative;
    z-index: 1;	
	height: auto ;
    margin-top: 3rem ;
    padding-top: 0 ;
}

.npc-image-wrap img {
	transform: translateY(0);
    width: 100%;    
    height: auto;   
	max-height: 320px;
    object-fit: cover; 
    object-position: center center; 
    mix-blend-mode: multiply;
    display: block; 
}
.new-pillar-card .npc-role {
   color: var(--accent-yellow);
}
.new-pillar-card .npc-title {
   color: #232e2a;
}
.new-pillar-card .npc-text {
   color: #232e2a;
   font-family: "Inter", sans-serif;
   font-size: 1rem;
}
.new-pillar-card .npc-link {
   color: var(--primary-color);
   border: 1px solid #232e2a;
   padding: 0.25rem 0.5rem;
   border-radius: 50px;
}

/* Impact cards */
.community-stories-container{
	padding: 6rem 0; 
	background-color: #faf2e8; 
	position: relative; 
	z-index: 2;
}
.viewport {
   max-width: 1200px;
   margin: 0 auto;
}
.main-heading {
   font-family: "Playfair Display", serif;
   font-size: 2.75rem;
   text-align: center;
   margin-bottom: 56px;
   color: var(--text-light);
}
.page {
   display: none;
}
.page.is-active {
   display: block;
}
.is-hidden {
   display: none;
}
.story-layout-horizontal {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 64px 32px;
   width: 100%;
   margin: 0 auto;
}
.story-column {
   display: flex;
   flex-direction: column;
   width: 100%;
}

.horizontal-card {
   display: flex;
   flex-direction: column;
   background-color: var(--card-dark);
   border-radius: 20px;
   width: 100%;
   height: 100%;
   box-shadow: var(--shadow-dark);
   position: relative;
   cursor: pointer;
   text-decoration: none;
   color: inherit;
   transform-style: preserve-3d;
   transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.horizontal-card:hover {
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.card-left-brand {
   width: 100%;
   min-height: 130px;
   background-color: var(--neon-orange);
   border-radius: 20px 20px 50% 50%;
   position: relative;
   display: flex;
   justify-content: center;
}
.hero-image-wrapper {
   width: 130px;
   height: 130px;
   border-radius: var(--radius-image);
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translate(-50%, 50%) translateZ(40px);
   background: var(--card-dark);
   padding: 6px;
   z-index: 10;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
   transition: transform 0.3s ease;
   isolation: isolate;
}
.horizontal-card:hover .hero-image-wrapper {
   transform: translate(-50%, 50%) translateZ(60px) scale(1.05);
}
.card__user-image {
   width: 100%;
   height: 100%;
   border-radius: var(--radius-image);
   object-fit: cover;
   background-color: #2a2f40;
}

.card-right-content {
   padding: 85px 32px 32px 32px;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   flex-grow: 1;
   transform: translateZ(30px);
}
.card__subtitle-neon {
   color: var(--neon-orange);
   font-size: 0.8rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 600;
   margin-bottom: 8px;
}
.card__title-dark {
   font-size: 1.6rem;
   font-weight: 800;
   margin: 0 auto 4px auto;
   color: var(--text-light);
   line-height: 1.1;
   width: fit-content;
}
.card__location-dark {
   font-size: 0.9rem;
   color: var(--text-muted);
   font-weight: 400;
}
.card__metrics-dark {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 16px;
   margin-bottom: 16px;
}
.metric-highlight {
   font-size: 1.3rem;
   font-weight: 700;
   color: var(--text-light);
}
.metric-strikethrough {
   font-size: 0.85rem;
   color: var(--text-muted);
   font-weight: 500;
   text-decoration: line-through var(--neon-orange) 2px;
}
.card__hook-dark {
   font-size: 0.9rem;
   color: #b0b5c0;
   line-height: 1.5;
   text-align: center;
}

.card--hidden {
   display: none !important;
}
.show-more-container {
   display: flex;
   justify-content: center;
   margin-top: 48px;
   padding-bottom: 24px;
}
.btn-show-more {
   background-color: var(--card-dark);
   color: var(--text-light);
   border: 1px solid var(--line-dark);
   padding: 14px 32px;
   font-size: 1rem;
   border-radius: 99px;
   cursor: pointer;
   transition: all 0.2s ease;
}
.btn-show-more:hover {
   transform: translateY(-2px);
   border-color: var(--neon-orange);
   color: var(--neon-orange);
}

.toolkit-header {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 5rem 1rem 3rem;
   margin: 0 auto;
   border-top: 4px solid var(--color-gold, #e68933);

}
.toolkit-header .tag-pill {
   background: rgba(254, 216, 77, 0.15);
   color: #d97706;
   border: 1px solid rgba(254, 216, 77, 0.3);
   padding: 0.4rem 1.2rem;
   border-radius: 50px;
   font-size: 0.8rem;
   font-weight: 700;
   text-transform: uppercase;
   margin-bottom: 1.25rem;
}
.toolkit-header .section-title {
   font-size: 2.85rem;
   font-weight: 800;
   color: var(--primary-color);
   margin: 0 0 1.25rem 0;
   max-width: 800px;
}
.toolkit-header .section-desc {
   font-family: "Gaegu", sans-serif;
   font-size: 1.25rem;
   color: #000;
   line-height: 1.6;
   margin: 0;
   max-width: 680px;
}

.stack-img__section {
   padding: 0 0 3rem 0;
}

/* Image stacking  */
.stack-img__section {
   padding: 5rem 0 0 0;
   background-color: #faf4e8;
}

.stack-pin-container {
   position: relative;
   width: 100%;
   height: 100vh;
   height: 100svh;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.stack-wrapper {
   position: relative;
   width: 90%;
   max-width: 1000px;
   height: 70vh;
   min-height: 500px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.stack-card {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   background: #ffffff;
   border-radius: 24px;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
   display: flex;
   flex-direction: row;
   overflow: hidden;
   transform-origin: center center;
   will-change: transform;
}

.stack-card__img-wrapper {
   flex: 1;
   height: 100%;
   position: relative;
}

.stack-card__img-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.stack-card__content {
   flex: 1;
   padding: 4rem 5rem !important;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start !important;
   text-align: left !important;
   position: relative;
}

.stack-card__title {
   font-family: "Gaegu", serif;
   font-size: clamp(2rem, 5vw, 2.75rem);
   font-weight: 800;
   color: #1a202c;
   letter-spacing: -0.02em;
   line-height: 1.1;
   margin-bottom: 1.25rem;
}
.stack-card__desc {
   font-family: "Gaegu", serif;
   font-size: 1.25rem !important;
   color: #000000;
   line-height: 1.4;
   margin-bottom: 2rem;
   max-width: 95%;
}

.stack-card__number {
   position: absolute;
   top: 2rem;
   right: 2.5rem;
   font-size: 4.5rem;
   color: rgb(35 46 42 / 67%);
   font-weight: 800;
   line-height: 1;
   z-index: 0;
}
.stack-card__btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 14px 36px;
   background-color: #232e2a;
   color: #ffffff;
   font-size: 0.9rem;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   text-decoration: none;
   border-radius: 50px;
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   box-shadow: 0 8px 20px rgba(35, 46, 42, 0.15);
}

.stack-card__btn:hover {
   background-color: #eab308;
   color: #4a2b29;
   transform: translateY(-2px);
}

.grid-container {
   flex: 1;
   max-width: 600px;
   background: rgba(255, 255, 255, 0.9);
   backdrop-filter: blur(10px);
   border-radius: 16px;
   padding: 1.25rem !important;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
   position: relative;
   z-index: 2;
   width: 100%;
   margin-top: 0 !important;
   height: max-content !important;
}
.blog-card-ui {
   display: flex;
   flex-direction: column;
}
.blog-card-ui .main-img {
   width: 100%;
   aspect-ratio: 16/9;
   object-fit: cover;
   border-radius: 8px;
   margin-bottom: 0 !important;
   background-color: #eee;
}
.blog-card-ui .blog-title,
.blog-card-ui .blog-excerpt,
.blog-card-ui .author-row {
   display: none !important;
}

/* Testimonials CARD */
.testi-field-title {
   font-size: 2.5rem;
   font-family: "Gaegu", sans-serif;
   color: var(--primary-color);
   font-weight: 800;
   margin: 0 auto 1.5rem auto;
   text-align: center;
}
.testi-field-subtitle {
   font-size: 1.5rem;
   font-family: "Gaegu", sans-serif;
   color: #000000;
   max-width: 750px;
   margin: 0 auto 5rem auto;
   line-height: 1.6;
   text-align: center;
}
.carousel-card {
   padding: 6rem 2rem;
   background: var(--bg-light);
}
.card {
   position: relative;
   width: 100%;
   max-width: 960px;
   background: rgba(202, 219, 243, 0.76);
   border-radius: 1.5rem;
   box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
   display: flex;
   justify-content: center;
   min-height: auto;
   margin: 0 auto;
}
.content-wrapper {
   display: grid;
   grid-template-columns: 0.62fr 1.38fr;
   width: 100%;
   height: 100%;
   padding: 3.5rem 0;
   align-items: center;
   overflow: hidden;
   border-radius: 2rem;
}

.text-panel {
   padding: 64px 64px 80px 64px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: relative;
   z-index: 10;
}
.quote-icon {
   font-size: 4rem;
   color: var(--text-dark);
   opacity: 0.75;
   font-family: serif;
   line-height: 0;
   margin-bottom: 0;
   display: block;
}
.text-slider {
   position: relative;
   height: 200px;
}
.text-slide {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   opacity: 0;
   transform: translateY(15px);
   transition: opacity 0.5s ease-out, transform 0.5s ease-out;
   pointer-events: none;
}
.text-slide.active {
   opacity: 1;
   transform: translateY(0);
   pointer-events: auto;
}
.text-slide h2 {
   font-size: 1.0rem;
   line-height: 1.7;
   font-weight: 500;
   color: var(--text-dark);
   margin-bottom: 32px;
}
.author h4 {
   font-size: 1.125rem;
   font-weight: 700;
   color: var(--text-dark);
   margin: 0 0 1rem 0;
}
.author span {
   font-size: 0.9rem;
   color: #000;
   margin-top: 4px;
   display: block;
}

.image-panel {
   position: relative;
   width: 100%;
   max-width: 220px;
   aspect-ratio: 1 / 1;
   margin-left: auto;
   overflow: hidden;
   border-radius: 20px;
}
.slide-img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0;
   z-index: 1;
   transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
   transform: scale(1.05);
   border-radius: 100% 0% 100% 100%;
}
.slide-img.active {
   opacity: 1;
   z-index: 2;
   transform: scale(1);
}

.controls-area {
   position: absolute;
   bottom: 10px;
   right: 10px;
   background: #232e2a;
   padding: 0.5rem;
   border-radius: 50px;
   display: flex;
   gap: 20px;
   z-index: 30;
}
.nav-btn {
   width: 56px;
   height: 56px;
   border-radius: 50%;
   border: 2px solid #e5e7eb;
   background: #fff;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s;
   color: var(--text-dark);
}
.track,
.dot-static {
   stroke: #e5e7eb;
   fill: #e5e7eb;
   stroke-width: 6;
   stroke-linecap: round;
}
.progress {
   stroke: var(--text-dark);
   fill: none;
   stroke-width: 6;
   stroke-linecap: round;
}
.dot {
   fill: var(--text-dark);
}

/* Videos */
.video-section {
   padding: 8rem 0;
   position: relative;
   overflow: hidden;
   background-color: var(--bg-light, #faf4e8);
   border-top: 1px solid #f1f5f9;
}
.vs-inner {
   position: relative;
   z-index: 2;
   width: 100%;
   max-width: 1100px;
   margin: 0 auto;
   padding: 0 1.5rem;
}
.vs-header {
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   margin-bottom: 3rem;
}
.vs-eyebrow {
   display: inline-flex;
   align-items: center;
   font-size: 0.75rem;
   font-weight: 700;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: var(--primary-color);
   background-color: rgba(35, 46, 42, 0.05);
   border: 1px solid #232e2a;
   padding: 6px 16px;
   border-radius: 50px;
   margin-bottom: 1.5rem;
}
.vs-title {
   font-family: "Otomanopee One Regular", sans-serif;
   font-size: 3rem;
   color: var(--primary-color);
   line-height: 1.1;
   margin: 0;
}
.vs-view-all {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   color: var(--primary-color);
   font-weight: 700;
   font-size: 0.9rem;
   text-decoration: none;
   border: 1px solid #232e2a;
   padding: 10px 24px;
   border-radius: 50px;
   transition: all 0.3s ease;
}
.vs-view-all:hover {
   background-color: var(--primary-color);
   border-color: var(--primary-color);
   color: #ffffff;
   transform: translateY(-2px);
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.featured-video {
   position: relative;
   border-radius: 24px;
   overflow: hidden;
   width: 100%;
   aspect-ratio: 16 / 7;
   cursor: pointer;
   margin-bottom: 2rem;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
   transform-style: preserve-3d;
}
.fv-thumb {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: transform 0.8s ease, filter 0.5s ease;
   filter: brightness(0.85);
}
.featured-video:hover .fv-thumb {
   transform: scale(1.04);
   filter: brightness(0.7);
}
.fv-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(
      to top,
      rgba(13, 17, 23, 0.95) 0%,
      transparent 60%
   );
}
.fv-duration {
   position: absolute;
   top: 1.5rem;
   right: 1.5rem;
   background: rgba(0, 0, 0, 0.6);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: #fff;
   font-size: 0.8rem;
   font-weight: 600;
   padding: 6px 14px;
   border-radius: 50px;
}
.fv-category {
   position: absolute;
   top: 1.5rem;
   left: 1.5rem;
   background: var(--accent-yellow);
   color: #000;
   font-size: 0.75rem;
   font-weight: 700;
   text-transform: uppercase;
   padding: 6px 14px;
   border-radius: 50px;
}
.fv-play {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) translateZ(40px);
   width: 80px;
   height: 80px;
   background: rgba(255, 255, 255, 0.15);
   backdrop-filter: blur(10px);
   border: 2px solid rgba(255, 255, 255, 0.4);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.4s ease;
   z-index: 10;
}
.featured-video:hover .fv-play {
   background: var(--accent-yellow);
   border-color: var(--accent-yellow);
   transform: translate(-50%, -50%) translateZ(60px) scale(1.1);
}
.fv-play svg {
   width: 30px;
   fill: #fff;
   margin-left: 4px;
}
.featured-video:hover .fv-play svg {
   fill: #000;
}
.fv-content {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 3rem;
   transform: translateZ(20px);
}
.fv-label {
   font-size: 0.8rem;
   font-weight: 700;
   color: var(--accent-yellow);
   text-transform: uppercase;
   margin-bottom: 0.5rem;
}
.fv-title {
   font-family: "Otomanopee One Regular", sans-serif;
   font-size: 2.2rem;
   color: #fff;
   margin-bottom: 1rem;
   max-width: 800px;
}
.fv-meta,
.fv-location,
.fv-watch {
   display: flex;
   align-items: center;
   gap: 8px;
   color: #fff;
   font-size: 0.9rem;
}

.video-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   align-items: stretch;
}
.video-card {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 20px;
   overflow: hidden;
   cursor: pointer;
   display: flex;
   flex-direction: column;
   transition: all 0.4s ease;
}
.video-card:hover {
   border-color: #cbd5e1;
   transform: translateY(-5px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.vc-thumb-wrap {
   position: relative;
   aspect-ratio: 16 / 8;
   overflow: hidden;
   flex-shrink: 0;
}
.vc-thumb {
   width: 100%;
   height: 100%;
   object-fit: cover;
   filter: brightness(0.8);
   transition: all 0.6s ease;
}
.video-card:hover .vc-thumb {
   transform: scale(1.06);
   filter: brightness(0.6);
}
.vc-thumb-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
}
.vc-play {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) scale(0.8);
   width: 50px;
   height: 50px;
   background: rgba(255, 255, 255, 0.2);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, 0.4);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: all 0.4s ease;
   box-sizing: border-box;
}
.video-card:hover .vc-play {
   opacity: 1;
   transform: translate(-50%, -50%) scale(1);
   background: var(--accent-yellow);
   border-color: var(--accent-yellow);
}

.vc-play svg { 
    width: 1.5rem;       
    height: 1.5rem;     
    fill: #fff; 
    margin-left: 3px; 
    transition: fill 0.3s ease; 
}
.video-card:hover .vc-play svg { 
    fill: #111111; 
}
.vc-duration,
.vc-cat-dot {
   position: absolute;
   color: #fff;
   font-size: 0.75rem;
}
.vc-body {
   padding: 1.5rem;
   display: flex;
   flex-direction: column;
   flex: 1;
}
.vc-title {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--primary-color);
   line-height: 1.4;
   margin-bottom: 1rem;
}
.vc-footer {
   display: flex;
   justify-content: space-between;
   margin-top: auto;
   padding-top: 1rem;
   border-top: 1px solid #f1f5f9;
}
.vc-watch-link {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: 0.8rem;
   font-weight: 700;
   color: var(--primary-color);
   border: 1px solid #232e2a;
   padding: 6px 16px;
   border-radius: 50px;
   transition: all 0.3s ease;
}
.video-card:hover .vc-watch-link {
   background-color: var(--primary-color);
   color: #ffffff;
}

/* Diretors Grid */

.director-cards-section {
   padding: 0 0 3rem 0;
   background-color: #232e2a;
   position: relative;
   z-index: 2;
   border-bottom: 4px solid var(--color-gold, #e68933);
}
.director-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   max-width: 1200px;
   margin: 0 auto;
}

.header-title{
	font-family: "Gaegu", sans-serif;
	font-size: clamp(1.5rem, 2.5vw, 2.85rem);
	color: #ffffff;
}
.header-desc{
	font-family: "Gaegu", sans-serif;
	font-size: 1.25rem;
	color: #ffffff;
	margin: 0 0 1rem 0;
	max-width: 700px;
	
}
.director-card {
   background-color: #ffffff;
   border: 1px solid rgba(255, 255, 255, 0.05);
   border-radius: 16px;
   padding: 2.5rem;
   display: flex;
   flex-direction: column;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
   transition: transform 0.4s ease;
}
.director-card:hover {
   transform: translateY(-5px);
   border-color: rgba(255, 255, 255, 0.15);
}
.card-header {
   display: flex;
   align-items: center;
   gap: 1.25rem;
   margin-bottom: 2rem;
}
.icon-circle {
   width: 64px;
   height: 64px;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   color: #ffffff;
}
.icon-purple {
   background-color: #2a3d35;
}
.icon-blue {
   background-color: #1e3329;
}
.header-text h2 {
   color: #232e2a;
   font-size: 1.6rem;
   margin: 0 0 0.4rem 0;
}
.meta-row {
   font-size: 0.75rem;
   color: #94a3b8;
}
.card-body p {
   color: #232e2a;
   font-size: 1.1rem;
   line-height: 1.6;
   margin-bottom: 2.5rem;
}
.btn-pill-arrow {
   display: inline-flex;
   align-items: center;
   border: 1px solid #232e2a;
   border-radius: 50px;
   padding: 0.5rem 0.5rem 0.5rem 1.5rem;
   color: #232e2a;
   font-weight: 600;
   text-decoration: none;
}
.arrow-circle {
   width: 36px;
   height: 36px;
   background-color: var(--accent-yellow);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-left: 1rem;
   transition: background-color 0.3s;
}

.teaser-portal {
   padding: 6rem 2rem;
   background-color: var(--primary-color);
   color: var(--bg-white);
   text-align: center;
	border-top: 4px solid var(--color-gold, #e68933);
   border-bottom: 4px solid var(--color-gold, #e68933);
}
.teaser-card h2 {
   font-size: 2.5rem;
   margin: 1rem 0;
}
.btn-portal {
   background-color: var(--bg-white);
   color: var(--primary-color);
}

/* Partners */
.partners-field-title {
   font-size: 2.5rem;
   font-family: "Gaegu", sans-serif;
   color: #fff;
   margin: 0 auto 2.5rem auto;
}
.partners-section {
   padding: 5rem 0 5.5rem;
   background-color: #232e2a;
   text-align: center;
   position: relative;
   z-index: 2;
	border-top: 4px solid var(--color-gold, #e68933);
   border-bottom: 4px solid var(--color-gold, #e68933);
}
.partners-section::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 1px;
   background: linear-gradient(
      90deg,
      transparent,
      rgba(254, 216, 77, 0.3),
      transparent
   );
}
.partners-subtitle {
   font-family: "Gaegu", sans-serif;
   font-size: 1.375rem;
   color: #ffffff;
   max-width: 680px;
   margin: 0 auto;
}
.tw-partners-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 2rem;
   max-width: 1200px;
   margin: 3.5rem auto 3rem;
   padding: 0 1rem;
}
.tw-partner-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   background: #ffffff;
   border-radius: 16px;
   padding: 3rem 2rem;
   text-decoration: none;
   transition: transform 0.3s ease;
}
.tw-partner-item:hover {
   transform: translateY(-4px);
}
.tw-partner-logo-wrap {
   width: 100%;
   height: 70px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 1.5rem;
}
.tw-partner-logo {
   max-width: 100%;
   object-fit: cover;
   filter: brightness(1);
   transition: filter 0.3s ease;
}
.tw-partner-brand {
   font-size: 0.95rem;
   font-weight: 600;
   color: #000;
}

.partner-trust-strip {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   max-width: 1100px;
   margin: 0 auto;
   background: rgba(255, 255, 255, 0.04);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 20px;
}
.partner-logo-cell {
   flex: 1 1 180px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 14px;
   padding: 2.25rem 1.5rem;
   transition: background 0.25s;
   cursor: pointer;
}
.partner-logo-cell:hover {
   background: rgba(254, 216, 77, 0.06);
}
.partner-logo-inner {
   width: 120px;
   height: 56px;
   background: #ffffff;
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 10px;
   box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
   transition: box-shadow 0.25s;
}
.partner-logo-img {
   max-width: 100%;
   max-height: 100%;
   filter: grayscale(100%) opacity(0.75);
   transition: filter 0.3s, transform 0.3s;
}
.partner-logo-cell:hover .partner-logo-img {
   filter: grayscale(0%) opacity(1);
   transform: scale(1.05);
}
.partner-meta {
   opacity: 0.7;
   transition: opacity 0.25s;
}
.partner-logo-cell:hover .partner-meta {
   opacity: 1;
}
/* Home Blog Grid */
#blog-posts{
	padding: 0 0 6rem 0;
	background: #faf2e8;
}

#blog-posts .container{
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e3d9;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.home-blog-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
	padding: 0.7rem;
    overflow: hidden;
}

.home-blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
	border-radius: 0.8rem;
}

.home-blog-card:hover .home-blog-img-wrap img {
    transform: scale(1.04);
}

.home-blog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.home-blog-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2d6a4f;
    background: #d8f3dc;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
	margin: -1rem 0 0.5rem 0;
}

.home-blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.home-blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.home-blog-meta {
    display: flex;
	justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0ebe3;
}

.home-blog-meta i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
}
/* Footer */
.site-footer {
   background-color: transparent;
   position: relative;
   margin-top: 4rem;
   overflow: hidden;
}
.static-wave-container {
   position: relative;
   width: 100%;
   height: 60px;
   margin-bottom: -2px;
   overflow: hidden;
}
.footer-wave-static {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
.footer-content-wrapper {
   background-color: var(--primary-color);
   padding: 5rem 0 2rem;
   color: #f3f4f6;
}
.footer-container {
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 2rem;
}
.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem 3rem;
}
.footer-logo {
   font-family: "Otomanopee One Regular";
   font-size: 1.5rem;
   color: #ffffff;
   text-decoration: none;
   margin-bottom: 1.5rem;
   display: block;
}
.footer-description {
   font-family: "Gaegu", sans-serif;
   color: #fff;
   font-size: 1.2rem;
   line-height: 1.5;
   margin-bottom: 1.5rem;
}
.footer-heading {
   font-family: "Otomanopee One Regular";
   color: #ffffff;
   font-size: 0.85rem;
   font-weght: 300;
   text-transform: uppercase;
   margin-bottom: 2rem;
   text-decoration: underline wavy var(--accent-yellow);
   text-underline-offset: 10px;
}
.footer-links {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   flex-direction: column;
   gap: 0.85rem;
}
.footer-links a {
   font-family: "Gaegu", sans-serif;
   color: #ffffff;
   text-decoration: none;
   transition: all 0.3s ease;
   font-size: 1.2rem;
}
.footer-links a:hover {
   color: var(--accent-yellow);
   transform: translateX(6px);
}

.footer-form .input-group {
   display: flex;
   position: relative;
   width: 100%;
}
.footer-form input {
   width: 100%;
   padding: 1rem 4rem 1rem 1.25rem;
   background-color: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 255, 255, 0.15);
   color: #ffffff;
   border-radius: 50px;
   outline: none;
}
.footer-form input:focus {
   border-color: var(--accent-yellow);
   background-color: rgba(255, 255, 255, 0.12);
}
.footer-form .btn-submit {
   position: absolute;
   right: 6px;
   /*top: 6px;*/
   bottom: 6px;
   background-color: var(--accent-yellow);
   display: flex;
   justify-content: center;
   align-items: center;
   border: none;
   border-radius: 50%;
   width: 2.5rem;
   height: 2.5rem;
   cursor: pointer;
   transition: all 0.3s;
}
.footer-form .btn-submit:hover {
   background-color: #ffffff;
   transform: scale(1.05);
}

.footer-social-icons {
   display: flex;
   gap: 1rem;
   align-items: center;
   margin: 1rem 0;
}
.social-link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, 0.2);
   color: #ffffff;
   transition: all 0.3s;
}
.social-link:hover {
   background-color: var(--accent-yellow);
   color: #182420;
   border-color: var(--accent-yellow);
   transform: translateY(-4px);
}

.footer-bottom {
   display: flex;
   justify-content: space-around;
   align-items: center;
   background: var(--bg-light);
   padding: 1.5rem 2rem;
   color: #000307;
   font-weight: 500;
}
.footer-illustration {
   width: 100%;
}
.legal-links a {
   color: #000307;
   text-decoration: none;
   margin-left: 1.5rem;
   transition: opacity 0.2s;
}

/* Scroll Top / Progress */
.progress-wrap {
   position: fixed;
   right: 30px;
   bottom: 30px;
   height: 60px;
   width: 60px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 999;
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px);
   transition: all 0.4s ease;
}
.progress-wrap.active-progress {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}
.progress-wrap svg.progress-circle {
   position: absolute;
   width: 100%;
   height: 100%;
   transform: rotate(-90deg);
}
.progress-wrap svg.progress-circle path {
   fill: none;
   stroke: var(--accent-yellow);
   stroke-width: 4;
}
.progress-wrap .inner-circle {
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background-color: var(--accent-yellow);
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.progress-wrap:hover .inner-circle {
   transform: scale(1.08);
}

/* =========================================
VIDEO MODAL (Fixes the stray close icon)
========================================= */
.modal-backdrop {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(15, 17, 21, 0.9);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   z-index: 100000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.je-video-modal {
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -45%) scale(0.95);
   width: 95%;
   max-width: 1000px;
   background-color: var(--primary-color);
   border-radius: 20px;
   border: 1px solid rgba(255, 255, 255, 0.1);
   z-index: 100001;
   opacity: 0;
   visibility: hidden;
   overflow: hidden;
   box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open,
.je-video-modal.open {
   opacity: 1;
   visibility: visible;
}

.je-video-modal.open {
   transform: translate(-50%, -50%) scale(1);
}

.modal-inner {
   display: flex;
   flex-direction: column;
}

.modal-video-wrap {
   position: relative;
   width: 100%;
   padding-bottom: 56.25%;
   background: #000000;
}

.modal-video-wrap iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: none;
}

.modal-info {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1.5rem 2rem;
   gap: 2rem;
}

.modal-title {
   font-size: 1.25rem;
   font-weight: 700;
   color: #ffffff;
   margin-bottom: 0.25rem;
   line-height: 1.3;
}

.modal-meta {
   font-size: 0.8rem;
   color: var(--accent-yellow);
   text-transform: uppercase;
   letter-spacing: 0.08em;
   font-weight: 700;
}

.modal-close {
   flex-shrink: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 44px;
   height: 44px;
   background: rgba(255, 255, 255, 0.1);
   color: #ffffff;
   border: none;
   border-radius: 50%;
   font-size: 1.25rem;
   cursor: pointer;
   transition: all 0.3s ease;
}

.modal-close:hover {
   background: var(--accent-yellow);
   color: var(--primary-color);
   transform: rotate(90deg);
}



::view-transition-old(root),
::view-transition-new(root) {
   animation-duration: 0.4s;
   animation-timing-function: ease;
}
::view-transition-old(root) {
   animation: fade-out 0.4s ease;
}
::view-transition-new(root) {
   animation: fade-in 0.4s ease;
}
::view-transition-group(morph-image) {
   animation-duration: 0.5s;
   animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
   border-radius: var(--radius-image);
}
::view-transition-old(morph-image),
::view-transition-new(morph-image) {
   border-radius: var(--radius-image);
   overflow: hidden;
   object-fit: cover;
   box-shadow: none;
}
@keyframes fade-in {
   0% {
      opacity: 0;
   }
   100% {
      opacity: 1;
   }
}
@keyframes fade-out {
   0% {
      opacity: 1;
   }
   100% {
      opacity: 0;
   }
}

/* CSS Implementation */
/*.hero-text {
  font-size: 24px;
  line-height: 1.8;
  font-family: system-ui, sans-serif;
}*/

/* Creating the "drawn circle/underline" effect */
/*.highlight-circle::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  
  /* Creates an imperfect elliptical shape */
/*  border: 2px solid #3b82f6; /* Adjust color as needed */
/*border-radius: 50% 60% 40% 50% / 60% 40% 50% 50%;*/

/* Slight rotation for an organic, sketched feel */
/*transform: rotate(-1deg);
  z-index: -1;
  pointer-events: none;
  
  /* Optional: Add a transition if you want this on hover instead */
/*transition: all 0.3s ease;
}*/

/* UX Fix: Trigger the effect ONLY on hover to reduce clutter */
/* .highlight-circle::after {
  opacity: 0;
}
.highlight-circle:hover::after {
  opacity: 1;
}
*/

.highlight-circle {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
	color: var(--accent-yellow);
}

.highlight-circle::after {
    content: "";
    position: absolute;
    left: -5%;         
    bottom: -2px;      
    width: 110%;       
    height: 14px;    
    background-color: var(--accent-yellow);
    -webkit-mask-image: url('../images/line1.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../images/line1.png');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    transform-origin: left center; 
    transform: scaleX(0);         
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
	z-index: -1; 
}

.highlight-circle:hover::after {
    transform: scaleX(1); 
}

.not-found-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc; 
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin: 3rem auto;
    max-width: 600px;
}

.not-found-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.not-found-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.not-found-text {
    color: #64748b;
    margin-bottom: 2rem;
}

/* --- Pill Button Modifier --- */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px; /* Creates the pill shape */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* =========================================
   RECENT UPDATES SECTION
========================================= */
.recent-updates-section {
    padding: 8rem 0;
    background-color: var(--bg-light, #FAF4E8);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.ru-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.ru-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    text-align: center;
}

.ru-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-red, #e63946); /* Fallback if accent-red missing */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.ru-title {
    font-family: 'Gaegu', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin: 0;
}

/* Grid Layout */
.ru-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* The Cards */
.ru-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
    /* GSAP 3D setup */
    transform-style: preserve-3d;
    cursor: pointer;
}

.ru-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-yellow);
}

/* Image & Date Pill */
.ru-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ru-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ru-card:hover .ru-card__img {
    transform: scale(1.05);
}

.ru-card__date {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-yellow);
    color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(254, 216, 77, 0.4);
}

.ru-card__date .day { font-size: 1.4rem; font-weight: 800; }
.ru-card__date .month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Content Wrapper */
.ru-card__content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ru-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-yellow);
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.ru-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.ru-card__excerpt {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    flex: 1;
}

/* Animated Read More Link */
.ru-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.ru-link i {
    font-style: normal;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ru-card:hover .ru-link {
    color: #e63946; /* Accent color on hover */
}

.ru-card:hover .ru-link i {
    transform: translate(4px, -4px); /* Pushes the arrow up and right */
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
========================================= */
@media (max-width: 1024px) {
    .ru-grid { gap: 1.5rem; }
    .ru-card__content { padding: 1.5rem; }
    .ru-card__title { font-size: 1.2rem; }
}

@media (max-width: 900px) {
    .ru-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    /* Make the 3rd card span full width on tablets so it doesn't look orphaned */
    .ru-card:nth-child(3) {
        grid-column: span 2;
    }
    .ru-card:nth-child(3) .ru-card__img-wrap {
        aspect-ratio: 21 / 9; /* Wider image for the spanning card */
    }
}

@media (max-width: 768px) {
    .recent-updates-section { padding: 4rem 0; }
    .ru-inner { padding: 0 1.5rem; }
    .ru-title { font-size: 2.5rem; }
    .ru-grid { grid-template-columns: 1fr; }
    .ru-card:nth-child(3) { grid-column: span 1; } /* Reset spanning for mobile */
    .ru-card:nth-child(3) .ru-card__img-wrap { aspect-ratio: 16 / 10; }
}

@media (max-width: 1024px) {
   .hero-viewport {
      min-height: auto !important;
      padding-top: 12rem !important;
      padding-bottom: 6rem !important;
      align-items: flex-start;
   }
   .hero-viewport .container {
      padding: 0 2rem;
   }
   .premium-metrics-section,
   .director-cards-section,
   .teaser-portal,
   .institutional-pillars-section,
   .video-section,
   .carousel-card,
   .stack-img__section {
      padding: 4rem 1.5rem !important;
   }
   .custom-brush-title {
      margin-bottom: 2.5rem !important;
   }
   .pillars-header,
   .testi-field-subtitle {
      margin-bottom: 3rem !important;
   }
   .metrics-grid-premium {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
   }
   .tw-partners-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
   }
   .tw-partner-item {
      padding: 2.5rem 1.5rem;
   }
   .story-layout-horizontal {
      grid-template-columns: repeat(2, 1fr);
      max-width: 800px;
   }
   .pillars-flow-grid {
      flex-direction: column;
      gap: 2rem;
   }
   .pillar-card {
      width: 100%;
      min-height: auto;
   }
   .flow-arrow {
      transform: rotate(90deg);
      margin: 1rem 0;
   }
   .stack-card__content {
      flex: 1 1 60% !important;
      height: 60% !important;
      padding: 1.75rem 2rem 1.75rem !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: space-between !important;
   }
   .stack-card__title {
      margin-top: 0 !important;
      margin-bottom: 0.5rem !important;
   }
   .stack-card__btn {
      margin: 0 !important;
      align-self: flex-start !important;
   }
   .custom-feed-container {
      grid-template-columns: 1fr;
   }
   .stack-wrapper {
      height: 70vh !important;
      min-height: 550px !important;
      max-width: 500px !important;
   }
   .stack-card {
      flex-direction: column !important;
   }
   .stack-card__img-wrapper {
      flex: 0 0 40% !important;
      height: 40% !important;
      min-height: unset !important;
   }
   .stack-card__number {
      top: 1.5rem !important;
      right: 1.5rem !important;
      font-size: 3.5rem !important;
      opacity: 0.3 !important;
      z-index: 0 !important;
   }
   .stack-card__title,
   .stack-card__desc,
   .stack-card__btn {
      position: relative !important;
      z-index: 2 !important;
   }
   .pillars-grid {
      grid-template-columns: repeat(2, 1fr);
   }
	.new-pillar-card:last-child {
      grid-column: span 2;
      max-width: 750px; 
      margin: 0 auto;
   }
	.new-pillar-card {
      --card-px: 2rem;
      --card-pt: 2.5rem;
	}
   .npc-title {
      font-size: clamp(1.75rem, 5vw, 2.1rem);
   }
   .npc-image-wrap {
      min-height: 220px;
   }
}

@media (max-width: 992px) {
   .dark-pill {
      display: flex;
      width: 95%;
      max-width: 95%;
      padding: 0.75rem 1rem 0.75rem 1.25rem;
   }
   .site-header.is-scrolled .dark-pill {
      width: 100%;
      max-width: 100%;
      padding: 0.75rem 1.25rem;
      border-radius: 0;
   }
   .desktop-nav {
      display: none;
   }
   .header-actions .donate-btn {
      display: none;
   }
   .header-actions .mobile-menu-toggle {
      display: flex;
	  background: rgb(39 40 40 / 12%);
	  backdrop-filter: blur(10px);
	 -webkit-backdrop-filter: blur(10px);
   }
   .persistent-top-actions {
      display: contents;
   }
   .footer-grid {
      grid-template-columns: 1fr 1fr;
   }
   .footer-description {
      max-width: 100%;
   }
   .director-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 900px) {
   .content-wrapper {
      grid-template-columns: 1fr;
      grid-template-rows: 10rem;
   }
   .image-panel {
      width: 10rem;
      height: 100%;
      margin: 0 auto;
   }
   .text-panel {
      padding: 40px;
      padding-bottom: 40px;
   }
   .text-slider {
      height: auto;
      min-height: 180px;
   }
   .text-slide {
      position: relative;
      display: none;
      opacity: 1;
      transform: none;
   }
   .text-slide.active {
      display: block;
   }
   .vs-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
   }
   .video-row {
      grid-template-columns: 1fr 1fr;
   }
   .partner-trust-strip {
      gap: 0;
      border-radius: 16px;
   }
   .partner-logo-cell {
      flex: 1 1 140px;
      padding: 1.75rem 1rem;
   }
   .partner-divider {
      height: 60px;
   }
   .new-pillar-card {
      min-height: 480px;
      padding: 2.25rem 1.75rem 0 1.75rem;
   }
   .npc-role {
      font-size: 0.85rem;
      margin-bottom: 0.75rem;
   }
   .npc-title {
      font-size: clamp(1.6rem, 4.5vw, 2rem);
      margin-bottom: 1rem;
   }
   .npc-text {
      font-size: clamp(0.95rem, 3vw, 1rem);
      margin-bottom: 1.5rem;
   }
   
   .npc-image-wrap img {
      transform: translateY(-20px);
   }
}

@media (max-width: 768px) {
   .hero-viewport h1 {
      font-size: 2.25rem;
   }
   .cta-group {
      flex-direction: column;
      width: 100%;
   }
   .cta-group .btn {
      width: 100%;
   }
   .story-layout-horizontal {
      grid-template-columns: 1fr;
      max-width: 576px;
   }
   .detail-panel {
      padding: 32px 20px;
   }
   .pull-quote-dark {
      font-size: 1.05rem;
      padding: 16px;
      margin: 24px 0;
   }
   #detailPage .page-inner {
      margin: 100px auto 60px auto;
   }
   .toolkit-header {
      padding: 4rem 1rem 2rem;
   }
   .toolkit-header .section-title {
      font-size: 2.25rem;
   }
   .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
      padding: 1.5rem 1rem;
   }
   .progress-wrap {
      right: 20px;
      bottom: 20px;
      height: 50px;
      width: 50px;
   }
   .progress-wrap .inner-circle {
      width: 36px;
      height: 36px;
   }
   .portal-trigger::after,
   .portal-trigger::before {
      display: none !important;
   }
   .stack-card__content {
      flex: 1 1 65% !important;
      height: 65% !important;
      padding: 1.25rem 1.5rem 1.5rem !important;
      justify-content: space-between !important;
   }
   .podcast-card {
      flex-direction: column !important;
   }
   .podcast-image {
      flex: none;
      height: 250px;
      clip-path: none !important;
   }
   .podcast-content {
      padding: 2rem;
   }
   .pillars-grid {
      grid-template-columns: 1fr;
   }
   .new-pillar-card:last-child {
      grid-column: span 1;
      max-width: 100%;
   }
   .new-pillar-card {
      --card-px: 1.75rem;
      --card-pt: 2rem;
      margin-bottom: 1.5rem;
   }
   .npc-role {
      font-size: 0.8rem;
      margin-bottom: 0.6rem;
      letter-spacing: 0.08em;
   }
   .npc-title {
      font-size: clamp(1.5rem, 4vw, 1.9rem);     
      margin-bottom: 0.9rem;
   }
   .npc-text {
     font-size: 0.95rem;
      line-height: 1.55;
   }
   .npc-link {
      font-size: clamp(0.95rem, 2.5vw, 1rem);
      margin-bottom: 1.5rem;
   }
   .npc-image-wrap {
      height: 20rem;      
   }

   .stack-wrapper {
      height: min(90svh, 620px) !important;
      width: 92% !important;
   }

   .stack-card__img-wrapper {
      flex: 0 0 38% !important;
      height: 38% !important;
   }

   .stack-card__content {
      flex: 1 1 62% !important;
      height: 62% !important;
      padding: 1.5rem 1.5rem !important;
      justify-content: center !important;
      overflow-y: auto !important;
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
   }

   .stack-card__content::-webkit-scrollbar {
      display: none !important;
   }

   .stack-card__title {
      font-size: 1.6rem !important;
      margin-top: 0 !important;
      margin-bottom: 0.5rem !important;
   }

   .stack-card__desc {
      font-size: 0.95rem !important;
      margin-bottom: 1.5rem !important;
      line-height: 2;
   }

   .stack-card__btn {
      width: 100% !important;
   }

   .stack-card__number {
      font-size: 2.5rem !important;
      top: 1rem !important;
      right: 1rem !important;
   }
   .dark-pill{
   }
}

@media (max-width: 640px) {
   .portal-nav-wrapper {
      position: static;
   }
   .portal-dropdown {
      top: calc(100% + 5px);
      right: 1rem;
      left: 1rem;
      width: auto;
      transform-origin: top right;
   }
   .portal-item {
      padding: 16px;
      font-size: 1rem;
   }
   .new-pillar-card {
		--card-px: 1.5rem;
      --card-pt: 1.75rem;
   }
   .new-pillar-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
   }
   .npc-role {
      font-size: 0.75rem;
      margin-bottom: 0.5rem;
   }
   .npc-title {
      font-size: clamp(1.4rem, 3.5vw, 1.75rem);
      margin-bottom: 0.8rem;
   }
   .npc-text {
      font-size: clamp(0.85rem, 2.2vw, 0.9rem);
      margin-bottom: 1rem;
      line-height: 1.5;
   }
   .npc-link {
      font-size: clamp(0.9rem, 2vw, 0.95rem);
      margin-bottom: 1.25rem;
   }
   .npc-image-wrap {
      height: 20rem;     
   }
}

@media (max-width: 600px) {
   .metrics-grid-premium {
      grid-template-columns: 1fr;
   }
   .featured-video {
      aspect-ratio: 16 / 9;
      border-radius: 14px;
   }
   .video-row {
      grid-template-columns: 1fr;
   }
   .vc-thumb-wrap {
      aspect-ratio: 16 / 9;
   }
   .fv-title {
      font-size: clamp(1.1rem, 4vw, 1.4rem);
   }
   .fv-content {
      padding: 1.5rem;
   }
   .tw-partners-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
   }
   .tw-partner-item {
      flex-direction: row;
      justify-content: flex-start;
      padding: 1.5rem 2rem;
      gap: 2rem;
   }
   .tw-partner-logo-wrap {
      width: 100px;
      height: 50px;
      margin-bottom: 0;
   }
   .partner-trust-strip {
      flex-direction: column;
   }
   .partner-divider {
      width: 80%;
      height: 1px;
   }
   .partner-logo-cell {
      width: 100%;
      flex-direction: row;
      justify-content: flex-start;
      padding: 1.25rem 1.5rem;
      gap: 1rem;
   }
   .partner-logo-inner {
      width: 80px;
      height: 44px;
      flex-shrink: 0;
   }
   .modal-info {
      flex-direction: column;
      align-items: flex-start;
      padding: 1.5rem;
   }
   .modal-close {
      position: absolute;
      top: -50px;
      right: 0;
      background: transparent;
      color: #ffffff;
   }
   .modal-close:hover {
      background: transparent;
      color: var(--accent-yellow);
   }
}

@media (max-width: 576px) {
   .footer-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
   }
   .static-wave-container {
      height: 40px;
   }
   .card-header {
      flex-direction: column;
      align-items: flex-start;
   }
   .story-layout-horizontal {
      max-width: 90%;
   }
   
   .dark-pill{
	   justify-content: space-between;
	  
	   width: 100% !important;
   }
   
   .logo-text{
	   display: none;
   }
   .site-header.is-scrolled .dark-pill {
	   padding: 0.3rem;
   }
}

@media (max-width: 480px) {
   .mobile-menu-panel {
      right: 0;
      left: 0;
      width: 100%;
      border-radius: 0 0 24px 24px;
   }
   .new-pillar-card {
      --card-px: 1.25rem;
      --card-pt: 1.5rem;
   }
   .npc-role {
      font-size: 0.7rem;
      margin-bottom: 0.4rem;
   }
   .npc-title {
     font-size: clamp(1.4rem, 3vw, 1.6rem);
   }
   .npc-text {
      font-size: clamp(0.8rem, 2vw, 0.85rem);
      margin-bottom: 1rem;
   }
   .npc-link {
      font-size: clamp(0.85rem, 1.8vw, 0.9rem);
      margin-bottom: 1rem;
      gap: 6px;
   }
   .npc-image-wrap {
      min-height: 140px;
      padding-top: 1rem;
   }
}

/* =========================================
   PILLAR OVERLAP HOTFIX (Overrides all previous rules)
========================================= */
.new-pillar-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; 
}

.npc-content {
    flex-grow: 1 !important; 
    display: flex !important;
    flex-direction: column !important;
}

.npc-link {
    margin-top: auto !important; /* Pushes the button to the bottom of the text block */
    margin-bottom: 0 !important;
}
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 4rem 1.5rem;
    text-align: center;
}

.error-page__inner {
    max-width: 32rem;
}

.error-page__code {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.error-page__title {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
}

.error-page__text {
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.error-page__cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}
