/*!
Theme Name:  Cathayinnovation
Theme URI: #
Author: Wemeanthis
Author URI: https://wemeanthis.com/
Description: Custom WP theme for
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:
Tags: Custom build WP Theme
*/
@font-face {
   font-family: 'PP Telegraf';
   src: url('./fonts/PPTelegraf-Regular.woff2') format('woff2'),
      url('./fonts/PPTelegraf-Regular.woff') format('woff');
   font-weight: normal;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Signifier';
   src: url('./fonts/Signifier-Light.woff2') format('woff2'),
      url('./fonts/Signifier-Light.woff') format('woff');
   font-weight: 300;
   font-style: normal;
   font-display: swap;
}

@font-face {
   font-family: 'Signifier';
   src: url('./fonts/Signifier-Regular.woff2') format('woff2'),
      url('./fonts/Signifier-Regular.woff') format('woff');
   font-weight: normal;
   font-style: normal;
   font-display: swap;
}

.pp-telegraf {
   font-family: 'PP Telegraf', sans-serif;
}

:root {
   --Linen: #FFF5E9;
   --Raisin: #231F20;
   --bs-gutter-x: 0.75rem;
   --fs-20: 20px;
   --spacing-120: 120px;
   --spascing-90: 90px;
   --spacing-60: 60px;
   --spacing-30: 30px;
   --spacing-25: 25px;
   --spacing-24: 24px;
   --spacing-20: 20px;
   --fs-heading62: 62px;
   --fs-heading54: 54px;
   --fs-heading40: 40px;
   --fs-heading32: 32px;
   --fs-heading24: 24px;
   --fs-18: 18px;
   --fs-heading16: 16px;
   --fs-body1: 28px;
   --fs-body2: 20px;
   --fs-body3: 18px;
}

@media (max-width: 1200px) {}

@media (max-width: 768px) {}

html {
   scroll-behavior: auto !important;
}

