/* ===== Fonts & Reset ===== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #081226;
  --navy-900: #0c1b34;
  --navy-800: #122a4d;
  --navy-700: #1a3c6b;
  --gold-600: #a97a1d;
  --gold-500: #c4922c;
  --gold-400: #d9ab4c;
  --gold-300: #e6c374;
  --ink: #111826;
  --mist: #f6f7f9;
  --mist-dark: #eceef2;
  --line: #e1e4ea;
  --slate: #5b6472;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .font-display { font-family: 'Sora', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: 'Sora', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px; padding: 14px 30px; font-size: .88rem; font-weight: 700; font-family: 'Sora', sans-serif; letter-spacing: .02em; border: none; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 8px 24px rgba(196,146,44,.25); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 14px 32px rgba(196,146,44,.38); }
.btn-navy-outline { border: 1px solid var(--navy-700); color: var(--navy-800); background: transparent; }
.btn-navy-outline:hover { background: var(--navy-900); color: #fff; }
.btn-white-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-white-outline:hover { background: #fff; color: var(--navy-900); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,18,38,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 48px; width: auto; }
@media (min-width: 1024px) { .brand-logo { height: 56px; } }
.desktop-nav { display: none; gap: 32px; }
.desktop-nav a { color: rgba(255,255,255,.9); font-size: 1rem; font-weight: 500; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.desktop-nav a.active { color: var(--gold-400); border-color: var(--gold-400); }
.desktop-nav a:hover { color: #fff; }
.desktop-cta { display: none; }
.hamburger { background: none; border: none; color: #fff; padding: 8px; }
.hamburger svg { width: 26px; height: 26px; }
.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-950); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 0; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 500; }
.mobile-nav a.active { color: var(--gold-400); }
.mobile-nav a.btn, .mobile-nav a.btn.active { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-bottom: none; color: var(--navy-950); }
.mobile-nav .btn { width: 100%; margin-top: 14px; }
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .desktop-cta { display: block; }
  .hamburger { display: none; }
}

/* ===== Sections ===== */
section.block, .section-block { padding: 64px 0; }
@media (min-width: 1024px) { section.block, .section-block { padding: 96px 0; } }
.tone-mist { background: var(--mist); }
.tone-navy { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.bg-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 60% at 30% 20%, #000 40%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 20%, #000 40%, transparent 90%); pointer-events: none; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; color: var(--navy-950); margin: 12px 0 0; }
@media (min-width: 640px) { .section-head h2 { font-size: 2.3rem; } }
.section-head.light h2 { color: #fff; }
.section-head p { margin-top: 14px; color: var(--slate); line-height: 1.6; }
.section-head.light p { color: rgba(255,255,255,.7); }

/* ===== Hero (Home) ===== */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; min-height: 620px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,38,.45), rgba(8,18,38,.35)); }
.hero-text-wrap { position: relative; z-index: 2; padding: 64px 0 80px; }
@media (min-width: 1024px) { .hero-text-wrap { padding: 100px 0; max-width: 420px; } }
.hero h1 { font-size: 2.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin: 16px 0 0; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.6rem; } }
.hero h1 .gold { color: var(--gold-400); }
.hero p.lead { color: rgba(255,255,255,.75); max-width: 520px; font-size: 1.05rem; line-height: 1.6; margin: 24px 0 0; }

.eyebrow-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); padding: 9px 20px 9px 16px; border-radius: 9999px; font-family: 'Sora', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.eyebrow-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }

.mission-box { margin-top: 32px; max-width: 460px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); border-left: 4px solid var(--gold-500); background: rgba(255,255,255,.05); padding: 16px 22px; }
.mission-box .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-400); }
.mission-box .v { margin-top: 6px; font-size: .92rem; font-weight: 600; line-height: 1.55; color: rgba(255,255,255,.9); }

