/* =========================================================
   IFUTURE Group — site styles
   Rebuilt from the original Wix site (desktop 980px grid).
   ========================================================= */

:root {
  --gold: #ffd667;      /* rgb(255,214,103) – headings, buttons */
  --yellow: #ffcd00;    /* rgb(255,205,0)   – big stat numbers  */
  --dark: #161616;      /* rgb(22,22,22)    – header/footer/bg  */
  --blue: #0f46c5;      /* Pilipala link buttons               */
  --oswald: 'Oswald', 'Arial Narrow', sans-serif;
  --futura: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --footer-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--futura);
  color: var(--dark);
  background: #fff;
  min-width: 320px;
  padding-bottom: var(--footer-h);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
button { font: inherit; }

.container { width: 980px; margin: 0 auto; position: relative; }
.oswald { font-family: var(--oswald); font-weight: 500; }
.gold { color: var(--gold); }
.center { text-align: center; }
.cover { width: 100%; height: 100%; object-fit: cover; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: #fff; color: #116dff; padding: 8px 16px; border-radius: 24px;
}
.skip-link:focus { left: 50%; transform: translateX(-50%); }

.bul { font-family: Arial, Helvetica, sans-serif; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  height: 58px;
  background: var(--dark);
  z-index: 50;
}
.site-header .logo {
  position: absolute; left: 64px; top: 6px;
  width: 47px; height: 45px;
}
.site-header .logo img { width: 47px; height: 45px; object-fit: contain; }
.burger {
  position: absolute; left: 50%; top: 9px;
  transform: translateX(-50%);
  width: 60px; height: 40px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { display: none; }
.learn-more {
  position: absolute; right: 42px; top: 15px;
  font-size: 16px; line-height: 24px;
  color: var(--gold); text-decoration: none;
}
.learn-more { transition: color .4s; }
.learn-more:hover { color: #ffe08d; }

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.menu-overlay.open { visibility: visible; opacity: 1; }
.menu-overlay .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.menu-panel {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 66.4%;
  background: rgba(0,0,0,.86);
  transform: translateX(-30px);
  transition: transform .3s;
}
.menu-overlay.open .menu-panel { transform: none; }
.menu-panel .menu-brand {
  position: absolute; left: 40px; top: 16px;
  color: var(--gold); font-size: 16px; line-height: 24px; text-decoration: none;
}
.menu-close {
  position: absolute; right: 44px; top: 4px;
  width: 24px; height: 24px; padding: 0; margin: 0;
  background: none; border: 0; cursor: pointer;
}
.menu-close::before, .menu-close::after {
  content: ''; position: absolute; left: -2px; right: -2px; top: 11px; height: 2px;
  background: var(--gold);
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.main-nav {
  position: absolute; left: 62px; right: 40px; top: 80px;
}
.main-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0;
}
.main-nav > ul { position: relative; }
.main-nav > ul > li { position: static; }
.main-nav a {
  display: block; padding: 4px 32px;
  color: var(--gold); text-decoration: none;
  font-size: 18px; line-height: 28px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; }
.main-nav .sub {
  list-style: none; margin: 0; padding: 10px 0 0;
  position: absolute; left: 14px; top: 36px;
  display: flex;
  visibility: hidden; opacity: 0; transition: opacity .2s;
}
.main-nav .sub::before { content: ''; position: absolute; left: -10px; right: -10px; top: 10px; bottom: 0; background: rgba(0,0,0,.3); z-index: -1; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { visibility: visible; opacity: 1; }
.main-nav .sub a { width: 146px; padding: 0; line-height: 42px; text-align: center; white-space: nowrap; }

/* ---------- Footer (fixed on desktop, like the original) ---------- */
.site-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: var(--footer-h);
  background: var(--dark);
}
.site-footer .container { height: 100%; }
.footer-brand {
  position: absolute; left: 0; top: 7px;
  font-family: var(--oswald); font-weight: 500;
  font-size: 40px; line-height: 60px; letter-spacing: -2px;
  color: var(--gold); text-decoration: none;
}
.social { display: flex; gap: 9px; list-style: none; margin: 0; padding: 0; }
.social a { display: block; }
.site-footer .social { position: absolute; left: 133px; top: 21px; }
.site-footer .social img { width: 35px; height: 35px; }
.btn-contact {
  position: absolute; right: 1px; top: 17px;
  width: 140px; height: 39px; line-height: 37px;
  background: var(--gold); border: 1px solid var(--gold); border-radius: 10px;
  color: #fff; text-decoration: none; text-align: center; font-size: 16px;
  transition: background-color .4s, color .4s;
}
.btn-contact:hover { background: #fff; color: var(--gold); }

.to-top {
  display: none;
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(255,255,255,.9); cursor: pointer;
}
.to-top::before {
  content: ''; position: absolute; left: 14px; top: 18px; width: 14px; height: 14px;
  border-left: 1.5px solid var(--gold); border-top: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- Scroll reveal (Wix-style fade in) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Slideshow ---------- */
.slideshow { position: relative; overflow: hidden; }
.slideshow .slide {
  position: absolute; inset: 0;
  visibility: hidden;
}
.slideshow .slide.active { visibility: visible; }
.slideshow .slide.moving { visibility: visible; transition: transform .8s ease-in-out; }
.slideshow .slide > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-btn {
  position: absolute; top: 50%; z-index: 5;
  width: 40px; height: 60px; margin-top: -30px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.ss-btn.prev { left: 92px; }
.ss-btn.next { right: 92px; }
.ss-btn::before {
  content: ''; position: absolute; top: 18px; width: 28px; height: 28px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
}
.ss-btn.prev::before { left: 14px; transform: rotate(45deg); }
.ss-btn.next::before { right: 14px; transform: rotate(-135deg); }
/* long thin arrows (Featured Events slideshow) */
.ss-arrows-long .ss-btn { width: 90px; }
.ss-arrows-long .ss-btn.prev { left: 98px; }
.ss-arrows-long .ss-btn.next { right: 98px; }
.ss-arrows-long .ss-btn::before { top: 23px; width: 14px; height: 14px; border-color: #000; border-width: 0 0 1.5px 1.5px; }
.ss-arrows-long .ss-btn::after {
  content: ''; position: absolute; top: 29.5px; left: 3px; right: 3px; height: 1.5px; background: #000;
}
.ss-arrows-long .ss-btn.prev::before { left: 4px; }
.ss-arrows-long .ss-btn.next::before { right: 4px; }

/* =========================================================
   HOME
   ========================================================= */
.home-hero { height: 877px; background: var(--dark); }
.home-hero img { width: 100%; height: 100%; object-fit: cover; }

.team-show { height: 658px; background: #000; }
.team-show .band {
  position: absolute; left: 0; right: 0; top: 385px; bottom: 0; z-index: 2;
  background: rgba(0,0,0,.3); pointer-events: none;
}
.team-show .caption {
  position: absolute; left: 0; right: 0; top: 414px; z-index: 3;
  text-align: center; color: #fff; pointer-events: none;
}
.team-show .caption h1 {
  font-family: var(--oswald); font-weight: 500;
  font-size: 100px; line-height: 148px;
}
.team-show .caption p { font-size: 18px; line-height: 30px; margin-top: -4px; }
.btn-outline {
  display: inline-block; pointer-events: auto;
  width: 139px; height: 40px; line-height: 38px; margin-top: 5px;
  background: #fff; color: #000; border: 1px solid #000; border-radius: 10px;
  font-size: 14px; text-decoration: none; text-align: center;
  transition: background-color .4s, border-color .4s, color .4s;
}
.btn-outline:hover { background: rgba(255,255,255,.6); border-color: var(--gold); color: var(--gold); }

.dark-photo { position: relative; background: #000; color: #fff; overflow: hidden; }
.dark-photo > .bgimg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4;
}
.dark-photo > .inner { position: relative; }
.section-title-xl {
  font-family: var(--oswald); font-weight: 500;
  font-size: 68px; line-height: 81.6px; letter-spacing: -3.4px; text-align: center;
}

.home-about { height: 533px; }
.home-about .section-title-xl { padding-top: 51px; }
.stats {
  position: absolute; top: 214px; left: 50%; transform: translateX(-50%);
  width: 1136px; display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat .label { font-family: var(--futura); font-weight: 600; font-size: 18px; line-height: 24px; margin: 0 auto; max-width: 253px; }
.stat .num {
  font-family: var(--oswald); font-weight: 500;
  font-size: 80px; line-height: 118px; letter-spacing: -4px; color: var(--yellow);
}
.stat .sub { font-weight: 600; font-size: 20px; line-height: 36px; margin-top: 19px; }
.stat:nth-child(4) .label { line-height: 32.4px; margin-top: -4px; }
.stat:nth-child(4) .num { margin-top: -2px; }
.stat:nth-child(4) .sub { margin-top: 18px; }

.home-join { height: 627px; }
.home-join .bgimg { opacity: .41; }
.home-join .section-title-xl { padding-top: 44px; }
.home-join .we { font-weight: 500; font-size: 28px; line-height: 33px; letter-spacing: -1.4px; text-align: center; margin-top: 76px; }
.home-join .we-list { font-weight: 500; font-size: 28px; line-height: 31.5px; letter-spacing: -1.4px; text-align: center; margin-top: 16px; }
.quote-band {
  position: absolute; left: 0; right: 0; top: 466px; height: 161px;
  background: rgba(22,22,22,.51);
}
.quote-band .qmark {
  position: absolute; left: 25px; top: 4px;
  font-family: var(--oswald); font-weight: 500; font-size: 70px; line-height: 70px;
}
.quote-band blockquote {
  position: absolute; left: 53px; top: 34px; width: 686px; margin: 0;
  font-family: var(--oswald); font-weight: 500;
  font-size: 40px; line-height: 40px; letter-spacing: -2px; text-align: center;
}
.btn-pill {
  position: absolute; left: 777px; top: 58px;
  width: 180px; height: 45px; line-height: 45px; border-radius: 60px;
  background: var(--gold); color: #fff; text-decoration: none; text-align: center;
  font-family: var(--oswald); font-weight: 700; font-size: 22px; letter-spacing: 1.1px;
  transition: background-color .2s;
}
.btn-pill:hover { background: #fff5d9; }

.home-expertise {
  height: 637px; position: relative; color: #fff;
  background: #000 url(../images/bg-expertise.jpg) center / cover fixed;
}
.home-expertise .section-title-xl { padding-top: 51px; height: 180px; }
.expertise-list {
  height: 457px; padding-top: 2px;
}
.expertise-list ul {
  list-style: none; margin: 0 auto; padding: 0; width: 960px;
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row;
  font-family: var(--oswald); font-weight: 500;
  font-size: 40px; line-height: 71px; letter-spacing: -2px; text-align: center;
}
.expertise-list li:nth-last-child(-n+2) { margin-top: -5px; }

.banner-img { background: var(--dark); overflow: hidden; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
.banner-febe { height: 661px; }
.banner-team { height: 623px; }
.banner-team img { object-position: center bottom; }

.home-achieve { background: #fff; }
.home-achieve .section-title-xl { color: var(--gold); padding-top: 33px; height: 147px; }
.achieve-show { height: 800px; background: #ccc8f1; }
.achieve-show .slide .shade {
  position: absolute; left: 0; right: 0; top: 507px; bottom: 0;
  background: rgba(0,0,0,.48);
}
.achieve-show .slide .container { height: 100%; }
.achieve-show .slide h3 {
  position: absolute; left: 0; top: 532px;
  font-family: var(--oswald); font-weight: 500; color: #fff; white-space: nowrap;
  font-size: 140px; line-height: 207px; letter-spacing: -7px;
}
.achieve-show .slide .read-more {
  position: absolute; left: 15px; top: 699px;
  font-family: var(--oswald); font-weight: 700; font-size: 35px; line-height: 52px;
  color: #fff; text-decoration: none;
}

.featured-show { height: 751px; background: #fff5d9; }
.featured-show .slide h3 {
  position: absolute; left: 0; right: 0; top: 307px; text-align: center;
  font-family: var(--oswald); font-weight: 500; color: var(--gold);
  font-size: 75px; line-height: 111px; letter-spacing: -3.75px;
}
/* Buttons sit on top of the words printed in the image; the image keeps a fixed
   scale and stays centred, so the buttons are positioned from the centre too. */
.pilipala-links a {
  position: absolute; top: 549px; height: 188px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; text-decoration: none; border-radius: 10px;
  font-family: var(--oswald); font-weight: 700; font-size: 61px; line-height: 92px;
  transition: background-color .4s;
}
.pilipala-links a:hover, .pilipala-links a:focus-visible { background: #8fb1ff; }
.pilipala-links .fb  { left: calc(50% - 354px); width: 278px; }
.pilipala-links .ig  { left: calc(50% + 41px);  width: 294px; }
.pilipala-links .xhs { left: calc(50% + 414px); width: 278px; }

.home-upcoming { height: 413px; background: #fff; }
.home-upcoming .section-title-xl { color: var(--gold); padding-top: 78px; }
.home-upcoming .tagline {
  font-family: var(--oswald); font-weight: 500; color: var(--gold); text-align: center;
  font-size: 28px; line-height: 33.6px; letter-spacing: -1.4px; margin-top: 5px;
}
.no-events {
  font-family: var(--oswald); font-weight: 500; color: var(--gold); text-align: center;
  font-size: 20px; line-height: 30px;
}
.home-upcoming .no-events { margin-top: 96px; }

/* =========================================================
   Inner pages – shared
   ========================================================= */
.page-title {
  font-family: var(--oswald); font-weight: 500; color: var(--gold);
  font-size: 56px; line-height: 83px; text-align: center;
}
.title-rule { width: 30px; height: 3px; background: var(--gold); margin: 0 auto; }
.body-copy { font-size: 16px; line-height: 28.8px; color: var(--dark); text-align: center; }

/* ---------- About ---------- */
.about-intro { height: 264px; padding-top: 87px; }
.about-intro .subtitle {
  font-family: var(--oswald); font-weight: 500; color: var(--gold); text-align: center;
  font-size: 21px; line-height: 31.5px; letter-spacing: -.42px;
}
.about-banner { height: 383px; }
.profile { background: var(--dark); color: #fff; padding: 96px 0 109px; }
.profile .title-rule { margin-top: 11px; }
.profile .copy { width: 928px; margin: 62px auto 0; text-align: center; font-size: 21px; line-height: 31.5px; }
.profile .copy strong { display: block; color: var(--gold); font-size: 28px; line-height: 37px; font-weight: 600; }
.profile .copy .gap { height: 62px; }
.achievement { padding: 33px 0 120px; }
.achievement .title-rule { margin-top: 12px; }
.ach-block { width: 634px; margin: 0 auto; text-align: center; }
.ach-title {
  color: var(--gold); font-size: 42px; line-height: 56px; font-weight: 400;
  margin-bottom: 5px;
}
.ach-text { font-size: 18px; line-height: 27px; color: #000; }
.achievement .first { margin-top: 32px; }
.ach-block + .ach-block { margin-top: 52px; }
.ach-row { display: flex; align-items: flex-start; gap: 0; margin-top: 64px; }
.ach-row .ach-copy { text-align: center; }
.ach-row img { object-fit: cover; flex: none; }
.row-mdrt .ach-copy { width: 619px; margin-left: 7px; margin-top: 6px; }
.row-mdrt img { width: 345px; height: 230px; margin-left: 7px; }
.row-supremacy { margin-top: 81px; }
.row-supremacy img { width: 344px; height: 257px; }
.row-supremacy .ach-copy { width: 622px; margin-left: 7px; margin-top: -8px; }
.row-ses { margin-top: 71px; }
.row-ses .ach-copy { width: 631px; margin-left: -7px; }
.row-ses img { width: 371px; height: 231px; margin-left: 3px; margin-top: 34px; }

/* ---------- Services ---------- */
.services-intro { padding: 36px 0 52px; }
.services-intro .body-copy { width: 830px; margin: 60px auto 0; }
.services-intro .body-copy b { font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: 19px; }
.services-grid { background: var(--dark); padding: 39px 0 70px; }
.services-grid .cols { display: flex; gap: 0; }
.svc-col { width: 354.5px; }
.svc-col:last-child { width: 271px; }
.svc-card { position: relative; margin-bottom: 46px; }
.svc-card img { width: 286px; height: 335px; object-fit: cover; }
.svc-card .box {
  position: relative; margin: -52px 0 0 21px; width: 279px; min-height: 201px;
  background: #fff; padding: 8px 9px 53px;
  font-family: var(--oswald); font-weight: 500; color: var(--gold);
  font-size: 20px; line-height: 28px; letter-spacing: -.8px;
}
.svc-card .box h3 { font-weight: 700; font-size: 20px; line-height: 28px; text-decoration: underline; }

/* ---------- Events ---------- */
.events-banner { position: relative; height: 446px; }
.events-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.events-banner .box {
  position: absolute; left: 50%; margin-left: -490px; top: 150px;
  width: 980px; height: 296px; background: #fff; border-bottom: 1px solid var(--gold);
  padding: 80px 0 0 128px;
}
.events-banner .box h1 {
  font-family: var(--oswald); font-weight: 500; color: var(--gold);
  font-size: 56px; line-height: 83px; letter-spacing: 0;
}
.events-banner .box p { color: var(--gold); font-size: 16px; line-height: 28.8px; margin-top: 40px; }
.events-upcoming { padding-top: 109px; text-align: center; }
.events-upcoming .page-title { letter-spacing: -2.8px; line-height: 83px; }
.events-upcoming .stay { color: var(--gold); font-size: 18px; line-height: 32.4px; letter-spacing: -.18px; margin-top: 14px; }
.events-upcoming .no-events { margin-top: 95px; }
.events-featured { padding: 117px 0 10px; }
.events-featured .page-title { letter-spacing: -2.8px; }
.events-featured .poster { width: 978px; height: 655px; object-fit: cover; object-position: 30% center; margin: 0 auto; }

/* ---------- Career ---------- */
.career-intro { padding-top: 62px; }
.career-intro .body-copy { width: 800px; margin: 60px auto 0; }
.career-why { text-align: center; margin-top: 125px; }
.career-why h2 {
  font-family: var(--oswald); font-weight: 500; font-size: 40px; line-height: 60px; letter-spacing: -2px;
  margin-right: 10px;
}
.career-why ul { list-style: none; padding: 0; margin: 37px 0 0; font-size: 21px; line-height: 28px; color: #000; }
.join-now {
  font-family: var(--oswald); font-weight: 700; font-size: 24px; line-height: 36px;
  text-align: center; margin: 45px 0 0 -9px;
}

.wform { width: 695px; margin: 30px auto 0; }
.wform .field { margin-bottom: 23px; }
.wform label, .wform .lbl { display: block; font-size: 14px; line-height: 19.6px; margin-bottom: 8px; }
.wform .req::after { content: ' *'; }
.wform input, .wform select, .wform textarea {
  display: block; width: 100%; height: 42px;
  border: 1px solid #7f7f7f; border-radius: 0; background: #fff;
  padding: 0 12px; font: 16px/24px var(--futura); color: var(--dark);
  -webkit-appearance: none; appearance: none;
}
.wform input:hover, .wform select:hover, .wform textarea:hover { border-color: var(--dark); }
.wform input:focus, .wform select:focus, .wform textarea:focus { outline: none; border: 1px solid var(--dark); box-shadow: 0 0 0 1px var(--dark) inset; }
.wform ::placeholder { color: var(--dark); opacity: 1; }
.wform textarea { height: 92px; padding: 8px 12px; resize: vertical; }
.wform select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23161616' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 17px center;
  padding-right: 44px; cursor: pointer;
}
.phone-wrap { display: flex; border: 1px solid #7f7f7f; height: 42px; }
.phone-wrap:hover { border-color: var(--dark); }
.phone-wrap select {
  width: 92px; flex: none; border: 0; height: 40px; padding: 0 22px 0 40px; font-size: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2c3 3 4 6.5 4 10s-1 7-4 10c-3-3-4-6.5-4-10s1-7 4-10z'/%3E%3C/svg%3E") no-repeat 14px center,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23161616'/%3E%3C/svg%3E") no-repeat right 6px center,
    #fff;
}
.phone-wrap input { border: 0; height: 40px; padding-left: 6px; }
.phone-wrap input:focus, .phone-wrap select:focus { box-shadow: none; border: 0; }
.wform .submit {
  display: block; width: 100%; height: 41px; border: 0; cursor: pointer;
  background: var(--dark); color: #fff; font: 16px var(--futura);
  transition: opacity .2s;
}
.wform .submit { transition: background-color .4s, color .4s; }
.wform .submit:hover { background: rgba(22,22,22,.13); color: #000; }
.wform .submit[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: #1a7f37; }
.form-msg.err { color: #c62828; }
.hp { position: absolute !important; left: -9999px !important; }
.career-form-section { padding-bottom: 210px; }

/* ---------- Gallery / Connect ---------- */
.connect-intro { padding-top: 38px; text-align: center; }
.connect-intro p { color: var(--gold); font-size: 18px; line-height: 32.4px; margin-top: 30px; }
.feed {
  width: 820px; margin: 99px auto 0;
  display: grid; grid-template-columns: repeat(3, 260px); grid-auto-rows: 361px; gap: 21px 20px;
}
.feed-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 2px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.28);
  text-decoration: none; color: #000; font-size: 12px; line-height: 17px;
  transition: box-shadow .2s;
}
.feed-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.feed-card img { width: 260px; height: 260px; object-fit: cover; flex: none; }
.feed-card .txt { padding: 10px 10px 0; }
.feed-card time { display: block; padding: 10px 10px 12px; font-size: 11px; }
.feed-more { text-align: center; margin-top: 30px; }
.feed-more a { color: var(--dark); font-size: 14px; }
.gallery-title {
  font-family: var(--oswald); font-weight: 500; color: var(--gold); text-align: center;
  font-size: 75px; line-height: 111px; letter-spacing: -3.75px; margin-top: 175px;
}
.videos {
  display: grid; grid-template-columns: 480px 480px; gap: 99px 13px;
  justify-content: center; margin: 21px auto 0; padding-bottom: 77px;
}
.video { position: relative; width: 480px; height: 270px; background: #000; }
.video iframe, .video .yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .yt-thumb { cursor: pointer; padding: 0; background: #000; }
.video .yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video .yt-thumb::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath d='M66.5 7.7c-.8-2.9-2.5-5.4-5.4-6.2C55.8.1 34 0 34 0S12.2.1 6.9 1.6C4 2.4 2.3 4.8 1.5 7.7 0 13 0 24 0 24s0 11 1.5 16.3c.8 2.9 2.5 5.4 5.4 6.2C12.2 47.9 34 48 34 48s21.8-.1 27.1-1.6c2.9-.8 4.6-3.2 5.4-6.2C68 35 68 24 68 24s0-11-1.5-16.3z' fill='red'/%3E%3Cpath d='M45 24 27 14v20' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Contact ---------- */
.contact-intro { padding-top: 85px; text-align: center; }
.contact-intro .eyebrow { font-family: var(--oswald); font-weight: 500; color: var(--gold); font-size: 20px; line-height: 30px; }
.contact-intro .page-title { margin-top: 4px; }
.contact-intro .lead { width: 760px; margin: 30px auto 0; font-size: 18px; line-height: 32.4px; color: #000; }
.contact-boxes { display: grid; grid-template-columns: 1fr 1fr; margin-top: 61px; }
.contact-boxes > div { border: 1px solid var(--dark); height: 520px; position: relative; }
.contact-boxes > div + div { border-left: 0; }
.info-grid {
  position: absolute; left: 135px; top: 82px; width: 470px;
  display: grid; grid-template-columns: 293px 1fr; row-gap: 84px;
}
.info-item .ico { height: 34px; display: flex; align-items: flex-end; margin-bottom: 9px; }
.info-item .ico svg { display: block; }
.info-item h3 {
  font-family: var(--oswald); font-weight: 500; font-size: 20px; line-height: 28px; letter-spacing: -.8px; margin-top: 4px;
}
.info-item p { font-size: 16px; line-height: 28.8px; letter-spacing: .4px; }
.info-item p.tight { line-height: 24px; margin-top: 2px; }
.info-item h3.second { margin-top: 10px; }
.info-item a { text-decoration: none; }
.info-item a:hover { text-decoration: underline; }
.info-item .social { margin-top: 6px; }
.info-item .social img { width: 30px; height: 30px; }
.cform { position: absolute; left: 130px; top: 80px; width: 460px; font-family: var(--futura); }
.cform .row2 { display: grid; grid-template-columns: 220px 220px; gap: 20px; }
.cform label { display: block; font-size: 14px; font-weight: 300; line-height: 14px; margin: 0 0 10px 2px; }
.cform .field { margin-bottom: 20px; }
.cform input, .cform textarea {
  display: block; width: 100%; height: 37px; border: 1px solid var(--dark); border-radius: 0;
  padding: 0 10px; font: 300 14px var(--futura); color: var(--dark); background: #fff;
}
.cform input:focus, .cform textarea:focus { outline: none; box-shadow: 0 0 0 1px var(--dark) inset; }
.cform ::placeholder { color: var(--dark); opacity: 1; }
.cform textarea { height: 86px; padding: 8px 10px; resize: vertical; }
.cform .submit {
  display: block; width: 100%; height: 36px; border: 0; cursor: pointer;
  background: var(--dark); color: #fff; font: 300 14px var(--futura);
}
.cform .submit { transition: background-color .4s, color .4s; }
.cform .submit:hover { background: #fff; color: var(--dark); }
.map { height: 400px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-end { height: 1px; }

/* =========================================================
   Responsive – tablet/mobile (mirrors the Wix mobile layout)
   ========================================================= */
@media (max-width: 1000px) {
  br.bd { display: none; }
  :root { --footer-h: 0px; }
  body { padding-bottom: 0; }
  .container { width: auto; margin: 0 20px; }

  .site-header { height: 79px; }
  .site-header .logo { left: 18px; top: 13px; width: 55px; height: 53px; }
  .site-header .logo img { width: 55px; height: 53px; }
  .burger { left: auto; right: 22px; transform: none; top: 19px; width: 40px; }
  .burger span { left: 8px; right: 8px; }
  .burger span:nth-child(1) { top: 11px; }
  .burger span:nth-child(2) { top: 20px; }
  .burger span:nth-child(3) { display: block; top: 29px; }
  .learn-more { display: none; }

  .menu-panel { width: 100%; background: rgba(0,0,0,.94); }
  .menu-close { right: 26px; top: 26px; }
  .menu-panel .menu-brand { left: 24px; top: 24px; font-size: 20px; }
  .main-nav { left: 0; right: 0; top: 90px; }
  .main-nav > ul { flex-direction: column; align-items: center; }
  .main-nav a { font-size: 22px; line-height: 34px; padding: 8px 20px; text-align: center; }
  .main-nav > ul > li { position: relative; }
  .main-nav .sub { position: static; display: block; visibility: visible; opacity: 1; padding: 0; }
  .main-nav .sub::before { display: none; }
  .main-nav .sub a { width: auto; font-size: 16px; line-height: 28px; padding: 2px 20px; opacity: .8; }

  .site-footer { position: static; height: 93px; }
  .footer-brand { display: none; }
  .site-footer .container { margin: 0 12px; }
  .site-footer .social { left: 0; top: 29px; }
  .btn-contact { right: 0; top: 30px; width: 112px; height: 34px; line-height: 32px; }
  .to-top { display: block; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .to-top.show { opacity: 1; pointer-events: auto; }

  .ss-btn.prev, .ss-arrows-long .ss-btn.prev { left: 6px; }
  .ss-btn.next, .ss-arrows-long .ss-btn.next { right: 6px; }
  .ss-arrows-long .ss-btn { width: 60px; }
  .ss-btn { transform: scale(.7); }

  /* Home */
  .home-hero { height: auto; aspect-ratio: 390 / 318; }
  .team-show { height: auto; }
  .team-show .slides { position: relative; height: 220px; }
  .team-show .band { display: none; }
  .team-show .caption { position: relative; top: auto; background: var(--dark); padding: 0 20px 20px; margin-top: -76px; background: linear-gradient(transparent 0, transparent 76px, var(--dark) 76px); }
  .team-show .caption h1 { font-size: 60px; line-height: 76px; }
  .team-show .caption p { margin-top: 6px; }
  .btn-outline { width: 198px; margin-top: 12px; }

  .home-about, .home-join { height: auto; padding-bottom: 40px; }
  .section-title-xl { font-size: 46px; line-height: 56px; letter-spacing: -2px; }
  .stats { position: static; transform: none; width: auto; grid-template-columns: 1fr; row-gap: 40px; margin-top: 60px; }
  .stat .label { max-width: 260px; }
  .stat .num { font-size: 60px; line-height: 80px; }
  .stat .sub, .stat:nth-child(4) .sub { margin-top: 0; }
  .home-join .we { margin-top: 10px; }
  .home-join .we, .home-join .we-list { font-size: 16px; line-height: 17px; letter-spacing: -.5px; padding: 0 20px; }
  .quote-band { position: relative; top: auto; height: auto; margin-top: 52px; margin-bottom: -40px; padding: 18px 20px 28px; }
  .quote-band .container { margin: 0; }
  .quote-band .qmark { position: static; font-size: 40px; line-height: 30px; }
  .quote-band blockquote { position: static; width: auto; font-size: 24px; line-height: 26px; letter-spacing: -1px; }
  .btn-pill { position: relative; left: auto; top: auto; display: block; margin: 14px auto 0; width: 180px; height: 38px; line-height: 38px; font-size: 20px; }
  .home-expertise { height: auto; background-attachment: scroll; padding-bottom: 0; }
  .home-expertise .section-title-xl { height: auto; padding: 40px 0; }
  .expertise-list { height: auto; padding: 20px 0 30px; }
  .expertise-list ul { width: auto; grid-template-columns: 1fr; font-size: 30px; line-height: 50px; }
  .expertise-list li:nth-last-child(-n+2) { margin-top: 0; }
  .banner-febe { height: auto; aspect-ratio: 1440 / 661; }
  .banner-team { height: auto; aspect-ratio: 1440 / 623; }
  .home-achieve .section-title-xl { height: auto; padding: 30px 0 20px; }
  .achieve-show { height: auto; aspect-ratio: 1440 / 800; }
  .achieve-show .slide .shade { top: 63.4%; }
  .achieve-show .slide h3 { left: 0; top: 66%; font-size: 36px; line-height: 50px; letter-spacing: -1px; }
  .achieve-show .slide .read-more { display: none; }
  .featured-show { height: auto; aspect-ratio: 1440 / 751; }
  .featured-show .slide h3 { top: 40.8%; font-size: 26px; line-height: 30px; letter-spacing: -1px; }
  .pilipala-links a { top: 73.1%; height: 25%; font-size: 4.2vw; line-height: normal; border-radius: 6px; }
  .pilipala-links .fb  { left: 25.4%; width: 19.3%; }
  .pilipala-links .ig  { left: 52.8%; width: 20.4%; }
  .pilipala-links .xhs { left: 78.7%; width: 19.3%; }
  .home-upcoming { height: auto; padding-bottom: 80px; }
  .home-upcoming .tagline { font-size: 26px; }
  .home-upcoming .no-events { margin-top: 70px; }

  /* Inner pages */
  .page-title { font-size: 40px; line-height: 56px; }
  .about-intro { height: auto; padding: 70px 0 40px; }
  .about-banner { height: auto; aspect-ratio: 390 / 200; }
  .profile { padding: 40px 0 30px; }
  .profile .copy { width: auto; margin: 24px 20px 0; font-size: 14px; line-height: 21px; }
  .profile .copy strong { font-size: 18px; line-height: 24px; }
  .profile .copy .gap { height: 30px; }
  .ach-block { width: auto; }
  .ach-title { font-size: 34px; line-height: 46px; }
  .ach-text { font-size: 16px; line-height: 25.5px; }
  .ach-row, .row-supremacy, .row-ses { flex-direction: column; align-items: center; margin-top: 40px; }
  .row-supremacy { flex-direction: column-reverse; }
  .ach-row .ach-copy, .row-mdrt .ach-copy, .row-supremacy .ach-copy, .row-ses .ach-copy { width: auto; margin: 0; }
  .ach-row img, .row-mdrt img, .row-supremacy img, .row-ses img { width: 240px; height: auto; margin: 16px 0 0; }

  .services-intro { padding: 30px 0 30px; }
  .services-intro .body-copy { width: auto; margin-top: 10px; font-size: 14px; line-height: 23.5px; }
  .services-grid { padding: 40px 0 20px; }
  .services-grid .cols { flex-direction: column; align-items: center; }
  .svc-col, .svc-col:last-child { width: 280px; }
  .svc-card img { width: 200px; height: 234px; margin: 0 auto; }
  .svc-card .box { margin: 10px 0 0; width: 280px; min-height: 230px; padding: 16px 10px; }

  .events-banner { height: auto; padding: 40px 20px; }
  .events-banner .box { position: relative; left: auto; margin: 0; top: auto; width: auto; height: auto; padding: 30px 20px; text-align: center; }
  .events-banner .box h1 { font-size: 36px; line-height: 50px; }
  .events-banner .box p { margin-top: 10px; }
  .events-upcoming { padding-top: 50px; }
  .events-upcoming .no-events { margin-top: 40px; }
  .events-featured { padding: 60px 0 40px; }
  .events-featured .poster { width: 100%; height: auto; aspect-ratio: 978 / 655; }

  .career-intro .body-copy { width: auto; margin-top: 24px; font-size: 14px; line-height: 25px; }
  .career-why { margin-top: 50px; }
  .career-why h2 { font-size: 28px; line-height: 36px; margin: 0; }
  .career-why ul { font-size: 16px; line-height: 24px; margin-top: 20px; }
  .join-now { margin: 40px 0 0; }
  .wform { width: auto; }
  .career-form-section { padding-bottom: 60px; }

  .feed { width: auto; max-width: 340px; grid-template-columns: 1fr; grid-auto-rows: auto; margin-top: 50px; }
  .feed-card img { width: 100%; height: auto; aspect-ratio: 1; }
  .feed-card time { margin-top: 0; }
  .gallery-title { font-size: 52px; line-height: 70px; margin-top: 60px; }
  .videos { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 60px; }
  .video { width: 100%; height: auto; aspect-ratio: 16 / 9; }

  .contact-intro { padding-top: 60px; }
  .contact-intro .lead { width: auto; margin: 20px 10px 0; font-size: 15px; line-height: 26px; }
  .contact-boxes { grid-template-columns: 1fr; margin-top: 40px; }
  .contact-boxes > div { height: auto; border-left: 0 !important; border-right: 0; }
  .contact-boxes > div + div { border-top: 0; }
  .info-grid { position: static; width: auto; grid-template-columns: 1fr; row-gap: 22px; padding: 36px 20px; text-align: center; }
  .info-item .ico { justify-content: center; margin-bottom: 4px; height: auto; }
  .info-item .social { justify-content: center; }
  .cform { position: static; width: auto; padding: 30px 20px 50px; }
  .cform .row2 { grid-template-columns: 1fr; gap: 0; }
  .cform .submit { width: 160px; height: 40px; }
}

@media (max-width: 480px) {
  .feed { max-width: 300px; }
}

/* ---------- 404 page ---------- */
.notfound { min-height: 62vh; padding: 110px 20px 120px; text-align: center; }
.notfound .nf-code {
  font-family: var(--oswald); font-weight: 500; color: var(--dark);
  font-size: 140px; line-height: 1; letter-spacing: -6px;
}
.notfound .nf-text { font-size: 18px; line-height: 32px; margin: 18px 0 34px; }
.notfound .nf-btn { width: 160px; }

/* Text for search engines / screen readers only (visually hidden) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