body {
   font-family: 'Signifier', sans-serif;
   margin: 0;
   padding: 0;
   background: var(--Linen, #FFF5E9);
}


.screen-reader-text {
   opacity: 0;
   position: absolute;
   visibility: hidden;
}


h1,
h2,
h3,
h4,
h5,
h6 {
   margin: 0;
   padding: 0;
   font-family: 'PP Telegraf', sans-serif;
   line-height: 1.3;
   color: var(--Raisin, #231F20);
}


.button {
   display: inline-block;
   padding: 18px 56px 18px 24px;
   background-color: transparent;
   color: var(--Raisin, #231F20);
   text-decoration: none;
   font-family: 'PP Telegraf', sans-serif;
   font-size: 24px;
   font-weight: 400;
   border-radius: 100px;
   border: 1px solid #D3CAC1;
   line-height: 1.3;
   letter-spacing: -0.48px;
   transition: 0.3s ease;
   position: relative;
   cursor: pointer;
}

.preheader {
   font-size: var(--fs-18, 18px);
   font-family: "PP Telegraf", sans-serif;
   font-weight: 400;
   line-height: 110%;
   letter-spacing: -0.36px;
   text-transform: uppercase;
   padding-left: 10px;
   position: relative;

}

.preheader::before {
   content: '';
   display: inline-block;
   width: 6px;
   height: 6px;
   background-color: #FFB300;
   border-radius: 50%;
   left: 0;
   position: absolute;
   top: 4px;
}

.preheader.fs-18::before {
   top: 7px;
}

header {
   padding: 60px;
}

.button:hover {
   border: 1px solid var(--Raisin, #231F20);
}

.button::after {
   content: '';
   position: absolute;
   top: 49%;
   transform: translateY(-50%);
   right: 24px;
   background-image: url("data:image/svg+xml,%3Csvg width='20' height='26' viewBox='0 0 20 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.833679 13.5274L15.8547 13.5422L8.93824 20.6603L9.68256 21.4264L17.8701 13L9.68256 4.57364L8.93824 5.33968L15.8547 12.4578L0.83368 12.4726L0.833679 13.5274Z' fill='%23231F20'/%3E%3C/svg%3E%0A");
   background-size: contain;
   background-repeat: no-repeat;
   width: 20px;
   height: 26px;
   transition: 0.3s ease;
}

.button:hover::after {
   right: 14px;
}

.row {
   --bs-gutter-x: 0.75rem;
}

.container {
   max-width: 1800px;
   --bs-gutter-x: 0.75rem;
}

.container-fluid {
   --bs-gutter-x: 0.75rem;
}

.mb-12 {
   margin-bottom: 12px;
}

.mt-60 {
   margin-top: var(--spacing-60, 60px);
}

ul.list li+li {
   margin-top: var(--spacing-20, 20px);
}

.py-90 {
   padding-top: var(--spacing-90, 90px);
   padding-bottom: var(--spacing-90, 90px);
}

.mb-60 {
   margin-bottom: var(--spacing-60, 60px);
}

.p-120 {
   padding: var(--spacing-120, 120px);
}

.py-120 {
   padding-top: var(--spacing-120, 120px);
   padding-bottom: var(--spacing-120, 120px);
}

.pb-120 {
   padding-bottom: var(--spacing-120, 120px);
}

.pt-90 {
   padding-top: var(--spacing-90, 90px);
}

.px-60 {
   padding-left: var(--spacing-60, 60px);
   padding-right: var(--spacing-60, 60px);
}

.pt-60 {
   padding-top: var(--spacing-60, 60px);
}

.p-20 {
   padding: var(--spacing-20, 20px);
}

.mb-30 {
   margin-bottom: var(--spacing-30, 30px);
}

h1,
.fs-62 {
   font-size: var(--fs-heading62, 62px);
}

h2,
.fs-54 {
   font-size: var(--fs-heading54, 54px);
}

h3,
.fs-40 {
   font-size: var(--fs-heading40, 40px);
}

h4,
.fs-32 {
   font-size: var(--fs-heading32, 32px);
}

h5,
.fs-24 {
   font-size: var(--fs-heading24, 24px);
}

h6,
.fs-16 {
   font-size: var(--fs-heading16, 16px);
}

.fs-28,
.body-1 {
   font-size: var(--fs-body1, 28px);
   line-height: 1.5;
   font-weight: 300;
   letter-spacing: -0.56px;
}

.fs-20,
.body-2 {
   font-size: var(--fs-body2, 20px);
   line-height: 1.5;
   font-weight: 300;
   letter-spacing: -0.4px;
}

.fs-18,
.body-3 {
   font-size: var(--fs-body3, 18px);
   line-height: 1.5;
   font-weight: 300;
   letter-spacing: -0.36px;
}

.mx--6 {
   margin-left: -6px;
   margin-right: -6px;
}

P {
   margin: 0;
}

.pb-60 {
   padding-bottom: var(--spacing-60, 60px);
}

.p-24 {
   padding: var(--spacing-24, 24px);
}

.py-60 {
   padding-top: var(--spacing-60, 60px);
   padding-bottom: var(--spacing-60, 60px);
}

.my-25 {
   margin-top: var(--spacing-25, 25px);
   margin-bottom: var(--spacing-25, 25px);
}

img {
   max-width: 100%;
   height: auto;
}

.border-x {
   border-left: 1px solid #D3CAC1;
   border-right: 1px solid #D3CAC1;
}

.border-top {
   border-top: 1px solid #D3CAC1 !important;
}

.me-40 {
   margin-right: 28px;
}

.border-b {
   border-bottom: 1px solid #D3CAC1;
}

.border-y {
   border-top: 1px solid #D3CAC1;
   border-bottom: 1px solid #D3CAC1;
}

.navigation a {
   color: var(--Raisin, #231F20);
   font-family: "PP Telegraf", sans-serif;
   font-size: var(--fs-20, 20px);
   font-style: normal;
   font-weight: 400;
   line-height: 150%;
   /* 30px */
   letter-spacing: -0.4px;
   text-decoration: none;
   opacity: 0.2;
}

.image img {
   width: 100%;
}

.navigation ul {
   list-style: none;
   display: flex;
   gap: 58px;
}

.navigation ul .sub-menu {
   display: none;
   position: absolute;
   background-color: var(--Linen, #FFF5E9);
   padding: 10px 0;
   border: 1px solid #D3CAC1;
   border-radius: 4px;
}

.navigation ul .current_page_item a {
   opacity: 1;
}

ul {
   list-style: none;
   padding: 0;
   margin: 0;
}

.cards-block .item {
   position: relative;
   overflow: hidden;
   border-radius: 12px;
}

.cards-block .item .hidden-content {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: #FFB300;
   color: #231F20;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   opacity: 0;
   transition: opacity 0.2s ease;

}

.cards-block .item .hidden-content h4 {
   letter-spacing: -3%;
}


span.box {
   border-radius: 12px;
   background: var(--Pale-Blue, rgba(241, 251, 250, 0.95));
   font-family: PP Telegraf, sans-serif;
   padding: 7px 11px;
   margin-bottom: 12px;
   display: inline-block;
}

.cards-block .item:hover .hidden-content {
   opacity: 1;
}

.white-box {
   border-radius: 20px;
}

.featured-areas .item {
   padding: 40px;
   border-left: 1px solid #d3cac136;
   height: 100%;
   border-bottom: 1px solid #d3cac136;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.border-bottom-1 {
   border-bottom: 1px solid #d3cac136;
}

.edge-circle {
   position: relative;
}


.edge-circle::after {
   content: '';
   position: absolute;
   right: -21px;
   bottom: -20px;
   width: 30px;
   height: 40px;
   background: #fff5e9;
   z-index: 1;
}

.border-s-0 {
   border-left: 0 !important;
}

/* ===== Industry Partners Section ===== */
.partners-header {
   display: flex;
   align-items: center;
   gap: 40px;
   padding-top: 50px;
   padding-bottom: 50px;
   border-bottom: 1px solid #D3CAC1;
}

.partners-title {
   margin: 0;
   white-space: nowrap;
}

.partners-marquee-wrap {
   overflow: hidden;
   position: relative;
}

/* Fade edges */
.partners-marquee-wrap::before,
.partners-marquee-wrap::after {
   content: '';
   position: absolute;
   top: 0;
   bottom: 0;
   width: 120px;
   z-index: 2;
   pointer-events: none;
}

.partners-marquee-wrap::before {
   left: 0;
   background: linear-gradient(to right, var(--Linen, #FFF5E9), transparent);
}

.partners-marquee-wrap::after {
   right: 0;
   background: linear-gradient(to left, var(--Linen, #FFF5E9), transparent);
}

.partners-track {
   display: flex;
   align-items: center;
   gap: 120px;
   width: max-content;
   animation: marquee-scroll 30s linear infinite;
}

/* .partners-marquee-wrap:hover .partners-track {
   animation-play-state: paused;
} */

.preheader.fs-32::before {
   left: -9px;

   top: 13px;
}

footer {
   background-color: #231F20;
   color: var(--Linen, #FFF5E9);
}

footer * {

   color: var(--Linen, #FFF5E9);
}

footer ul li+li {
   margin-top: 12px;
}

footer a {

   text-decoration: none;
}

.partner-logo {
   flex-shrink: 0;
   display: flex;
   align-items: center;
}

.partner-logo img {
   height: 48px;
   width: auto;
   max-width: 160px;
   object-fit: contain;
   /* filter: grayscale(1) opacity(0.6);
   transition: filter 0.2s ease; */
}

/* .partner-logo img:hover {
   filter: grayscale(0) opacity(1);
} */

@keyframes marquee-scroll {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ===== World Map Section ===== */
.map-header {
   display: flex;
   gap: 16px;
   align-items: center;
}

.lh-1 {
   line-height: 1;
}

.map-tab-btn {
   background: none;
   border: none;
   font-family: 'PP Telegraf', sans-serif;
   font-size: 24px;
   color: var(--Raisin, #231F20);
   cursor: pointer;
   padding: 0;
   opacity: 0.3;
   transition: opacity 0.3s ease;
   letter-spacing: -2%;
   text-decoration: underline;
}

.map-tab-btn.active {
   opacity: 1;
}

.map-container {
   position: relative;
   width: 100%;
}

.world-map-svg {
   width: 100%;
   height: auto;
   display: block;
}

.map-dots {
   position: absolute;
   inset: 0;
   pointer-events: none;
}

.map-dots-hidden {
   display: none;
}

.map-dot {
   position: absolute;
   transform: translate(-50%, -50%);
   cursor: pointer;
   pointer-events: all;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 28px;
   height: 28px;
}

.dot-ring {
   display: none;
}

.dot-core {
   display: block;
   width: 16px;
   height: 16px;
   border-radius: 50%;
   position: relative;
   z-index: 1;
   transition: transform 0.2s ease;
}

.dot-yellow .dot-core {
   background: #ECBE45;
}

.dot-coral .dot-core {
   background: #E07878;
}

.dot-slate .dot-core {
   background: #7A9BB5;
}

.dot-sky .dot-core {
   background: #B0CEE3;
}

/* When any dot is hovered, fade all dots out… */
.map-dots:hover .map-dot {
   opacity: 0.2;
   transition: opacity 0.2s ease;
}

/* …then bring the hovered one back to full */
.map-dots:hover .map-dot:hover {
   opacity: 1;
}

/* Tooltip popup */
.dot-tooltip {
   position: absolute;
   bottom: calc(100% + 10px);
   left: 50%;
   transform: translateX(-50%) translateY(5px);
   white-space: nowrap;
   background: #fff;
   border-radius: 6px;
   padding: 6px 12px;
   font-size: 20px;
   line-height: 1.5;
   color: var(--Raisin, #231F20);
   letter-spacing: -0.26px;
   opacity: 0;
   font-weight: 300;
   ;
   pointer-events: none;
   transition: opacity 0.2s ease, transform 0.2s ease;
   box-shadow: 0 2px 12px rgba(35, 31, 32, 0.08);
   z-index: 10;
}

.dot-tooltip::after {
   content: '';
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   border: 5px solid transparent;
   border-top-color: #D3CAC1;
}

.dot-tooltip::before {
   content: '';
   position: absolute;
   top: calc(100% - 1px);
   left: 50%;
   transform: translateX(-50%);
   border: 4px solid transparent;
   border-top-color: var(--Linen, #FFF5E9);
   z-index: 1;
}

.map-dot:hover .dot-tooltip {
   opacity: 1;
   transform: translateX(-50%) translateY(0);
}

.dot-tooltip-sub {
   display: block;
   font-size: 11px;
   opacity: 0.6;
   margin-top: 1px;
}

.w-40 {
   width: 40%;
}

.gradient {
   background: linear-gradient(90deg, rgba(255, 245, 233, 0.00) 0%, #FFF5E9 100%);
   position: absolute;
   top: 0;
   bottom: 0;
   width: 23%;

}

.border-radious-12 {
   border-radius: 12px;
}

.gradient.right {
   right: 0;
}

.gradient.left {
   background: linear-gradient(-90deg, rgba(255, 245, 233, 0.00) 0%, #FFF5E9 100%);
   left: 0;
}

.blure-box {
   border-radius: 12px;
   background: rgba(0, 0, 0, 0.32);
   position: absolute;
   bottom: 12px;
   left: 24px;
   width: 50%;
   padding: 28px 12px;
   color: var(--Linen, #FFF5E9);
   backdrop-filter: blur(6px);

}

.blure-box h5 {
   color: var(--Linen, #FFF5E9);
}

.z-index-1 {
   z-index: 1;
}

.opacity-12,
.fade-up-box {
   opacity: 0.12;
   filter: grayscale(100%);
}

.fade-up-box {
   opacity: 0;
   /* transform: translateY(100%); */
}

.aos-animate .opacity-12 {
   opacity: 1 !important;
   filter: none !important;
   transition: opacity 1s ease-in;
}

.aos-animate .fade-up-box {
   opacity: 1 !important;
   transition: 0.8s ease-in;
   /* transform: translateY(0) !important; */
}

ul.list li {
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15' fill='none'%3E%3Ccircle cx='7.5' cy='7.5' r='7' stroke='%23FFB300' stroke-opacity='0.94902'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   padding-left: 30px;
   background-position: left 7px;
   background-size: 15px;

}

.bridge-section {
   position: relative;
   overflow: hidden;
   background: #fff;
   border-radius: 12px;
}

.bridge-inner {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 80vh;
   padding: 80px 60px;
}

.bridge-text {
   position: relative;
   z-index: 2;
   max-width: 680px;
   text-align: center;
   font-size: clamp(1.5rem, 3vw, 2.25rem);
   font-weight: 500;
   line-height: 1.4;
   color: #231F20;
}

.bridge-word {
   display: inline-block;
   cursor: default;
   padding: 0 4px;
   border-radius: 2px;
   transition: background-color 0.25s ease, text-decoration-color 0.25s ease;
   text-decoration: underline;
   text-decoration-color: transparent;
   text-underline-offset: 4px;
   cursor: pointer;
}

.bridge-word:hover {
   background-color: #FFB300;
   text-decoration-color: #231F20;
}

/* Floating images */
.bridge-images {
   position: absolute;
   inset: 0;
   pointer-events: none;
   z-index: 1;
}

.bridge-img-wrap {
   position: absolute;
   width: 140px;
   aspect-ratio: 1 / 1;
   border-radius: 12px;
   overflow: hidden;
   opacity: 0;
   transition: opacity 0.4s ease;
}

.bridge-img-wrap.visible {
   opacity: 1;
}

.bridge-img-wrap img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   filter: grayscale(30%);
}

/* Fixed positions for the 6 floating slots */
#bridge-img-1 {
   top: 12%;
   right: 10%;
}

#bridge-img-2 {
   top: 50%;
   left: 6%;
}

#bridge-img-3 {
   bottom: 10%;
   left: 18%;
}

#bridge-img-4 {
   bottom: 15%;
   right: 18%;
}

#bridge-img-5 {
   top: 12%;
   left: 10%;
}

#bridge-img-6 {
   bottom: 12%;
   right: 17%;
}

/* =====================
   By the Numbers Section
   ===================== */
.numbers-eyebrow {
   font-size: 12px;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   color: #FFB300;
   margin-bottom: 8px;
}

.numbers-image-wrap {
   height: 100%;
   min-height: 400px;
   overflow: hidden;
   border-radius: 12px;
   position: relative;
}

.numbers-image-wrap img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 12px;
}

.numbers-card {
   border: 1px solid var(--Raisin, #231F20);
   border-radius: 12px;
   padding: 30px;
   display: flex;
   justify-content: space-between;
   align-items: flex-end;
   cursor: default;
   transition: 0.3s ease;
   position: relative;
   overflow: hidden;
}

.numbers-card:hover,
.numbers-card.active {
   border-color: #FFB300;
   background: #FFB300;
}

.numbers-card--yellow {
   background-color: #FFB300;
   border-color: #FFB300;
}

.numbers-card--yellow:hover {
   border-color: #e6a000;
}

.numbers-card__content {
   flex-shrink: 0;
}


.numbers-card__svg {
   flex-shrink: 0;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   position: absolute;
}

/* Numbers CSS Grid layout */
.numbers-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-template-rows: repeat(3, 1fr);
   gap: 12px;
   height: 100%;
}

/* Row 1: Years(25%) + Offices(25%) + Startups(50%) */
.numbers-grid__years {
   grid-column: 1;
   grid-row: 1;
}

.numbers-grid__offices {
   grid-column: 2;
   grid-row: 1;
}

.numbers-grid__startups {
   grid-column: 3 / 5;
   grid-row: 1;
}

/* Row 2: Billion(50%) | AUM tall(50%) */
.numbers-grid__billion {
   grid-column: 1 / 3;
   grid-row: 2;
}

/* Row 3: LPs(50%) | AUM continues */
.numbers-grid__lps {
   grid-column: 1 / 3;
   grid-row: 3;
}

/* Tall right card spanning rows 2–3 at 50% width */
.numbers-grid__aum {
   grid-column: 3 / 5;
   grid-row: 2 / 4;
}

/* =====================
   Latest News Section
   ===================== */
.news-card {
   display: block;
   text-decoration: none;
   color: inherit;
}

.news-card__image {
   overflow: hidden;
   border-radius: 12px;
   margin-bottom: 20px;
}

.news-card__image img {
   width: 100%;
   aspect-ratio: 4 / 3;
   object-fit: cover;
   display: block;
   transition: transform 0.4s ease;
}

.col-lg-6 .news-card__image img {
   aspect-ratio: 16 / 9;
}

.news-card:hover .news-card__image img {
   transform: scale(1.03);
}

.news-card__tag {
   display: flex;
   align-items: center;
   gap: 6px;
   font-size: 12px;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   color: #231F20;
   margin-bottom: 12px;
}

.news-card__tag .dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background-color: #FFB300;
   flex-shrink: 0;
}

.news-card__author {
   display: flex;
   align-items: center;
   gap: 20px;

}

.news-card__avatar {
   width: 100px;
   height: 100px;
   border-radius: 50%;
   object-fit: cover;
   flex-shrink: 0;
}

.news-card__written-by {
   display: block;
   text-transform: uppercase;
   text-decoration: underline;
   color: #231F20
}

.news-card__author-name {
   display: block;
   color: #231F20;
}

.news-card__image--placeholder img {
   background-color: #E8E0D5;
}

/* Fallback if the image src itself fails to load */
.news-card__image img {
   background-color: #E8E0D5;
}

.col-lg-3 .news-card__image img {
   aspect-ratio: 40/46;
   object-fit: cover;
}

.col-lg-6 .news-card__image img {
   aspect-ratio: 83/64;
   object-fit: cover;
}


@media screen and (max-width: 1550px) {

   :root {
      --fs-20: 16px;
      --spacing-120: 96px;
      --spascing-90: 72px;
      --spacing-60: 48px;
      --spacing-30: 24px;
      --spacing-25: 20px;
      --spacing-24: 20px;
      --spacing-20: 16px;
      --fs-heading62: 50px;
      --fs-heading54: 44px;
      --fs-heading40: 32px;
      --fs-heading32: 24px;
      --fs-heading24: 20px;
      --fs-18: 16px;
      --fs-heading16: 13px;
      --fs-body1: 23px;
      --fs-body2: 16px;
      --fs-body3: 15px;
   }

   .numbers-stat {
      line-height: 1;
   }

   .featured-areas .item {
      padding: 30px;
   }

   .pe-lg-5 {
      padding-right: 2.6rem !important;
   }

   header {
      padding: 54px;
   }

   .mw-650 {
      max-width: 650px !important;
   }

   .button {
      padding: 14px 49px 12px 24px;
      font-size: 20px;

   }

   .map-tab-btn {
      font-size: 20px;
   }

   .button::after {

      right: 20px;
      width: 16px;
      height: 21px;

   }
}