.hero-media { position: relative; width: 100%; aspect-ratio: 4/5; margin-top: 20px; }
@media (min-width: 1024px) {
  .hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: 100%; aspect-ratio: unset; margin-top: 0; z-index: 1; }
}
.hero-media-accent { position: absolute; left: 0%; top: 0%; width: 42%; height: 61%; background: var(--gold-500); clip-path: polygon(58.6% 0%, 100% 0%, 0% 100%); z-index: 0; display: none; }
@media (min-width: 1024px) { .hero-media-accent { display: block; } }
.hero-img { position: relative; z-index: 1; width: 100%; height: 100%; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 30% 100%, 2% 66%, 0.5% 63.5%, 0% 61%, 0.5% 58.5%, 2% 56%); }
@media (min-width: 1024px) { .hero-img { clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 30% 100%, 2% 66%, 0.5% 63.5%, 0% 61%, 0.5% 58.5%, 2% 56%); } }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(100%); transition: transform 1s cubic-bezier(.4,0,.2,1); }
.hero-img img.active { transform: translateX(0); z-index: 2; }
.hero-img img.exiting { transform: translateX(-100%); z-index: 1; }
.hero-dots { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
@media (max-width: 1023px) { .hero-dots { left: 50%; bottom: 20px; } }
.hero-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.5); }
.hero-dots span.active { width: 20px; background: var(--gold-500); }

/* ===== Reusable static framed image (same diagonal+gold-accent frame
   as the hero, but for a single non-carousel photo — used on About Us
   and anywhere else a static "hero-style" image frame is needed) ===== */
.framed-media { position: relative; width: 100%; aspect-ratio: 4/5; }
.framed-media-accent { position: absolute; left: 0%; top: 0%; width: 42%; height: 61%; background: var(--gold-500); clip-path: polygon(58.6% 0%, 100% 0%, 0% 100%); z-index: 0; display: none; }
@media (min-width: 1024px) { .framed-media-accent { display: block; } }
.framed-img { position: relative; z-index: 1; width: 100%; height: 100%; overflow: hidden; box-shadow: 0 30px 70px rgba(8,18,38,.25); clip-path: polygon(42% 0%, 100% 0%, 100% 100%, 30% 100%, 2% 66%, 0.5% 63.5%, 0% 61%, 0.5% 58.5%, 2% 56%); }
.framed-img img { width: 100%; height: 100%; object-fit: cover; }

.float-badge { position: absolute; background: rgba(8,18,38,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; box-shadow: 0 20px 45px rgba(0,0,0,.4); color: #fff; }
.float-badge-top { top: -20px; right: -16px; padding: 14px 20px; }
.float-badge-top .k { font-family: 'Sora', sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.float-badge-top .v { font-family: 'Sora', sans-serif; font-size: .92rem; font-weight: 700; margin-top: 2px; }
.float-badge-bottom { left: -20px; right: 20px; bottom: -26px; padding: 20px 24px; display: flex; gap: 30px; }
.float-badge-bottom .stat .value { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--gold-400); line-height: 1; }
.float-badge-bottom .stat .label { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 4px; }
@media (max-width: 1023px) { .float-badge { position: static; margin-top: 14px; box-shadow: none; } .float-badge-bottom { display: flex; gap: 24px; } }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.anim-in { animation: fadeInUp .8s cubic-bezier(.2,.7,.2,1) both; }
.anim-in.d1 { animation-delay: .05s; } .anim-in.d2 { animation-delay: .16s; } .anim-in.d3 { animation-delay: .27s; } .anim-in.d4 { animation-delay: .38s; } .anim-in.d5 { animation-delay: .5s; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .anim-in, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; } }

/* ===== Page Hero (secondary pages) ===== */
.page-hero { position: relative; overflow: hidden; background: var(--navy-950); text-align: center; color: #fff; padding: 80px 0; }
.page-hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .25; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(8,18,38,.7); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin: 10px 0 0; }
@media (min-width: 640px) { .page-hero h1 { font-size: 2.9rem; } }
.page-hero p { max-width: 640px; margin: 16px auto 0; color: rgba(255,255,255,.7); line-height: 1.6; }
.page-hero-cut { position: absolute; inset-inline: 0; bottom: 0; height: 34px; }
.page-hero-cut .gold { position: absolute; inset: 0; background: var(--gold-500); clip-path: polygon(0 0, 100% 55%, 100% 100%, 0 100%); }
.page-hero-cut .white { position: absolute; inset: 0; transform: translateY(10px); background: #fff; clip-path: polygon(0 25%, 100% 80%, 100% 100%, 0 100%); }

/* ===== Icon boxes ===== */
.icon-box { width: 48px; height: 48px; background: var(--navy-950); color: var(--gold-400); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, color .3s; }
.icon-box svg { width: 24px; height: 24px; }
.service-card:hover .icon-box { transform: scale(1.08) rotate(-4deg); background: var(--gold-500); color: var(--navy-950); }

.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); display: flex; align-items: center; justify-content: center; }
.icon-circle svg { width: 22px; height: 22px; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 26px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.service-card:hover { box-shadow: 0 20px 40px rgba(8,18,38,.1); transform: translateY(-5px); }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy-950); margin: 18px 0 0; }
.service-card p { font-size: .88rem; color: var(--slate); line-height: 1.55; margin: 8px 0 0; }
.learn-more { margin-top: 16px; font-size: .85rem; font-weight: 600; color: var(--navy-800); display: inline-flex; align-items: center; gap: 4px; }
.learn-more:hover { color: var(--gold-600); }

.event-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }

/* Featured Events (homepage) card style — ribbon tag + code bar + title below */
.event-card-v2 { display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.event-card-v2:hover { transform: translateY(-4px); }
.event-thumb-v2 { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--mist-dark); box-shadow: 0 8px 20px rgba(8,18,38,.12); }
.event-thumb-v2 img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card-v2:hover .event-thumb-v2 img { transform: scale(1.06); }
.event-ribbon { position: absolute; top: 0; left: 0; background: #fff; color: var(--navy-950); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .02em; padding: 7px 16px 7px 12px; border-radius: 0 0 10px 0; }
.event-code-bar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--navy-950); color: #fff; text-align: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .74rem; letter-spacing: .08em; padding: 7px 0; }
.event-title-v2 { margin-top: 14px; text-align: center; color: var(--navy-950); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .96rem; line-height: 1.35; }
.event-card:hover { box-shadow: 0 20px 40px rgba(8,18,38,.1); transform: translateY(-5px); }
.event-thumb { position: relative; aspect-ratio: 4/3; background: var(--mist-dark); overflow: hidden; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.event-card:hover .event-thumb img { transform: scale(1.06); }
.event-code { position: absolute; left: 12px; top: 12px; background: rgba(8,18,38,.85); color: var(--gold-400); font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; }
.event-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 { font-size: 1rem; font-weight: 600; color: var(--navy-950); margin: 0; }
.event-body p { font-size: .85rem; color: var(--slate); margin: 8px 0 0; line-height: 1.5; }
.event-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .75rem; color: var(--slate); margin-top: 14px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }

.news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(8,18,38,.1); }
.news-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--mist-dark); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--navy-900); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 4px 12px; border-radius: 999px; }
.news-body { padding: 20px; flex: 1; }
.news-date { font-size: .75rem; color: var(--slate); font-weight: 500; }
.news-body h3 { font-size: 1rem; font-weight: 600; color: var(--navy-950); margin: 8px 0 0; line-height: 1.4; }
.news-body p { font-size: .86rem; color: var(--slate); margin: 8px 0 0; line-height: 1.55; }

.upcoming-card { border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.15); transition: transform .3s, box-shadow .3s; }
.upcoming-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.upcoming-card .thumb { aspect-ratio: 16/11; overflow: hidden; background: var(--mist-dark); }
.upcoming-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.upcoming-card .info { padding: 20px; text-align: center; }
.upcoming-card .info .date { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--navy-950); }
.upcoming-card .info .venue { margin-top: 4px; font-size: .86rem; color: var(--slate); }

/* ===== Upcoming Event slider ===== */
.event-slider-wrap { position: relative; margin-top: 40px; border-radius: 16px; overflow: hidden; }
.event-slider { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.event-slide { flex: 0 0 100%; width: 100%; aspect-ratio: 16/9; display: block; }
@media (min-width: 768px) { .event-slide { aspect-ratio: 21/9; } }
.event-slide img { width: 100%; height: 100%; object-fit: cover; }
.event-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.95); color: var(--navy-950); font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.event-slider-nav:hover { background: #fff; }
.event-slider-nav.prev { left: -10px; }
@media (min-width: 640px) { .event-slider-nav.prev { left: -22px; } }
.event-slider-nav.next { right: -10px; }
@media (min-width: 640px) { .event-slider-nav.next { right: -22px; } }
.event-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.event-slider-dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.3); padding: 0; cursor: pointer; }
.event-slider-dots button.active { width: 26px; background: var(--gold-500); }

/* ===== About Us intro — full-bleed image layout ===== */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 64px 0;
}
.about-hero > .container {
  position: relative;
  z-index: 2;
}
.about-hero-text {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0;
}
.about-hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-950);
  margin: 0;
  line-height: 1.12;
}
.about-hero-text p {
  margin: 16px 0 0;
  color: var(--slate);
  line-height: 1.65;
  font-size: .98rem;
}
.about-hero-text p.about-lead {
  margin-top: 22px;
  font-weight: 650;
  color: var(--navy-900);
}
.about-hero .framed-media {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/10;
  margin: 34px auto 0;
}
@media (min-width: 1024px) {
  .about-hero {
    min-height: 760px;
    padding: 0;
  }
  .about-hero > .container {
    display: block;
    min-height: inherit;
  }
  .about-hero-text {
    width: 47%;
    max-width: 620px;
    padding: 72px 0;
  }
  .about-hero-text p {
    font-size: .98rem;
    line-height: 1.65;
  }
  .about-hero .framed-media {
    position: absolute;
    top: 0;
    right: calc((100vw - 100%) / -2);
    bottom: 0;
    width: 46vw;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    z-index: 1;
  }
  .about-hero .framed-img {
    height: 100%;
  }
}
@media (min-width: 1440px) {
  .about-hero { min-height: 780px; }
  .about-hero-text { width: 46%; max-width: 650px; padding: 76px 0; }
  .about-hero .framed-media { width: 46vw; }
}
@media (max-width: 1023px) {
  .about-hero { min-height: 0; }
  .about-hero .framed-media { aspect-ratio: 16/10; }
}

/* ===== What We Do layout ===== */
.what-we-do-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .what-we-do-grid { grid-template-columns: 0.85fr 1fr; gap: 64px; } }

/* Sticky pin: on desktop, the WHOLE section (text + card together)
   stays fixed in place while the user scrolls through the 5 slides —
   nothing moves until the last slide is shown, then scroll releases
   naturally into the next section. Mobile just stacks normally (see
   renderServiceShowcase in home.js for the scroll-driven slide switching). */
.wwd-pin-wrap { position: relative; }
@media (min-width: 1024px) {
  .wwd-pin-wrap { height: 300vh; }
  .wwd-sticky-inner { position: sticky; top: 140px; height: auto; display: flex; align-items: center; overflow: hidden; padding: 20px 0; }
}

/* ===== Service showcase (carousel) ===== */
.showcase-wrap { display: flex; align-items: stretch; gap: 18px; max-width: 460px; }
@media (min-width: 1024px) { .showcase-wrap { max-width: none; } }
.showcase { position: relative; flex: 1; aspect-ratio: 4/3; overflow: hidden; border-radius: 28px; box-shadow: 0 20px 50px rgba(8,18,38,.25); }
@media (min-width: 640px) { .showcase { aspect-ratio: 16/11; } }
@media (min-width: 1024px) { .showcase { aspect-ratio: 16/13; } }
.showcase-slide { position: absolute; inset: 0; will-change: transform; }
.showcase-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase-slide.needs-blur img { filter: blur(18px) brightness(.42) saturate(1.15); transform: scale(1.15); }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,18,38,.75) 0%, rgba(8,18,38,.42) 45%, rgba(8,18,38,.15) 75%, rgba(8,18,38,.05) 100%); }
.showcase-slide.needs-blur .showcase-overlay { background: linear-gradient(115deg, rgba(8,18,38,.5) 0%, rgba(8,18,38,.25) 55%, rgba(8,18,38,.12) 100%); }
.showcase-content { position: absolute; inset: 0; padding: 15% 9% 0; display: flex; flex-direction: column; align-items: flex-start; color: #fff; }
.showcase-content .counter { font-family: 'Sora', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--gold-400); padding-bottom: 8px; border-bottom: 2px solid var(--gold-500); }
.showcase-content h3 { font-size: 1.8rem; font-weight: 800; margin: 16px 0 0; line-height: 1.08; }
@media (min-width: 640px) { .showcase-content h3 { font-size: 2.3rem; } }
.showcase-content p { margin: 14px 0 0; max-width: 360px; font-size: .92rem; color: rgba(255,255,255,.85); line-height: 1.55; }
.showcase-dots-outer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.showcase-dots-outer button { width: 6px; height: 6px; border-radius: 999px; background: var(--line); border: none; padding: 0; transition: all .3s; cursor: pointer; }
.showcase-dots-outer button.active { height: 32px; background: var(--gold-500); }

/* ===== Industries ===== */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(5, 1fr); } }
.industry-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px 16px; text-align: center; font-size: .92rem; font-weight: 600; color: #fff; transition: transform .3s, background .3s, border-color .3s; }
.industry-item:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); border-color: rgba(212,171,76,.4); }

/* ===== Why partner ===== */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr 1fr; } }
.why-item { display: flex; gap: 14px; }
.why-item svg { flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; color: var(--gold-500); }
.why-item h3 { font-size: .98rem; font-weight: 600; color: var(--navy-950); margin: 0; }
.why-item p { font-size: .86rem; color: var(--slate); margin: 6px 0 0; line-height: 1.55; }

/* ===== Stats ===== */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(5, 1fr); } }
.stat-strip .stat { text-align: center; }
.stat-strip .value { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem; color: var(--gold-400); }
.stat-strip .label { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: 4px; }

.core-strength-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .core-strength-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .core-strength-grid { grid-template-columns: repeat(5, 1fr); } }
.core-strength-item { text-align: center; }
@media (min-width: 1024px) { .core-strength-item { text-align: left; } }
.core-strength-item .value { font-family: 'Sora', sans-serif; margin-top: 16px; font-size: 1.6rem; font-weight: 800; color: #fff; }
.core-strength-item .label { font-family: 'Sora', sans-serif; font-size: .74rem; font-weight: 700; text-transform: uppercase; color: var(--gold-400); }
.core-strength-item .desc { margin-top: 8px; font-size: .86rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(8,18,38,.1); }
.team-card .photo { aspect-ratio: 4/3; overflow: hidden; background: var(--mist-dark); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 24px; text-align: center; }
.team-card .info h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy-950); margin: 0; }
.team-card .info .title { margin-top: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-600); }
.team-card .info .bio { margin-top: 12px; font-size: .86rem; color: var(--slate); line-height: 1.55; }

/* ===== Clients page ===== */
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-item { min-height: 92px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 20px; font-size: .88rem; font-weight: 600; color: var(--navy-900); transition: transform .3s, box-shadow .3s; }
.client-item:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(8,18,38,.1); }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
.testimonial-card { border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); padding: 28px; }
.testimonial-card p.quote { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.testimonial-card .name { margin-top: 18px; font-family: 'Sora', sans-serif; font-size: .88rem; font-weight: 600; color: var(--gold-400); }
.testimonial-card .company { display: block; font-size: .76rem; font-weight: 400; color: rgba(255,255,255,.5); }

/* ===== Projects page (series + gallery) ===== */
.series-block + .series-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.series-head { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .series-head { grid-template-columns: 1fr 2fr; } }
.series-head .code { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--navy-950); }
.series-head .name { margin-top: 4px; font-size: 1.05rem; font-weight: 600; color: var(--navy-950); }
.series-head p { font-size: .9rem; color: var(--slate); line-height: 1.6; }
.series-gallery { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 12px; }
@media (min-width: 640px) { .series-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; } }
.series-gallery a, .series-gallery div { overflow: hidden; border-radius: 12px; background: var(--mist-dark); }
.series-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.series-gallery div:hover img { transform: scale(1.06); }
/* Bento pattern for a 5-photo gallery — two tall "anchor" photos on the
   sides (one on the far right spanning the full height), two normal
   photos stacked in the middle, and one more under the left anchor —
   avoids a flat, uniform-grid look. Falls back to a plain 2-col grid
   below 640px, where spans would look cramped. */
@media (min-width: 640px) {
/* 5-photo bento (one anchor photo spans full height on the right,
   since there's no 6th photo to fill its row-3 counterpart) */
@media (min-width: 640px) {
  .gallery-count-5 > *:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-count-5 > *:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-count-5 > *:nth-child(3) { grid-column: 3; grid-row: 1 / span 3; }
  .gallery-count-5 > *:nth-child(4) { grid-column: 2; grid-row: 2; }
  .gallery-count-5 > *:nth-child(5) { grid-column: 1; grid-row: 3; }
}
/* 7-photo bento (complete, gap-free grid) — same as the 6-photo
   pattern, but the middle column also gets a row-3 photo, so there's
   no empty cell at the bottom. */
@media (min-width: 640px) {
  .gallery-count-7 > *:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-count-7 > *:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-count-7 > *:nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
  .gallery-count-7 > *:nth-child(4) { grid-column: 2; grid-row: 2; }
  .gallery-count-7 > *:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery-count-7 > *:nth-child(6) { grid-column: 2; grid-row: 3; }
  .gallery-count-7 > *:nth-child(7) { grid-column: 3; grid-row: 3; }
}
/* 6-photo bento — two tall anchor photos on the sides (rows 1-2), two
   normal photos stacked in the middle, and two more filling row 3
   under each side anchor. The middle/row-3 cell is left empty by
   design (fill it by adding a 7th photo, see .gallery-count-7 above). */
@media (min-width: 640px) {
  .gallery-count-6 > *:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-count-6 > *:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-count-6 > *:nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
  .gallery-count-6 > *:nth-child(4) { grid-column: 2; grid-row: 2; }
  .gallery-count-6 > *:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery-count-6 > *:nth-child(6) { grid-column: 3; grid-row: 3; }
}
}

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field .btn { align-self: flex-start; }
.field label { font-size: .88rem; font-weight: 500; color: var(--navy-900); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: .9rem; font-family: inherit; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); }
.success-box { margin-top: 20px; display: flex; gap: 12px; background: var(--mist); border: 1px solid var(--gold-300); border-radius: 12px; padding: 18px; }
.success-box svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; }

/* ===== Pagination ===== */
.pagination { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pagination button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-size: .88rem; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.pagination button:hover:not(:disabled) { border-color: var(--gold-500); color: var(--gold-600); }
.pagination button.active { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.pagination button:disabled { opacity: .4; cursor: default; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-tagline { font-size: .85rem; max-width: 280px; line-height: 1.6; margin-top: 14px; }
.footer-grid h3 { font-family: 'Sora', sans-serif; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; font-size: .86rem; }
.footer-grid ul a:hover { color: var(--gold-400); }
.footer-grid ul li { display: flex; align-items: center; gap: 8px; }
.footer-grid ul svg { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }
.footer-address { display: flex; align-items: flex-start; gap: 8px; font-size: .86rem; line-height: 1.6; }
.footer-address svg { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .25s; }
.social-row a:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); transform: translateY(-3px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom { padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .75rem; color: rgba(255,255,255,.5); }
.footer-slogan { text-transform: uppercase; letter-spacing: .06em; }

/* ===== WhatsApp button ===== */
.wa-btn { position: fixed; bottom: 20px; right: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-btn:hover { transform: scale(1.05); }
.wa-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-btn-text { font-family: 'Sora', sans-serif; font-size: .85rem; font-weight: 600; display: none; }
@media (min-width: 640px) { .wa-btn-text { display: inline; } }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
.flex-center { display: flex; justify-content: center; }

/* ===== CTA Banner (with background image) ===== */
.cta-banner { position: relative; overflow: hidden; text-align: center; padding: 90px 0; color: #fff; background: var(--navy-950); }
.cta-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,38,.45), rgba(8,18,38,.35)); }
.cta-banner-content { position: relative; z-index: 1; }

/* Clients: logos placeholder */
.logos-placeholder { text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: 20px; background: #fff; }
.logos-placeholder h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy-950); margin: 0; }
.logos-placeholder p { margin: 10px auto 0; max-width: 520px; color: var(--slate); line-height: 1.6; }


/* ===== Homepage social post card ===== */
.home-news-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: stretch; }
.home-latest-news { min-width: 0; }
.home-latest-news .news-card { height: 100%; }
.home-latest-news .news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.home-latest-news .news-body h3 { font-size: 1.08rem; }
.home-latest-news .news-body .news-read-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--gold-400); color: var(--navy-950); font-size: .9rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.home-latest-news .news-body .news-read-more:hover { background: var(--gold-300, #f3c65d); transform: translateY(-2px); }
.home-latest-news .news-thumb { aspect-ratio: 16 / 9; }
.social-banner-card { min-width: 0; min-height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(8,18,38,.045); }
.social-post-profile { display: flex; align-items: center; gap: 13px; padding: 22px 22px 18px; }
.social-post-avatar { display: block; width: 54px; height: 54px; flex: 0 0 54px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(205,158,43,.35); }
.social-post-account { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.social-post-account strong { color: var(--navy-950); font-size: .98rem; line-height: 1.2; }
.social-post-account span { color: var(--slate); font-size: .84rem; }
.social-post-image { display: block; width: calc(100% - 36px); margin: 0 18px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.social-banner-caption { flex: 1; min-height: 124px; padding: 20px 22px 24px; color: var(--navy-950); background: #fff; font-size: .96rem; line-height: 1.65; }
.social-banner-caption p { margin: 0; }
.social-banner-caption p + p { margin-top: 4px; }
.social-banner-caption strong { margin-right: 5px; font-weight: 700; }

/* ===== Revisions: client & partner logo categories ===== */
.client-logo-heading { margin: 0 0 28px; color: var(--navy-950); font-family: 'Sora', sans-serif; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; text-align: center; }
.client-logo-sheet { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: clamp(12px, 2vw, 24px); }
.client-logo-sheet img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 760px) { .home-news-grid { grid-template-columns: 1fr; } .home-latest-news .news-thumb { aspect-ratio: 16 / 10; } .social-post-profile { padding: 18px 18px 14px; } .social-post-image { width: calc(100% - 28px); margin: 0 14px; } .social-banner-caption { min-height: 112px; padding: 18px; } }
