/* ==========================================================
   WING THEME -- Main Stylesheet
   Clearwing | HubSpot Content Hub
   ========================================================== */

/* Google Fonts */
/* -- Design Tokens ------------------------------------------ */
:root {
  --nav-h:  67px;
  --red:    #b30838;
  --dk:     #0e0e0e;
  --black:  #080808;
  --white:  #ffffff;
  --off:    #f5f4f1;
  --cream:  #edecea;
  --tx:     #1a1a1a;
  --tx2:    #555555;
  --tx3:    #999999;
  --r:      16px;
}

/* -- Reset -------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--off);
  color: var(--tx);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  
}
::selection { background: var(--red); color: #fff; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* -- Custom Cursor ------------------------------------------ */

/* -- Utilities ---------------------------------------------- */
.w { max-width: 1260px; margin: 0 auto; padding: 0 2.5rem; }
.tag {
  font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); font-weight: 600;
}

/* -- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.8rem;
  font-family: 'Inter', sans-serif; font-size: .68rem;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .35s cubic-bezier(.25,1,.5,1);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0; transition: opacity .35s;
}
.btn svg {
  width: 11px; height: 11px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s;
}
.btn:hover svg { transform: translateX(3px); }

/* Primary — glassy red with subtle inner glow */
.btn-r {
  background: var(--red);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 1px 2px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-r:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179,8,56,.25), 0 2px 6px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.15);
  filter: brightness(1.08);
}
.btn-r:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(179,8,56,.2); }

/* Glass white — frosted glass on dark backgrounds */
.btn-w {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.06);
}
.btn-w:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.1);
}

/* Dark solid — for light backgrounds */
.btn-dk {
  background: var(--dk);
  color: #fff;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 1px 3px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
.btn-dk:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Ghost — outlined, for light backgrounds */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,.1);
  color: var(--tx);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.btn-ghost:hover {
  border-color: rgba(0,0,0,.2);
  background: rgba(0,0,0,.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* -- Section Background System ------------------------------ */
.section-wrap { position: relative; overflow: hidden; }
.section-bg { position: absolute; inset: 0; z-index: 0; }
.section-wrap .w { position: relative; z-index: 1; }
.section-bg img,
.section-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-overlay { position: absolute; inset: 0; z-index: 1; }
.section-content { position: relative; z-index: 1; }

/* Overlay Presets */
.ov-dark        { background: rgba(8,8,8,.75); }
.ov-darker      { background: rgba(8,8,8,.92); }
.ov-light       { background: rgba(245,244,241,.88); }
.ov-grad-dark   { background: linear-gradient(135deg, rgba(8,8,8,.92) 35%, rgba(8,8,8,.5)); }
.ov-grad-bottom { background: linear-gradient(180deg, rgba(8,8,8,.45) 0%, rgba(8,8,8,.05) 25%, rgba(8,8,8,.7) 65%, rgba(8,8,8,1) 100%); }
.ov-grad-left   { background: linear-gradient(90deg, rgba(8,8,8,.96) 38%, rgba(8,8,8,.35)); }
.ov-grad-red    { background: linear-gradient(135deg, rgba(179,8,56,.7) 0%, rgba(8,8,8,.85) 100%); }

/* -- Scroll Animations -------------------------------------- */
.a  { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.25,1,.5,1), transform .75s cubic-bezier(.25,1,.5,1); }
.al { opacity: 0; transform: translateX(-30px); transition: all .8s cubic-bezier(.25,1,.5,1); }
.ar { opacity: 0; transform: translateX(30px);  transition: all .8s cubic-bezier(.25,1,.5,1); }
.as { opacity: 0; transform: scale(.96); transition: opacity .8s ease, transform .8s ease; }
.a.visible, .al.visible, .ar.visible, .as.visible { opacity: 1; transform: none; }

/* -- Responsive Helpers ------------------------------------- */
@media (max-width: 768px) {
  .w { padding: 0 1.25rem; }
  .wing-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .wing-footer-inner {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  /* Keep nav same width scrolled vs unscrolled on mobile */
  html body nav.wing-nav.scrolled {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* ==========================================================
   MODULE STYLES -- auto-consolidated from module CSS files
   ========================================================== */

/* -- cta.module -- */
/* Wing -- CTA */
.wing-cta {
  min-height: 80vh;
  position: relative; overflow: hidden;
  display: block;
  background: var(--dk);
}
.wing-cta-in {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.wing-cta-in .tag { margin-bottom: 1.2rem; }

.wing-cta-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  font-weight: 900; color: #fff;
  letter-spacing: -.05em; line-height: .95;
  margin-bottom: 2rem;
}
.wing-cta-h em { font-style: italic; font-weight: 300; color: #fff; }

.wing-cta-line {
  width: 50px; height: 3px;
  background: var(--red); margin: 0 0 1.5rem;
  border-radius: 2px;
}
.wing-cta-p {
  font-size: .9rem; font-weight: 300;
  color: rgba(255,255,255,.32); line-height: 1.9;
  margin-bottom: 2.5rem; max-width: 480px;
}
.wing-cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.wing-cta-secondary {
  font-size: .7rem; color: rgba(255,255,255,.22);
  letter-spacing: .05em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; transition: color .3s;
}
.wing-cta-secondary:hover { color: #fff; }

@media (max-width: 768px) {
  .wing-cta-h { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .wing-cta-in { padding: 5rem 1.2rem; }
}

/* -- hero.module -- */
/* Wing -- Hero */
.wing-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}
.wing-hero-c {
  width: 100%;
  padding: 0 2.5rem 5rem;
  max-width: 1260px;
  margin: 0 auto;
}
.wing-hero-tag {
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.28); font-weight: 600;
  opacity: 0; animation: wing-fu .6s .25s forwards;
  margin-bottom: 2rem;
}
.wing-hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.2rem, 8.5vw, 9rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.05em; color: #fff;
  margin-bottom: 2.8rem;
  white-space: nowrap;
  /* No CSS max-width — JS targets 74% of container width precisely */
}
.wing-hero-h1 .ln {
  display: block;
  /* overflow:visible so text is never clipped — JS ensures it fits within 74% */
  overflow: visible;
  padding-bottom: .06em;
  white-space: nowrap;
}
.wing-hero-h1 .ln span {
  display: block;
  transform: translateY(105%);
  animation: wing-slideUp .9s cubic-bezier(.16,1,.3,1) forwards;
  line-height: 1.0;
  padding-bottom: .06em;
  white-space: nowrap;
}
.wing-hero-h1 em { font-style: italic; font-weight: 300; }
/* wing-h1-fitted: JS has calculated the fit size — nowrap maintained */

.wing-hero-meta {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 3rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid transparent; /* hidden by default */
  transition: border-color .3s;
}
/* show_divider_line toggle adds this class to the section */
.wing-hero--divider .wing-hero-meta {
  border-top-color: rgba(255,255,255,.08);
}
/* Full-width: desc takes the available space, btns sit right */
.wing-hero-desc { flex: 1; max-width: none; }
.wing-hero-divider {
  width: 50px; height: 2px; background: var(--red);
  margin-bottom: 1.5rem; border-radius: 1px;
  /* Controlled by show_divider_line toggle — hidden by default */
  display: none;
  opacity: 0; animation: wing-fu .6s 1s forwards;
}
/* When show_divider_line is true, the module adds .wing-hero--divider class */
.wing-hero--divider .wing-hero-divider { display: block; }
.wing-hero-p {
  font-size: .85rem; font-weight: 300;
  color: rgba(255,255,255,.36); line-height: 1.9;
  margin-bottom: 1.8rem;
  opacity: 0; animation: wing-fu .6s 1.1s forwards;
}
.wing-hero-btns {
  display: flex; gap: .5rem; flex-shrink: 0; align-self: flex-end;
  opacity: 0; animation: wing-fu .6s 1.3s forwards;
}
.wing-hero-scroll {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.18); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  opacity: 0; animation: wing-fu .6s 1.6s forwards;
}
.wing-scroll-line { width: 28px; height: 1px; background: rgba(255,255,255,.18); }

@keyframes wing-slideUp { to { transform: translateY(0); } }
@keyframes wing-fu      { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .wing-hero-c { padding: 0 1.2rem 4rem; }
  .wing-hero-h1 { font-size: clamp(2.4rem, 10vw, 4.5rem); line-height: 1.0; }
  .wing-hero-h1 .ln { padding-bottom: .12em; }
  .wing-hero-h1 .ln span { line-height: 1.0; padding-bottom: .06em; }
  .wing-hero-meta { flex-direction: column; align-items: flex-start; gap: 2rem; }
}

/* -- identity.module -- */
/* Wing -- Identity */
.wing-identity {
  padding: 8rem 0;
  background: var(--off);
  overflow: hidden;
  position: relative;
}
.wing-identity::before {
  content: 'CLEARWING';
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 22vw; font-weight: 900;
  letter-spacing: -.05em;
  color: rgba(0,0,0,.027);
  top: 50%; transform: translateY(-50%);
  left: -1vw; pointer-events: none;
  white-space: nowrap; line-height: 1;
}
.wing-identity .w {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.wing-id-tag { margin-bottom: 1.2rem; }
.wing-id-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -.04em; color: var(--dk);
}
.wing-id-headline em { font-style: italic; font-weight: 300; color: inherit; }
.wing-id-btn { margin-top: 2rem; }

.wing-id-right { display: flex; flex-direction: column; gap: 2rem; }
.wing-id-stat {
  display: grid; grid-template-columns: 160px 1fr; gap: 0 1.8rem;
  align-items: baseline;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,.07);
}
.wing-id-stat:last-child { border-bottom: none; padding-bottom: 0; }
.wing-id-stat-n {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--dk); letter-spacing: -.04em;
  line-height: 1; white-space: nowrap;
  text-align: right;
  grid-row: 1 / 3;
}
.wing-id-stat-n small { font-size: .4em; color: var(--red); font-weight: 400; vertical-align: super; }
.wing-id-stat-label { font-size: .72rem; font-weight: 600; color: var(--dk); line-height: 1.3; align-self: end; }
.wing-id-stat-desc { font-size: .75rem; color: var(--tx2); line-height: 1.65; font-weight: 300; align-self: start; }

@media (max-width: 1024px) {
  .wing-identity .w { grid-template-columns: 1fr; gap: 3rem; }
  .wing-identity::before { font-size: 35vw; }
}
@media (max-width: 768px) {
  .wing-id-stat {
    grid-template-columns: 1fr;
    gap: .3rem 0;
    text-align: left;
  }
  .wing-id-stat-n {
    grid-row: auto;
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: .2rem;
  }
}

/* -- manifesto.module -- */
/* Wing -- Manifesto */
.wing-manifesto { padding: 10rem 0; background: var(--dk); }
.wing-manifesto::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--red), transparent); z-index: 2;
}
.wing-manifesto-c { max-width: 1260px; margin: 0 auto; padding: 0 2.5rem; }
.wing-manifesto-c blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -.04em;
}
.wing-manifesto-c blockquote em { font-style: italic; font-weight: 300; color: #fff; }
.wing-manifesto-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07);
}
.wing-mf-label {
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.18); font-weight: 600;
}
.wing-mf-dot {
  width: 7px; height: 7px; background: var(--red); border-radius: 50%;
  display: inline-block; margin-right: .5rem;
}
@media (max-width: 768px) {
  .wing-manifesto { padding: 6rem 0; }
  .wing-manifesto-foot { flex-direction: column; gap: 1.5rem; }
}

/* -- navbar.module -- */
/* Wing Navbar */
.wing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 1.4rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .4s cubic-bezier(.16,1,.3,1), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Hover glass — when hovering but not scrolled */
.wing-nav.hovered:not(.scrolled) {
  background: rgba(8,8,8,.82);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(255,255,255,.05);
}
/* Scrolled — sticky glass, highest priority */
.wing-nav.scrolled {
  padding: .8rem 2.5rem;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: rgba(255,255,255,.06);
}

/* Logo */
.wing-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.wing-logo-img { height: 30px; width: auto; display: block; }
.wing-logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }

/* Desktop nav */
.wing-navr-wrap { display: flex; align-items: center; gap: .5rem; }
.wing-navr { display: flex; align-items: center; gap: .15rem; list-style: none; }
.wing-nav-item > a {
  color: rgba(255,255,255,.44); text-decoration: none;
  font-size: .7rem; font-weight: 500; letter-spacing: .03em;
  padding: .44rem .85rem; border-radius: 5px;
  transition: color .2s, background .2s;
}
.wing-nav-item > a:hover,
.wing-nav-item.active > a { color: #fff; background: rgba(255,255,255,.07); }

/* CTA button — outlined pill matching nav item weight */
.wing-nav-cta {
  background: transparent !important;
  color: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  padding: .42rem 1.1rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: 100px; text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
  margin-left: .5rem;
}
.wing-nav-cta:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.06) !important;
}

/* -- parallax-split.module -- */
/* Wing -- Parallax Split */
.wing-px { position: relative; padding: 10rem 0; overflow: hidden; background: var(--dk); }
.wing-px-bg img, .wing-px-bg video { opacity: .2; }
.wing-px-divider { display: none; }
.wing-px-c {
  max-width: 1280px; margin: 0 auto; padding: 0 2.5rem;
  display: block;
}
.wing-px-h2 { max-width: 860px; margin-bottom: 2.5rem; }
/* Body + button sit in a flex row below the headline */
.wing-px-right {
  display: flex; align-items: center;
  gap: 4rem;
}
/* Body text: grows to fill available space */
.wing-px-body { flex: 1; margin-bottom: 0; max-width: none; }
.wing-px-body--second { margin-top: .6rem; }
/* Button: fixed width, centred vertically, does NOT grow */
.wing-px-right .btn {
  flex-shrink: 0; align-self: center;
  margin-top: 0 !important;
}
/* When no button present, body fills full right-column width naturally */
@media (max-width: 768px) {
  .wing-px-c { padding-left: 1.25rem; padding-right: 1.25rem; }
  .wing-px-right { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .wing-px-right .btn { align-self: flex-start; }
}
.wing-px-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1.05;
}
.wing-px-h2 em { font-style: italic; font-weight: 300; color: #fff; }
.wing-px-body {
  font-size: .9rem; color: rgba(255,255,255,.36); line-height: 1.9; margin-bottom: 1.5rem;
}
.wing-px-body strong { color: rgba(255,255,255,.7); font-weight: 600; }

@media (max-width: 1024px) {
  .wing-px-c { grid-template-columns: 1fr; }
  .wing-px-divider { display: none; }
}
@media (max-width: 768px) { .wing-px { padding: 6rem 0; } }

/* -- partners.module -- */
/* Wing -- Partners */
.wing-partners {
  padding: 5rem 0;
  background: var(--off);
}
.wing-partners-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 900; letter-spacing: -.04em;
  color: var(--dk); line-height: 1.05;
  margin-top: .5rem; margin-bottom: .75rem;
}
.wing-partners-h em { font-style: italic; font-weight: 300; }
.wing-partners.dark-mode .wing-partners-h { color: #fff; }
.wing-partners-desc {
  font-size: .88rem; font-weight: 300;
  color: var(--tx2); line-height: 1.8;
  max-width: 580px; margin-bottom: 2rem;
}
.wing-partners.dark-mode .wing-partners-desc { color: rgba(255,255,255,.38); }
.wing-partners-cta {
  margin-top: 2.5rem;
}
.wing-partners-all {
  font-size: .62rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--tx3);
  text-decoration: none; font-weight: 600;
  white-space: nowrap; transition: color .3s;
}
.wing-partners-all:hover { color: var(--red); }
.wing-partners.dark-mode .wing-partners-all { color: rgba(255,255,255,.3); }
.wing-partners.dark-mode .wing-partners-all:hover { color: var(--red); }
.wing-partners-label {
  text-align: center; font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--tx3); margin-bottom: 2.5rem; font-weight: 600;
}
.wing-partners-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.wing-brand-item {
  position: relative;
  display: block;
  background: rgba(0,0,0,.03);
  text-decoration: none;
  transition: background .35s;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 100%;
}
.wing-brand-item:hover { background: rgba(0,0,0,.06); }
.wing-brand-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.wing-brand-logo {
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: none;
  opacity: .75;
  transition: opacity .35s, filter .35s;
}
.wing-brand-item:hover .wing-brand-logo {
  opacity: .4;
  filter: grayscale(1);
}
.wing-brand-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(0,0,0,.08);
  transition: color .35s;
}
.wing-brand-item:hover .wing-brand-text { color: rgba(0,0,0,.3); }

/* Partners — dark variant */
.wing-partners.dark-mode { background: var(--dk); }
.wing-partners.dark-mode .wing-partners-label { color: rgba(255,255,255,.3); }
.wing-partners.dark-mode .wing-brand-item { background: rgba(255,255,255,.03); }
.wing-partners.dark-mode .wing-brand-item:hover { background: rgba(255,255,255,.06); }
.wing-partners.dark-mode .wing-brand-logo { filter: none; opacity: .7; }
.wing-partners.dark-mode .wing-brand-item:hover .wing-brand-logo { opacity: .35; filter: grayscale(1); }
.wing-partners.dark-mode .wing-brand-text { color: rgba(255,255,255,.12); }
.wing-partners.dark-mode .wing-brand-item:hover .wing-brand-text { color: rgba(255,255,255,.4); }

@media (max-width: 1024px) {
  .wing-partners-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .wing-partners-row { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

/* -- featured-work.module -- */
/* Wing -- Featured Work (Grid) */
.wing-fw { padding: 6rem 0; background: var(--black); }
.wing-fw-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem;
}
.wing-fw-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #fff; line-height: 1.1; margin-top: .5rem;
}
.wing-fw-all {
  font-size: .62rem; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  text-decoration: none; font-weight: 600;
  white-space: nowrap; transition: color .3s;
}
.wing-fw-all:hover { color: var(--red); }

/* Grid */
.wing-fw-grid {
  display: grid; gap: 6px;
  grid-template-columns: repeat(3, 1fr);
}

/* Card */
.wing-fw-card {
  position: relative; display: block;
  overflow: hidden; border-radius: 10px;
  text-decoration: none; cursor: pointer;
}
.wing-fw-card-ratio {
  padding-bottom: 75%;
}

/* Media layer */
.wing-fw-card-media {
  position: absolute; inset: 0;
}
.wing-fw-card-media img,
.wing-fw-card-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.wing-fw-img-static {
  transition: transform .7s cubic-bezier(.25,1,.5,1), opacity .5s cubic-bezier(.25,1,.5,1);
}
.wing-fw-img-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none;
  transition: opacity .5s cubic-bezier(.25,1,.5,1);
}
.wing-fw-card:hover .wing-fw-img-static {
  transform: scale(1.03);
}
@media (hover: hover) and (pointer: fine) {
  .wing-fw--has-hover:hover .wing-fw-img-static { opacity: 0; }
  .wing-fw--has-hover:hover .wing-fw-img-hover  { opacity: 1; }
}

/* Dark overlay — opacity set via module style tag */
.wing-fw-card-ov {
  position: absolute; inset: 0; z-index: 2;
  background: #080808;
}
.wing-fw-card-ov-hover {
  position: absolute; inset: 0; z-index: 2;
  background: #080808;
  opacity: 0; transition: opacity .4s;
}
.wing-fw-card:hover .wing-fw-card-ov-hover { opacity: 0.55; }

/* Content layer — logo, title, description */
.wing-fw-card-c {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.4rem; z-index: 3;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 0;
}
.wing-fw-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem; font-weight: 700;
  color: #fff; line-height: 1.25;
  letter-spacing: -.01em;
}

/* Description — hidden by default, slides up on hover */
.wing-fw-desc {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; font-weight: 400;
  color: rgba(255,255,255,.55); line-height: 1.6;
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0;
  transition: max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-fw-card:hover .wing-fw-desc {
  max-height: 80px; opacity: 1; margin-top: .4rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .wing-fw-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile — 2 across, logos only, no description or title */
@media (max-width: 768px) {
  .wing-fw { padding: 4rem 0; }
  .wing-fw .w { padding: 0 1.2rem; }
  .wing-fw-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 4px; }
  .wing-fw-card-ratio { padding-bottom: 100%; }
  .wing-fw-desc { display: none; }
  .wing-fw-card-title { display: none; }
  .wing-fw-card-c { padding: .8rem 1rem; }
}

/* -- portfolio-scroll.module -- */
/* Wing -- Portfolio Scroll */
.wing-port { padding: 6rem 0; background: var(--dk); overflow: hidden; }

.wing-port-head {
  margin-bottom: 2.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.wing-port-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.03em; margin-top: .5rem;
}
.wing-port-all {
  font-size: .62rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.22); text-decoration: none;
  font-weight: 500; transition: color .3s; white-space: nowrap;
}
.wing-port-all:hover { color: var(--red); }

/* Horizontal scroll strip */
.wing-pscr {
  display: flex; gap: 1rem;
  padding: 0 2.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative; z-index: 1;
}
.wing-pscr::-webkit-scrollbar { display: none; }

.wing-pcard {
  flex: 0 0 320px; scroll-snap-align: start;
   text-decoration: none;
}
.wing-pcard-w { overflow: hidden; border-radius: var(--r); }
.wing-pcard-w img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .7s cubic-bezier(.25,1,.5,1), filter .5s;
  filter: grayscale(20%);
}
.wing-pcard:hover img { transform: scale(1.04); filter: grayscale(0%); }

.wing-pcard-i { padding: .8rem .1rem; }
.wing-pcard-i .tag { font-size: .52rem; margin-bottom: .15rem; }
.wing-pcard-i h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem; font-weight: 600; color: #fff;
}

@media (max-width: 768px) {
  .wing-pscr { padding: 0 1.2rem; }
  .wing-pcard { flex: 0 0 80vw; cursor: pointer; }
}

/* -- process.module -- */
/* Wing -- Process */
.wing-process { padding: 7rem 0; background: var(--off); }

.wing-proc-head { margin-bottom: 3.5rem; }
.wing-proc-head .tag { margin-bottom: .6rem; }
.wing-proc-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700; letter-spacing: -.025em;
  color: var(--dk); line-height: 1.15;
  margin-top: .5rem;
}

.wing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wing-step {
  padding: 2rem 1.5rem;
  border-radius: var(--r);
  background: var(--white);
  transition: .4s; position: relative; overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}
.wing-step:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.wing-step::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--red);
  border-radius: var(--r) var(--r) 0 0;
  transition: width .5s;
}
.wing-step:hover::before { width: 100%; }

.wing-step-n {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem; font-weight: 900;
  color: rgba(0,0,0,.05); line-height: 1; margin-bottom: .7rem;
}
.wing-step h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem; font-weight: 600;
  color: var(--dk); margin-bottom: .45rem;
}
.wing-step-desc { font-size: .76rem; color: var(--tx2); line-height: 1.7; }
.wing-step-desc strong { font-weight: 600; color: var(--tx); }

@media (max-width: 1024px) { .wing-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .wing-steps { grid-template-columns: 1fr; } }

/* -- services.module -- */
/* Wing -- Services */
.wing-svc-section { padding: 6rem 0; }

.wing-svc-panel {
  background: transparent;
  border-radius: var(--r);
  padding: 4rem;
  overflow: hidden;
}
.wing-svc-panel::before {
  content: '';
  position: absolute; top: 0; left: 4rem;
  width: 60px; height: 4px;
  background: var(--red);
  border-radius: 0 0 2px 2px;
  z-index: 2;
}
.wing-svc-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 1rem; max-width: 700px;
  margin-top: .6rem;
}
.wing-svc-sub {
  font-size: .88rem; color: rgba(255,255,255,.32);
  line-height: 1.8; max-width: 520px; margin-bottom: 3rem;
}
.wing-svc-sub strong { color: rgba(255,255,255,.6); font-weight: 600; }

/* Card grid */
.wing-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* Image-bg cards */
.wing-sc {
  position: relative; overflow: hidden;
  border-radius: 12px; height: 320px; 
  transition: transform .45s cubic-bezier(.25,1,.5,1), box-shadow .45s;
}
.wing-sc:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.45); }

.wing-sc-bg { position: absolute; inset: 0; z-index: 0; }
.wing-sc-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.25,1,.5,1);
}
.wing-sc:hover .wing-sc-bg img { transform: scale(1.08); }

.wing-sc-ov { position: absolute; inset: 0; z-index: 1; background: #080808; }

/* Red top line on hover */
.wing-sc::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width .5s; z-index: 3;
}
.wing-sc:hover::after { width: 100%; }

.wing-sc-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.2rem 1.4rem; z-index: 3;
}
.wing-sc-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem; font-weight: 700; color: #fff;
  letter-spacing: -.01em; line-height: 1.25;
}
.wing-sc-content p {
  font-family: 'Inter', sans-serif;
  font-size: .72rem; color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0;
  transition: max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-sc:hover .wing-sc-content p {
  max-height: 100px; opacity: 1; margin-top: .4rem;
}
.wing-sc-link {
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap .3s, max-height .5s, opacity .4s, margin-top .5s;
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0;
}
.wing-sc:hover .wing-sc-link {
  max-height: 30px; opacity: 1; margin-top: .6rem;
}
.wing-sc-link:hover { gap: .55rem; }

/* Service card hover overlay — same pattern as FW */
.wing-sc-ov-hover {
  position: absolute; inset: 0; z-index: 1;
  background: #080808;
  opacity: 0; transition: opacity .4s;
}
.wing-sc:hover .wing-sc-ov-hover { opacity: 0.7; }

@media (max-width: 1024px) {
  .wing-svc-grid { grid-template-columns: 1fr 1fr; }
  .wing-sc { height: 280px; }
}
@media (max-width: 768px) {
  .wing-svc-panel { padding: 2.5rem 1.5rem; border-radius: 0; }
  .wing-svc-grid { grid-template-columns: 1fr; }
  .wing-sc { height: 260px; cursor: pointer; }
}

/* -- testimonial.module -- */
/* Wing -- Testimonial */
.wing-testi { padding: 8rem 0; background: var(--white); }

.wing-testi-watermark {
  position: absolute; font-family: 'Poppins', sans-serif;
  font-size: 18vw; font-weight: 900; letter-spacing: -.05em;
  color: rgba(0,0,0,.03); bottom: -2vw; right: -1vw;
  pointer-events: none; line-height: 1; z-index: 0; user-select: none;
}

.wing-testi-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: center;
}

.wing-testi-img {
  border-radius: var(--r); overflow: hidden; height: 440px;
}
.wing-testi-img img { width: 100%; height: 100%; object-fit: cover; }

.wing-testi-content .tag { margin-bottom: 1.2rem; }

.wing-testi-content blockquote {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600; line-height: 1.5;
  color: var(--dk); letter-spacing: -.025em;
  margin-bottom: 2rem; padding-left: 1.8rem; position: relative;
}
.wing-testi-content blockquote::before {
  content: ''; position: absolute;
  left: 0; top: .2em; bottom: .2em;
  width: 3px; background: var(--red); border-radius: 2px;
}

.wing-testi-auth { font-size: .78rem; font-weight: 700; color: var(--dk); margin-bottom: .15rem; }
.wing-testi-role { font-size: .65rem; color: var(--tx3); }

@media (max-width: 1024px) {
  .wing-testi-inner { grid-template-columns: 1fr; }
  .wing-testi-img { height: 300px; }
}
@media (max-width: 768px) { .wing-testi { padding: 5rem 0; } }

/* -- work.module -- */
/* Wing -- Work */
.wing-work { padding: 6rem 0; background: var(--white); }

.wing-work-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.wing-work-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.04em;
  color: var(--dk); line-height: 1;
}
.wing-work-all {
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx3); text-decoration: none; font-weight: 600; transition: color .3s;
  white-space: nowrap;
}
.wing-work-all:hover { color: var(--red); }

/* Entry rows */
.wing-work-entry {
  display: grid;
  grid-template-columns: 4rem 1.4fr 1fr 14rem;
  gap: 2rem; align-items: center;
  padding: 2rem 0; border-bottom: 1px solid rgba(0,0,0,.06);
   position: relative; overflow: hidden;
  text-decoration: none; transition: .3s;
}
.wing-work-entry::before {
  content: ''; position: absolute; inset: 0 -2rem;
  background: var(--off); z-index: 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.wing-work-entry:hover::before { transform: scaleX(1); }
.wing-work-entry > * { position: relative; z-index: 1; }

.we-num {
  font-family: 'Poppins', sans-serif; font-size: .7rem;
  font-weight: 700; color: rgba(0,0,0,.16); letter-spacing: .05em;
}
.we-tag {
  font-size: .55rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: .3rem;
}
.we-title {
  font-family: 'Poppins', sans-serif; font-size: 1.1rem;
  font-weight: 700; color: var(--dk); letter-spacing: -.02em; line-height: 1.2;
}
.we-sub { font-size: .75rem; color: var(--tx2); margin-top: .25rem; font-weight: 300; }
.we-meta { font-size: .7rem; color: var(--tx3); line-height: 1.75; }
.we-img { width: 14rem; height: 9rem; border-radius: 10px; overflow: hidden; }
.we-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.25,1,.5,1), filter .5s;
  filter: grayscale(25%);
}
.wing-work-entry:hover .we-img img { transform: scale(1.06); filter: grayscale(0%); }
.we-arrow {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  opacity: 0; transition: .3s; font-size: .65rem;
  font-weight: 700; color: var(--red); letter-spacing: .05em;
}
.wing-work-entry:hover .we-arrow { opacity: 1; right: .5rem; }

@media (max-width: 1024px) {
  .wing-work-entry { grid-template-columns: 3rem 1fr 10rem; gap: 1.2rem; }
  .we-meta { display: none; }
}
@media (max-width: 768px) {
  .wing-work-entry { grid-template-columns: 2.5rem 1fr; gap: 1rem; cursor: pointer; }
  .we-img, .we-meta { display: none; }
  .wing-work-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =========================================================
   TOP BAR
   ========================================================= */
.wing-topbar {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 998;
}
.wing-topbar-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.wing-topbar-menu { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.wing-topbar-item > a {
  color: rgba(255,255,255,.3); text-decoration: none;
  font-size: .62rem; font-weight: 500; letter-spacing: .04em;
  padding: 0 .75rem; line-height: 36px; display: block;
  transition: color .2s;
}
.wing-topbar-item > a:hover { color: rgba(255,255,255,.8); }
.wing-topbar-text {
  font-size: .62rem; letter-spacing: .05em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.4);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.wing-topbar-social { display: flex; align-items: center; gap: .5rem; }
.wing-topbar-soc-link {
  color: rgba(255,255,255,.3); transition: color .25s;
  display: flex; align-items: center; line-height: 1;
}
.wing-topbar-soc-link:hover { color: #fff; }

/* =========================================================
   NAV LINK FIXES
   ========================================================= */
/* Ensure HubSpot menu output inherits our styles */
.wing-navr { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.wing-navr .wing-nav-item { list-style: none; }
.wing-navr .wing-nav-item > a,
.wing-navr .hs-menu-item > a {
  color: rgba(255,255,255,.44) !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .9rem !important;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: .44rem .85rem !important;
  border-radius: 5px !important;
  transition: color .2s, background .2s !important;
  display: block;
}
.wing-navr .wing-nav-item > a:hover,
.wing-navr .hs-menu-item > a:hover,
.wing-navr .wing-nav-item.active > a,
.wing-navr .hs-menu-item.active-branch > a {
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
}

/* =========================================================
   IDENTITY -- fix watermark overflow
   ========================================================= */
.wing-identity { overflow: hidden; }
.wing-identity::before {
  content: 'CLEARWING';
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 900;
  letter-spacing: -.05em;
  color: rgba(0,0,0,.03);
  top: 50%; transform: translateY(-50%);
  left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

/* =========================================================
   BLOG LISTING
   ========================================================= */
.wing-blog { padding: 7rem 0; }
.wing-blog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.wing-blog-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em;
  color: var(--dk); line-height: 1; margin-top: .4rem;
}
.wing-blog-sub { font-size: .82rem; color: var(--tx2); margin-top: .6rem; font-weight: 300; }
.wing-blog-all {
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx3); text-decoration: none; font-weight: 600;
  transition: color .3s; white-space: nowrap;
}
.wing-blog-all:hover { color: var(--red); }
.wing-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.wing-blog-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .35s cubic-bezier(.25,1,.5,1), box-shadow .35s;
}
.wing-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.wing-blog-img-wrap {
  display: block; overflow: hidden; aspect-ratio: 16/9;
}
.wing-blog-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.25,1,.5,1);
}
.wing-blog-card:hover .wing-blog-img-wrap img { transform: scale(1.04); }
.wing-blog-img--placeholder {
  background: var(--cream); aspect-ratio: 16/9;
}
.wing-blog-body { padding: 1.5rem; }
.wing-blog-topics { display: flex; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap; }
.wing-blog-title {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem; font-weight: 700;
  color: var(--dk); letter-spacing: -.02em;
  line-height: 1.3; margin-bottom: .6rem;
}
.wing-blog-title a { color: inherit; text-decoration: none; transition: color .2s; }
.wing-blog-title a:hover { color: var(--red); }
.wing-blog-excerpt { font-size: .75rem; color: var(--tx2); line-height: 1.7; margin-bottom: .8rem; }
.wing-blog-meta {
  display: flex; gap: .8rem; align-items: center;
  font-size: .65rem; color: var(--tx3); font-weight: 500;
}

/* Footer social */
.wf-social { display: flex; gap: .6rem; margin-top: 1rem; align-items: center; }
.wf-soc-link { color: rgba(255,255,255,.2); transition: color .3s; display: flex; align-items: center; }
.wf-soc-link:hover { color: var(--red); }

@media (max-width: 1024px) {
  .wing-blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wing-blog-grid { grid-template-columns: 1fr; }
  .wing-blog-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .wing-topbar-inner { padding: 0 1.2rem; }
  .wing-topbar-text { display: none; }
}

/* ═══════════════════════════════════════════════════
   BLOG LISTING PAGE — .wing-bl-*
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.wing-bl-hero {
  background: var(--black);
  padding: 10rem 0 4rem;
}
.wing-bl-hero-h {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: .5rem 0 0;
}
.wing-bl-hero-desc {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 1rem;
}

/* ── Tag Filters ── */
.wing-bl-filters {
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  position: sticky;
  top: 60px;
  z-index: 90;
}
.wing-bl-filter-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.wing-bl-filter {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.wing-bl-filter:hover {
  border-color: var(--red);
  color: #fff;
}
.wing-bl-filter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Grid Section ── */
.wing-bl-grid-section {
  background: #fff;
  padding: 3rem 0 6rem;
}

/* ── Featured Post (first card, large) ── */
.wing-bl-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--dk);
  margin-bottom: 2.5rem;
  transition: background .35s;
}
.wing-bl-feat:hover { background: #1a1a1a; }
.wing-bl-feat-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.wing-bl-feat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.25,1,.5,1);
}
.wing-bl-feat:hover .wing-bl-feat-img img { transform: scale(1.04); }
.wing-bl-feat-ov {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(8,8,8,.6) 100%);
}
.wing-bl-feat-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wing-bl-feat-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: .6rem 0 1rem;
}
.wing-bl-feat-desc {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ── Shared: date, meta ── */
.wing-bl-date {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .56rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: .4rem;
}
.wing-bl-meta {
  display: flex;
  gap: .75rem;
  font-size: .62rem;
  font-weight: 500;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Card Grid ── */
.wing-bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.wing-bl-card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--dk);
  transition: background .35s, transform .35s;
  display: flex;
  flex-direction: column;
}
.wing-bl-card:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
}
.wing-bl-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.wing-bl-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,1,.5,1);
}
.wing-bl-card:hover .wing-bl-card-img img { transform: scale(1.04); }
.wing-bl-card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,8,.3) 100%);
}
.wing-bl-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wing-bl-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: .5rem 0 .6rem;
}
.wing-bl-card-excerpt {
  font-size: .72rem;
  font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-bottom: .8rem;
  flex: 1;
}

/* ── Pagination ── */
.wing-bl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}
.wing-bl-page-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx2);
  text-decoration: none;
  transition: color .25s;
}
.wing-bl-page-link svg { width: 14px; height: 14px; }
.wing-bl-page-link:hover { color: var(--tx); }
.wing-bl-page-num {
  font-size: .6rem;
  font-weight: 500;
  color: var(--tx3);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ── Empty state ── */
.wing-bl-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--tx3);
  font-size: .88rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wing-bl-feat { grid-template-columns: 1fr; }
  .wing-bl-feat-img { aspect-ratio: 16/9; }
  .wing-bl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wing-bl-hero { padding: 8rem 0 3rem; }
  .wing-bl-grid { grid-template-columns: 1fr; gap: 1rem; }
  .wing-bl-filter-row { gap: .35rem; }
  .wing-bl-feat-body { padding: 1.5rem; }
}


/* ═══════════════════════════════════════════════════
   BLOG POST PAGE — .wing-bp-*
   ═══════════════════════════════════════════════════ */

/* ── Hero Image ── */
.wing-bp-hero {
  position: relative;
  height: 55vh;
  min-height: 360px;
  max-height: 600px;
  overflow: hidden;
  background: var(--black);
}
.wing-bp-hero-img {
  position: absolute; inset: 0;
}
.wing-bp-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wing-bp-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.15) 0%, rgba(8,8,8,.5) 100%);
}

/* ── Article ── */
.wing-bp-article {
  background: var(--off);
  padding: 4rem 0 3rem;
}

/* ── Back link ── */
.wing-bp-back {
  max-width: 780px;
  margin: 0 auto 2rem;
}
.wing-bp-back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tx3);
  text-decoration: none;
  transition: color .25s;
}
.wing-bp-back-link svg { width: 14px; height: 14px; }
.wing-bp-back-link:hover { color: var(--red); }

.wing-bp-header {
  max-width: 780px;
  margin: 0 auto 3rem;
}
.wing-bp-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--tx);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
.wing-bp-byline {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.wing-bp-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.wing-bp-author {
  font-size: .78rem;
  font-weight: 600;
  color: var(--tx);
  display: block;
}
.wing-bp-date {
  font-size: .68rem;
  font-weight: 400;
  color: var(--tx3);
  display: block;
  margin-top: .1rem;
}

/* ── Post Body ── */
.wing-bp-body {
  max-width: 780px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 350;
  color: var(--tx);
  line-height: 1.85;
}
.wing-bp-body p {
  margin: 0 0 1.5rem;
}
.wing-bp-body h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -.03em;
  color: var(--tx);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.wing-bp-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--tx);
  margin: 2rem 0 .75rem;
  line-height: 1.25;
}
.wing-bp-body img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin: 2rem 0;
}
.wing-bp-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.wing-bp-body a:hover { opacity: .7; }
.wing-bp-body blockquote {
  border-left: 3px solid var(--red);
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  font-style: italic;
  color: var(--tx2);
  font-size: 1.05rem;
  line-height: 1.7;
}
.wing-bp-body ul, .wing-bp-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.wing-bp-body li {
  margin-bottom: .5rem;
  line-height: 1.7;
}
.wing-bp-body hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,.08);
  margin: 2.5rem 0;
}

/* ── HubSpot embedded video ── */
.wing-bp-body .hs-responsive-embed {
  position: relative;
  padding-bottom: 56.25%;
  margin: 2rem 0;
  border-radius: var(--r);
  overflow: hidden;
}
.wing-bp-body .hs-responsive-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Footer Tags ── */
.wing-bp-footer {
  max-width: 780px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,.07);
}
.wing-bp-tag-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.wing-bp-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,.1);
  color: var(--tx2);
  text-decoration: none;
  transition: all .25s;
}
.wing-bp-tag:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ── Author Bio Card ── */
.wing-bp-author-card {
  max-width: 780px;
  margin: 2.5rem auto 0;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--r);
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.wing-bp-author-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.wing-bp-author-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--tx);
  margin: 0 0 .25rem;
}
.wing-bp-author-bio {
  font-size: .75rem;
  font-weight: 300;
  color: var(--tx2);
  line-height: 1.65;
  margin: 0;
}

/* ── Related Posts ── */
.wing-bp-related {
  background: var(--black);
  padding: 5rem 0;
}
.wing-bp-related-h {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 2rem;
}
.wing-bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wing-bp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wing-bp-hero { height: 40vh; min-height: 280px; }
  .wing-bp-article { padding: 3rem 0 2rem; }
  .wing-bp-related-grid { grid-template-columns: 1fr; }
  .wing-bp-author-card { flex-direction: column; text-align: center; }
}

/* -- Video Background Wrapper ------------------------------- */
.wing-video-bg-wrap {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.wing-video-bg-wrap iframe,
.wing-video-bg-wrap video,
.wing-video-bg-wrap .hs-video-wrapper,
.wing-video-bg-wrap .hs_cos_wrapper {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; pointer-events: none;
}

/* -- Testimonial watermark image variant -------------------- */
.wing-testi-watermark--img {
  display: flex; align-items: center; justify-content: center;
}
.wing-testi-watermark--img img {
  width: auto; height: auto;
  max-width: 70%; max-height: 70%;
  opacity: .07; filter: grayscale(1);
  object-fit: contain;
}

/* -- Services -- mobile full width --------------------------- */
@media (max-width: 767px) {
  .wing-svc-section { padding: 0 !important; }
  .wing-svc-section.pt-xs, .wing-svc-section.pt-sm, .wing-svc-section.pt-md,
  .wing-svc-section.pt-lg, .wing-svc-section.pt-xl, .wing-svc-section.pt-xxl { padding-top: 0 !important; }
  .wing-svc-section.pb-xs, .wing-svc-section.pb-sm, .wing-svc-section.pb-md,
  .wing-svc-section.pb-lg, .wing-svc-section.pb-xl, .wing-svc-section.pb-xxl { padding-bottom: 0 !important; }
  .wing-svc-section .w { padding: 0; }
  .wing-svc-panel { border-radius: 0 !important; margin: 0 !important; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .wing-svc-grid {
    grid-template-columns: 1fr !important;
  }
  .wing-sc { min-height: 260px; }
}

/* -- Module Padding Scale ----------------------------------- */
.pt-none  { padding-top: 0 !important; }
.pt-xs    { padding-top: 2rem !important; }
.pt-sm    { padding-top: 3.5rem !important; }
.pt-md    { padding-top: 5rem !important; }
.pt-lg    { padding-top: 7rem !important; }
.pt-xl    { padding-top: 10rem !important; }
.pt-xxl   { padding-top: 14rem !important; }

.pb-none  { padding-bottom: 0 !important; }
.pb-xs    { padding-bottom: 2rem !important; }
.pb-sm    { padding-bottom: 3.5rem !important; }
.pb-md    { padding-bottom: 5rem !important; }
.pb-lg    { padding-bottom: 7rem !important; }
.pb-xl    { padding-bottom: 10rem !important; }
.pb-xxl   { padding-bottom: 14rem !important; }

@media (max-width: 767px) {
  .pt-lg  { padding-top: 4rem !important; }
  .pt-xl  { padding-top: 6rem !important; }
  .pt-xxl { padding-top: 8rem !important; }
  .pb-lg  { padding-bottom: 4rem !important; }
  .pb-xl  { padding-bottom: 6rem !important; }
  .pb-xxl { padding-bottom: 8rem !important; }
}

/* -- Navigation -- desktop ------------------------------------*/

.wing-navr-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 100%;
}

.wing-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.wing-nav-item {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.wing-nav-link {
  display: flex;
  align-items: center;
  padding: 0 .85rem;
  height: 100%;
  color: rgba(255,255,255,.48);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  transition: color .18s ease;
  cursor: pointer;
}

.wing-nav-link:hover,
.wing-nav-link.active {
  color: rgba(255,255,255,.95) !important;
  background: none !important;
  border-radius: 0 !important;
}

/* Full-width child panel -- drops below full nav bar, right-aligned content */
.wing-has-children {
  position: static;
}

.wing-nav-panel {
  display: none;
  position: fixed;
  top: var(--nav-h, 67px);
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 998;
  padding: 1.2rem 2.5rem;
}

.wing-has-children:hover .wing-nav-panel,
.wing-has-children:focus-within .wing-nav-panel {
  display: block;
}

.wing-nav-panel-list {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wing-nav-panel-item {
  list-style: none;
}

.wing-nav-panel-link {
  display: block;
  padding: .3rem 0 .3rem 2rem;
  color: rgba(255,255,255,.42);
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .14s ease;
  white-space: nowrap;
}

.wing-nav-panel-link:hover,
.wing-nav-panel-link.active {
  color: rgba(255,255,255,.95);
}

/* -- Hero scroll indicator -----------------------------------*/

.wing-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.55);
  font-family: var(--ff-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: default;
  transition: opacity .4s ease;
  z-index: 2;
}

.wing-scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.wing-scroll-arrow {
  width: 22px;
  height: 22px;
  color: #fff;
  animation: wing-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes wing-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%       { transform: translateY(5px); opacity: 1; }
}

/* -- Brighter text on dark module sections -------------------*/

.wing-manifesto-c p,
.wing-px-body p, .wing-px-body li,
.wing-hero-p,
.wing-step-desc,
.wing-work .we-sub,
.wing-cta-p {
  color: rgba(255,255,255,.72);
}

.wing-proc-h2 {
  color: var(--tx);
}

.wing-step-desc p, .wing-step-desc {
  color: rgba(30,30,30,.65);
}

.wing-id-stat-desc,
.wing-id-stat-label {
  color: rgba(30,30,30,.75);
}

/* -- Footer legal bar ----------------------------------------*/

.wf-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.wf-legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  margin-left: 0;
}

.wf-legal-link {
  color: rgba(255,255,255,.3);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease;
}

.wf-legal-link:hover { color: rgba(255,255,255,.7); }

/* Full-width child panel */
.wing-has-children { position: static; }

.wing-nav-panel {
  display: none;
  position: fixed;
  top: var(--nav-h, 64px);
  left: 0;
  right: 0;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 998;
  padding: 1rem 2.5rem;
}

.wing-has-children:hover .wing-nav-panel,
.wing-has-children:focus-within .wing-nav-panel {
  display: block;
}

.wing-nav-panel-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wing-nav-panel-link {
  display: block;
  padding: .3rem 0 .3rem 2rem;
  color: rgba(255,255,255,.42) !important;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .14s ease;
}

.wing-nav-panel-link:hover,
.wing-nav-panel-link.active {
  color: rgba(255,255,255,.95) !important;
}

/* Fix nav padding so --nav-h matches actual height */
.wing-nav {
  padding: 0 2.5rem !important;
  height: 64px !important;
}
.wing-nav.scrolled {
  padding: 0 2.5rem !important;
  height: 64px !important;
}
:root { --nav-h: 64px; }

/* Fix mobile nav -- override opacity/visibility with transform */
.wing-mn {
  opacity: 1 !important;
  visibility: hidden;
  transform: translateX(100%) !important;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), visibility 0s .32s !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  pointer-events: none;
}

.wing-mn.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  transition: transform .32s cubic-bezier(.25,.46,.45,.94), visibility 0s 0s !important;
  pointer-events: auto;
}

/* Override stale hover backgrounds on nav items */
.wing-nav-item > a:hover,
.wing-nav-item > a,
.wing-navr .wing-nav-item > a,
.wing-navr .hs-menu-item > a {
  background: none !important;
  border-radius: 0 !important;
}

/* Fix nav panel top to match new nav height */
.wing-nav-panel {
  top: 64px !important;
}

/* -- Navigation -- burger -----------------------------------*/

.wing-bur {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.wing-bur span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.8);
  transition: transform .28s ease, opacity .28s ease;
  transform-origin: center;
}

/* -- Navigation -- desktop ----------------------------------*/

.wing-nav {
  height: 64px !important;
  padding: 0 2.5rem !important;
}

.wing-nav.scrolled {
  height: 64px !important;
  padding: 0 2.5rem !important;
}
.wing-nav.hovered:not(.scrolled) {
  background: rgba(8,8,8,.82) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border-bottom-color: rgba(255,255,255,.05) !important;
}

:root { --nav-h: 64px; }

.wing-navr-wrap {
  display: flex;
  align-items: center;
  gap: .25rem;
  height: 100%;
}

.wing-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.wing-nav-item {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.wing-nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 .85rem;
  color: rgba(255,255,255,.5) !important;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  background: none !important;
  border-radius: 0 !important;
  transition: color .18s ease;
}

.wing-nav-link:hover,
.wing-nav-link.active {
  color: rgba(255,255,255,.95) !important;
  background: none !important;
  border-radius: 0 !important;
}

/* Override stale module CSS hover backgrounds */
.wing-nav-item > a,
.wing-nav-item > a:hover {
  background: none !important;
  border-radius: 0 !important;
}

/* Child panel -- matches parent nav frosted glass */
.wing-has-children { position: static; }

.wing-nav-panel {
  display: none;
  position: fixed;
  top: var(--nav-h, 64px);
  left: 0;
  right: 0;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 998;
  padding: 1rem 2.5rem;
}

.wing-has-children:hover .wing-nav-panel,
.wing-has-children:focus-within .wing-nav-panel {
  display: block;
}

.wing-nav-panel-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wing-nav-panel-link {
  display: block;
  padding: .3rem 0 .3rem 2rem;
  color: rgba(255,255,255,.42) !important;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .14s ease;
}

.wing-nav-panel-link:hover,
.wing-nav-panel-link.active {
  color: rgba(255,255,255,.95) !important;
}

/* Children -- always visible, indented */
.wing-mn-children {
  list-style: none;
  margin: 0;
  padding: 0 0 .75rem .5rem;
}



.wing-mn-child-link:hover,
.wing-mn-child-link.active { color: rgba(255,255,255,.85); }

.wing-mn-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: .85rem 2rem;
  background: var(--red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity .18s ease;
  align-self: flex-start;
}

.wing-mn-cta:hover { opacity: .88; }


/* -- Mobile nav (xAI style) ---------------------------------*/

.wing-mn {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #080808;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Override stale sheet 1 opacity/visibility approach */
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1) !important;
  pointer-events: none;
}

.wing-mn.open {
  transform: translateX(0) !important;
  pointer-events: auto;
}

/* Header row */
.wing-mn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  min-height: 64px;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Logo: same rendered size as header */
.wing-mn-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.wing-mn-logo-img {
  height: 17px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block !important;
}

/* Close button */
.wing-mn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
}

.wing-mn-close:hover { border-color: rgba(255,255,255,.45); color: #fff; }

/* Nav body -- generous top gap */
.wing-mn-nav {
  flex: 1;
  padding: 32px 0 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* List */
.wing-mn-list {
  list-style: none;
  margin: 0;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Each item row */
.wing-mn-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
}

/* Both anchor links and buttons share the same row style */
.wing-mn-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 18px 0 !important;
  color: rgba(255,255,255,.88) !important;
  font-family: var(--ff-head) !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: color .15s !important;
  line-height: 1.2 !important;
}

.wing-mn-link:hover { color: #fff !important; }
.wing-mn-link.active { color: #fff !important; }

/* Override stale sheet 1 .wing-mn-item > a { padding: 0 } */
.wing-mn-list .wing-mn-item > a.wing-mn-link {
  padding: 18px 0 !important;
}

/* Chevron on toggle buttons */
.wing-mn-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,.25);
  transition: transform .2s ease, color .15s;
}

.wing-mn-toggle[aria-expanded="true"] .wing-mn-chevron {
  transform: rotate(180deg);
  color: rgba(255,255,255,.6);
}

/* Children -- hidden until expanded */
.wing-mn-children {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 12px 0;
  width: 100%;
}

.wing-mn-child-link {
  display: block;
  padding: 10px 0 10px 16px;
  color: rgba(255,255,255,.3);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .14s;
}

.wing-mn-child-link:hover,
.wing-mn-child-link.active { color: rgba(255,255,255,.8); }

/* CTA */
.wing-mn-cta {
  display: inline-block;
  margin: 24px 20px 0;
  padding: 12px 28px;
  background: var(--red);
  color: #fff !important;
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 3px;
  transition: opacity .15s;
  align-self: flex-start;
}

.wing-mn-cta:hover { opacity: .85; }

@media (max-width: 899px) {
  .wing-navr-wrap { display: none !important; }
  .wing-bur { display: flex !important; }
}

@media (min-width: 900px) {
  .wing-mn { display: none !important; }
  .wing-bur { display: none !important; }
}

/* -- Footer -------------------------------------------------*/

.wing-footer {
  background: var(--black);
  color: rgba(255,255,255,.5);
}

.wing-footer-inner {
  padding: 0 2.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Top row: brand + social */
.wf-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.wf-brand {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: none;
}

.wf-tagline {
  font-size: .72rem;
  line-height: 1.6;
  color: rgba(255,255,255,.32);
  margin: 0;
}

.wf-social {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  padding-top: .25rem;
}

.wf-soc-link {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.3);
  transition: color .18s ease;
  text-decoration: none;
}

.wf-soc-link:hover {
  color: rgba(255,255,255,.75);
}

.wf-soc-link svg { display: block; }

/* Middle row: horizontal footer nav */
.wf-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 0;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.wf-nav-link {
  padding: .3rem 1.25rem .3rem 0;
  margin-right: 1rem;
  color: rgba(255,255,255,.45);
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease;
  white-space: nowrap;
}

.wf-nav-link:hover { color: rgba(255,255,255,.88); }

/* Bottom row: legal left, copyright right */
.wf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .9rem 0 0;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

.wf-legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-left: 0;
}

.wf-legal-link {
  color: rgba(255,255,255,.25);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease;
}

.wf-legal-link:hover { color: rgba(255,255,255,.65); }

.wf-copyright {
  color: rgba(255,255,255,.22);
  font-size: .62rem;
  letter-spacing: .06em;
}

/* Logo image sizing */
.wing-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}

/* Mobile footer */
@media (max-width: 767px) {
  .wf-top {
    flex-direction: column;
    gap: 1.5rem;
  }
  .wf-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
  }
  .wf-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}



@media (max-width: 899px) {
  .wing-navr-wrap { display: none !important; }
  .wing-bur { display: flex !important; }
}

@media (min-width: 900px) {
  .wing-mn { display: none !important; }
  .wing-bur { display: none !important; }
}

/* -- Footer mobile overrides --------------------------------*/

@media (max-width: 767px) {
  /* Override stale module_footer.min.css mobile padding */
  .wing-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* footer-inner mobile padding matches nav */
  .wf-top {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .wf-brand { max-width: none; }
  .wing-logo--footer { display: block; }
  .wf-social { justify-content: flex-start; }
  .wf-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
  }
  .wf-nav-link { padding: .4rem 0; }
  .wf-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .5rem;
    text-align: left;
  }
  .wf-copyright {
    text-align: left;
  }
  .wf-legal-nav {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ==========================================================
   STALE MODULE CSS HARD OVERRIDES
   module_navbar.min.css (sheet 1) + module_footer.min.css (sheet 2)
   These files persist on HubSpot CDN from old uploads and
   cannot be deleted -- must be overridden with !important
   ========================================================== */

/* -- Stale navbar module overrides ------------------------- */

/* Mobile nav -- override stale sheet 1 centering completely */
.wing-mn {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(100%) !important;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94) !important;
  pointer-events: none !important;
}
.wing-mn.open {
  transform: translateX(0) !important;
  pointer-events: auto !important;
}
.wing-mn-list {
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}
.wing-mn-item {
  width: 100% !important;
}
.wing-mn-item > a {
  padding: 0 !important;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
}

/* -- Stale footer module overrides ------------------------- */

/* Tagline max-width cap */
.wf-brand p {
  max-width: none !important;
}

/* Footer padding comes from pt-*/pb-* spacing classes, not inline */
/* Stale module footer has padding:3.5rem 2.5rem -- override just the inline padding */
.wing-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Footer bottom centering on mobile */
@media (max-width: 767px) {
  .wf-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .wf-social {
    justify-content: flex-start !important;
  }
  .wing-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -- Logo scaling in navbar -------------------------------- */
/* Keep 30px default; inline style from module fields overrides if set */
.wing-logo-img {
  display: block !important;
  height: 30px;
  width: auto;
  object-fit: contain;
}

/* Nav side padding -- override stale sheet 1 base rule (padding: 1.4rem 2.5rem) */
@media (max-width: 768px) {
  html body nav.wing-nav {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}
/* Footer full-width fix + mobile legal nav left-justified */

/* Override stale module_footer.min.css padding on all viewports */
html body footer.wing-footer,
html body .wing-footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile: legal nav left, copyright stacked left */
@media (max-width: 768px) {
  .wf-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .wf-legal-nav {
    justify-content: flex-start !important;
    order: 1;
  }
  .wf-copyright {
    order: 2;
    text-align: left !important;
  }
}

.wf-legal-nav { margin-left: 0 !important; }

/* -- Instagram Feed -----------------------------------------*/

.wing-instagram { background: var(--dk); }

.wing-ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.wing-ig-title-group { display: flex; flex-direction: column; gap: .5rem; }

.wing-ig-handle {
  color: rgba(255,255,255,.35);
  font-family: var(--ff-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .18s ease;
  white-space: nowrap;
}

.wing-ig-handle:hover { color: rgba(255,255,255,.8); }

/* Embed container - lets the embed fill naturally */
.wing-ig-embed {
  width: 100%;
}

/* Manual fallback grid: 4 cols desktop, 2 cols mobile */
.wing-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.wing-ig-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.wing-ig-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.wing-ig-item:hover .wing-ig-img { transform: scale(1.04); }

.wing-ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity .25s ease;
}

.wing-ig-item:hover .wing-ig-overlay { opacity: 1; }

.wing-ig-caption {
  color: rgba(255,255,255,.85);
  font-size: .72rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wing-ig-placeholder {
  padding: 4rem 2rem;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 4px;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .wing-ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wing-ig-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
}

/* -- Light / Dark Mode Toggle System ----------------------- */
/* Apply .dark-mode class to section to flip to dark theme.
   Apply .light-mode to override a naturally dark module to light. */

/* Dark mode overrides */
.dark-mode { background: var(--dk) !important; color: #fff; }
.dark-mode .tag { color: var(--red); }
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4 { color: #fff; }
.dark-mode p, .dark-mode li { color: rgba(255,255,255,.45); }
.dark-mode p strong { color: rgba(255,255,255,.7); }
.dark-mode .btn-dk { background: #fff; color: var(--dk); }
.dark-mode .btn-dk:hover { background: var(--cream); }
.dark-mode .btn-ghost { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.dark-mode .btn-ghost:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.dark-mode .wing-id-stat-n { color: #fff; }
.dark-mode .wing-id-stat-label { color: rgba(255,255,255,.8); }
.dark-mode .wing-id-stat-desc { color: rgba(255,255,255,.4); }
.dark-mode .wing-id-stat { border-bottom-color: rgba(255,255,255,.08); }
.dark-mode .wing-step { background: rgba(255,255,255,.04); }
.dark-mode .wing-step:hover { background: rgba(255,255,255,.07); }
.dark-mode .wing-step h4 { color: #fff; }
.dark-mode .wing-step-desc { color: rgba(255,255,255,.4); }
.dark-mode .wing-step-n { color: rgba(255,255,255,.04); }

/* Light mode overrides (for naturally dark modules forced light) */
.light-mode { background: var(--off) !important; color: var(--tx); }
.light-mode .tag { color: var(--red); }
.light-mode h1, .light-mode h2, .light-mode h3, .light-mode h4 { color: var(--dk); }
.light-mode p, .light-mode li { color: var(--tx2); }
.light-mode p strong { color: var(--tx); }
.light-mode .wing-manifesto-c blockquote { color: var(--dk); }
.light-mode .wing-manifesto-c blockquote em { color: inherit; }
.light-mode .wing-mf-label { color: var(--tx2); }
.light-mode .wing-mf-dot { background: var(--red); }
.light-mode .wing-cta-h { color: var(--dk); }
.light-mode .wing-cta-h em { color: inherit; }
.light-mode .wing-cta-p { color: var(--tx2); }
.light-mode .wing-cta-secondary { color: var(--tx3); }
.light-mode .wing-cta-secondary:hover { color: var(--dk); }
.light-mode .wing-px-h2 { color: var(--dk); }
.light-mode .wing-px-h2 em { color: inherit; }
.light-mode .wing-px-body { color: var(--tx2); }
.light-mode .wing-px-body strong { color: var(--tx); }

/* -- contact-form.module -- */
/* Wing — Contact Form + Locations */

.wing-contact {
  background: var(--off);
}

.wing-contact-in {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}

/* ── Left column: form ─────────────────────── */
.wing-contact-tag {
  margin-bottom: 1rem;
}

.wing-contact-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--dk);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.wing-contact-sub {
  font-size: .88rem;
  font-weight: 300;
  color: var(--tx2);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ── HubSpot form embed ────────────────────── */
.wing-hs-form-wrap {
  margin-top: .5rem;
}

/* Style injected HubSpot form fields to match theme */
.wing-hs-form-wrap .hs-form fieldset {
  max-width: 100% !important;
}
.wing-hs-form-wrap .hs-form .hs-input {
  font-family: 'Inter', sans-serif !important;
  font-size: .82rem !important;
  font-weight: 300 !important;
  color: var(--tx) !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.1) !important;
  border-radius: var(--r) !important;
  padding: .85rem 1.1rem !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color .25s, box-shadow .25s !important;
}
.wing-hs-form-wrap .hs-form .hs-input:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(179,8,56,.08) !important;
}
.wing-hs-form-wrap .hs-form label {
  font-size: .6rem !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--tx2) !important;
  font-family: 'Inter', sans-serif !important;
}
.wing-hs-form-wrap .hs-form .hs-button {
  font-family: 'Inter', sans-serif !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  background: var(--red) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 8px !important;
  padding: .8rem 1.8rem !important;
  cursor: pointer !important;
  transition: all .35s cubic-bezier(.25,1,.5,1) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.12) !important;
}
.wing-hs-form-wrap .hs-form .hs-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(179,8,56,.25), 0 2px 6px rgba(0,0,0,.12) !important;
  filter: brightness(1.08) !important;
}
.wing-hs-form-wrap .hs-form .hs-error-msgs {
  margin-top: .3rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.wing-hs-form-wrap .hs-form .hs-error-msgs li {
  font-size: .65rem !important;
  color: var(--red) !important;
  font-family: 'Inter', sans-serif !important;
}

/* ── Right column: locations ───────────────── */
.wing-contact-locs-col {
  padding-top: .5rem;
}

.wing-locs-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tx3);
  margin-bottom: 1.8rem;
}

.wing-loc {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.wing-loc:first-of-type {
  border-top: 1px solid rgba(0,0,0,.07);
}

.wing-loc-city {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dk);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: .7rem;
}

.wing-loc-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.wing-loc-addr {
  font-size: .8rem;
  font-weight: 300;
  color: var(--tx2);
  line-height: 1.65;
}

.wing-loc-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 400;
  color: var(--tx2);
  text-decoration: none;
  transition: color .25s;
}
.wing-loc-link svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .25s;
}
.wing-loc-link:hover { color: var(--dk); }
.wing-loc-link:hover svg { opacity: .8; }

.wing-loc-map {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  margin-top: .2rem;
  transition: gap .25s;
}
.wing-loc-map svg {
  width: 11px; height: 11px;
  flex-shrink: 0;
  transition: transform .25s;
}
.wing-loc-map:hover { gap: .65rem; }
.wing-loc-map:hover svg { transform: translate(2px,-2px); }

/* Global locations button */
.wing-locs-global-btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* Support block */
.wing-contact-support {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.wing-support-label {
  font-size: .68rem;
  font-weight: 300;
  color: var(--tx3);
  line-height: 1.5;
}

.wing-support-btn {
  align-self: flex-start;
}

/* ── Dark mode overrides ───────────────────── */
.wing-contact.dark-mode { background: var(--dk); }
.wing-contact.dark-mode .wing-contact-h { color: #fff; }
.wing-contact.dark-mode .wing-contact-sub { color: rgba(255,255,255,.38); }
.wing-contact.dark-mode .wing-locs-label { color: rgba(255,255,255,.2); }
.wing-contact.dark-mode .wing-loc { border-color: rgba(255,255,255,.07); }
.wing-contact.dark-mode .wing-loc-city { color: #fff; }
.wing-contact.dark-mode .wing-loc-addr,
.wing-contact.dark-mode .wing-loc-link { color: rgba(255,255,255,.38); }
.wing-contact.dark-mode .wing-loc-link:hover { color: rgba(255,255,255,.8); }
.wing-contact.dark-mode .wing-contact-support { border-color: rgba(255,255,255,.07); }
.wing-contact.dark-mode .wing-support-label { color: rgba(255,255,255,.25); }
.wing-contact.dark-mode .wing-hs-form-wrap .hs-form .hs-input {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.1) !important;
  color: #fff !important;
}
.wing-contact.dark-mode .wing-hs-form-wrap .hs-form label { color: rgba(255,255,255,.3) !important; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 960px) {
  .wing-contact-in {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .wing-contact-locs-col { padding-top: 0; }
  .wing-contact-sub { max-width: 100%; }
}

@media (max-width: 600px) {
  .wing-contact-h { font-size: clamp(1.8rem, 8vw, 2.5rem); }
}

/* ═══════════════════════════════════════════════════
   WING FORM — .wing-wf  (Text Left + Form Right)
   ═══════════════════════════════════════════════════ */

.wing-wf {
  position: relative;
  overflow: hidden;
}
.wing-wf-in {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Left: text column ── */
.wing-wf-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--tx);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.wing-wf-h em {
  font-weight: 300;
  font-style: italic;
}
.wing-wf-body {
  font-size: .88rem;
  font-weight: 300;
  color: var(--tx2);
  line-height: 1.85;
  max-width: 520px;
}
.wing-wf-body p { margin: 0 0 1rem; }
.wing-wf-body p:last-child { margin-bottom: 0; }
.wing-wf-cta {
  margin-top: 2rem;
}

/* ── Right: form column ── */
.wing-wf-form {
  padding-top: .5rem;
}

/* ── Dark mode ── */
.wing-wf.dark-mode { background: var(--dk); }
.wing-wf.dark-mode .wing-wf-h { color: #fff; }
.wing-wf.dark-mode .wing-wf-body { color: rgba(255,255,255,.38); }
.wing-wf.dark-mode .wing-wf-cta {
  border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.55);
}
.wing-wf.dark-mode .wing-wf-cta:hover {
  border-color: rgba(255,255,255,.45); color: #fff;
}
.wing-wf.dark-mode .wing-hs-form-wrap .hs-form .hs-input {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.1) !important;
  color: #fff !important;
}
.wing-wf.dark-mode .wing-hs-form-wrap .hs-form label { color: rgba(255,255,255,.3) !important; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .wing-wf-in {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .wing-wf-body { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════
   IMAGE SPLIT — .wing-isplit  (Two full-bleed panels)
   ═══════════════════════════════════════════════════ */

.wing-isplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.wing-isplit-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wing-isplit-bg {
  position: absolute; inset: 0; z-index: 0;
}
.wing-isplit-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.25,1,.5,1);
}
.wing-isplit-panel:hover .wing-isplit-bg img {
  transform: scale(1.04);
}
.wing-isplit-ov {
  position: absolute; inset: 0; z-index: 1;
  transition: opacity .5s;
}
.wing-isplit-panel:hover .wing-isplit-ov {
  opacity: .9;
}
.wing-isplit-content {
  position: relative; z-index: 2;
  max-width: 480px;
  width: 100%;
  padding: 4rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.wing-isplit-kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: .56rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.wing-isplit-h {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.wing-isplit-h em {
  font-weight: 300;
  font-style: italic;
}
.wing-isplit-body {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.wing-isplit-body p { margin: 0 0 .75rem; }
.wing-isplit-body p:last-child { margin-bottom: 0; }
.wing-isplit-btn {
  margin-top: .5rem;
}

/* ── Divider line between panels ── */
.wing-isplit-divider {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: rgba(255,255,255,.08);
  z-index: 3;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wing-isplit {
    grid-template-columns: 1fr;
  }
  .wing-isplit-panel {
    min-height: 55vh;
  }
  .wing-isplit-divider { display: none; }
}

/* -- mini-hero.module -- */
/* Wing — Mini Hero */

.wing-mini-hero {
  background: var(--black);
  display: flex;
  align-items: center;
}

/* .wing-mini-hero-c layout handled by .w class + inline flex style */
.wing-mini-hero-c {
  width: 100%;
}

.wing-mini-hero-tag {
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  font-weight: 600;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: wing-fu .6s .2s forwards;
}

.wing-mini-hero-divider {
  width: 40px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: wing-fu .6s .3s forwards;
}

.wing-mini-hero h1,
.wing-mini-hero h2,
.wing-mini-hero h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: wing-fu .7s .35s forwards;
}

.wing-mini-hero-p {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.85;
  max-width: 100%;
  opacity: 0;
  animation: wing-fu .6s .5s forwards;
}

/* Light mode override */
.wing-mini-hero.light-mode { background: var(--off); }
.wing-mini-hero.light-mode .wing-mini-hero-tag { color: var(--tx3); }
.wing-mini-hero.light-mode h1,
.wing-mini-hero.light-mode h2,
.wing-mini-hero.light-mode h3 { color: var(--dk); }
.wing-mini-hero.light-mode .wing-mini-hero-p { color: var(--tx2); }

@media (max-width: 768px) {
  /* .wing-mini-hero-c mobile padding handled by .w responsive override */
  .wing-mini-hero h1,
  .wing-mini-hero h2,
  .wing-mini-hero h3 { font-size: clamp(1.9rem, 9vw, 3rem); }
}


/* ==========================================================
   SERVICE PAGE MODULES
   service-markets, service-capabilities, service-aeo,
   featured-work mosaic override
   ========================================================== */

/* -- service-markets.module -- */
/* Wing — Service Markets (Who We Serve) */

/* Grid: 4 cols, first card spans 2 */
.wing-svc-markets { background: var(--black); overflow: hidden; }

/* Force white on headline/sub — section is always dark */
.wing-svc-markets .wing-proc-h2,
.wing-svc-markets .wing-proc-h2 em { color: #fff !important; }
.wing-svc-markets .wing-svc-section-body { color: rgba(255,255,255,.42) !important; }

/* Shared body text below section headlines */
.wing-svc-section-body {
  font-size: .9rem; font-weight: 300; line-height: 1.85;
  max-width: 600px; margin-top: .75rem; margin-bottom: .25rem;
}
.wing-svc-markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
/* First card wide by default */
/* first-child override removed */
/* span_wide checkbox: 2 cols wide, normal 1-row height */
.wing-svc-markets-grid .wing-seg.wing-seg--wide {
  grid-column: span 2;
  /* Override ratio to be landscape (1×2 cols = wider, not taller) */
}
.wing-svc-markets-grid .wing-seg.wing-seg--wide .wing-seg-ratio {
  padding-bottom: 54%; /* landscape ratio, same as the first card */
}

/* Card */
.wing-seg {
  position: relative; overflow: hidden;
  border-radius: var(--r); display: block; text-decoration: none;
}
.wing-seg-ratio { padding-bottom: 110%; }
/* first-child removed */

.wing-seg-bg { position: absolute; inset: 0; }
.wing-seg-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .85s cubic-bezier(.25,1,.5,1);
}
.wing-seg:hover .wing-seg-bg img { transform: scale(1.055); }

.wing-seg-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.05) 0%, rgba(8,8,8,.15) 35%, rgba(8,8,8,.82) 100%);
}
/* Dark hover overlay — matches wing-sc-ov-hover */
.wing-seg-ov-hover {
  position: absolute; inset: 0; background: #080808;
  opacity: 0; transition: opacity .4s; z-index: 1;
}
.wing-seg:hover .wing-seg-ov-hover { opacity: .65; }

/* Red top line — matches wing-sc::after */
.wing-seg::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  z-index: 3; transition: width .5s;
}
.wing-seg:hover::after { width: 100%; }

/* Content — matches wing-sc-content */
.wing-seg-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.5rem 1.7rem; z-index: 3;
}
.wing-seg-name {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem; font-weight: 800; color: #fff;
  letter-spacing: -.01em; line-height: 1.25;
}
/* sub-line — slides up on hover like wing-sc-content p */
.wing-seg-sub {
  font-size: .72rem; color: rgba(255,255,255,.55);
  line-height: 1.6; font-weight: 300;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-seg:hover .wing-seg-sub { max-height: 60px; opacity: 1; margin-top: .35rem; }

/* CTA link — exact wing-sc-link treatment */
.wing-seg-link {
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: gap .3s, max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-seg:hover .wing-seg-link { max-height: 30px; opacity: 1; margin-top: .55rem; }
.wing-seg-link:hover { gap: .55rem; }
.wing-seg-link svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .wing-svc-markets-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  /* First card wide by default */
/* first-child override removed */
/* span_wide checkbox: 2 cols wide, normal 1-row height */
.wing-svc-markets-grid .wing-seg.wing-seg--wide {
  grid-column: span 2;
  /* Override ratio to be landscape (1×2 cols = wider, not taller) */
}
.wing-svc-markets-grid .wing-seg.wing-seg--wide .wing-seg-ratio {
  padding-bottom: 54%; /* landscape ratio, same as the first card */
}
  .wing-seg-sub, .wing-seg-link { max-height: none !important; opacity: 1 !important; margin-top: .35rem !important; }
}
@media (max-width: 768px) {
  .wing-svc-markets-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .wing-seg-ratio { padding-bottom: 100%; }
  /* first-child removed */
}


/* -- service-capabilities.module -- */
/* Wing — Service Capabilities (What We Do) */

.wing-svc-caps { background: var(--off); overflow: hidden; }
.wing-svc-caps .wing-svc-section-body { color: var(--tx2); font-size: .9rem; font-weight: 300; line-height: 1.85; max-width: 600px; margin-top: .6rem; }
.wing-svc-caps-grid {
  display: grid;
  /* Asymmetric bento: col 1 wider (7fr), col 2 narrower (5fr) */
  grid-template-columns: 7fr 5fr;
  gap: 6px;
  margin-top: 3rem;
}

/* Slot positions */
/* Card 1 — tall hero, spans 2 rows on left */
.wing-cap:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
/* Card 2 — top right */
.wing-cap:nth-child(2) { grid-column: 2; grid-row: 1; }
/* Card 3 — bottom right */
.wing-cap:nth-child(3) { grid-column: 2; grid-row: 2; }
/* Card 4 — full-width landscape strip */
.wing-cap:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }

/* Ratios per slot */
.wing-cap-ratio { padding-bottom: 62%; }
.wing-cap:nth-child(1) .wing-cap-ratio { padding-bottom: 130%; }
.wing-cap:nth-child(2) .wing-cap-ratio { padding-bottom: 60%; }
.wing-cap:nth-child(3) .wing-cap-ratio { padding-bottom: 60%; }
.wing-cap:nth-child(4) .wing-cap-ratio { padding-bottom: 26%; }

/* Card base */
.wing-cap {
  position: relative; overflow: hidden;
  border-radius: var(--r); display: block; text-decoration: none;
  background: var(--dk);
}
.wing-cap-media { position: absolute; inset: 0; }
.wing-cap-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.25,1,.5,1);
}
.wing-cap:hover .wing-cap-media img { transform: scale(1.04); }
.wing-cap-ph { position: absolute; inset: 0; }

/* Gradient overlay — standard bottom fade */
.wing-cap-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.04) 0%, rgba(8,8,8,.1) 30%, rgba(8,8,8,.78) 70%, rgba(8,8,8,.96) 100%);
}
/* Card 4 wide strip — gradient goes left-to-right so text sits left */
.wing-cap:nth-child(4) .wing-cap-ov {
  background: linear-gradient(90deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.65) 45%, rgba(8,8,8,.15) 100%);
}

/* Hover darkening */
.wing-cap-ov-hover {
  position: absolute; inset: 0; background: #080808;
  opacity: 0; transition: opacity .4s; z-index: 1;
}
.wing-cap:hover .wing-cap-ov-hover { opacity: .65; }

/* Red top line */
.wing-cap::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  z-index: 5; transition: width .5s;
}
.wing-cap:hover::before { width: 100%; }

/* Content */
.wing-cap-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.6rem 1.8rem 2rem; z-index: 4;
}
/* Card 4 — text vertically centred on left side */
.wing-cap:nth-child(4) .wing-cap-content {
  top: 0; bottom: 0; right: auto; width: 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem 3rem;
}

.wing-cap-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  letter-spacing: -.025em; line-height: 1.2;
}
.wing-cap:nth-child(1) .wing-cap-title { font-size: 1.35rem; }
.wing-cap:nth-child(4) .wing-cap-title { font-size: 1.25rem; }

/* Description — slides up on 1-3, always visible on 4 */
.wing-cap-desc {
  font-size: .76rem; color: rgba(255,255,255,.52);
  line-height: 1.65; font-weight: 300;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-cap:hover .wing-cap-desc { max-height: 80px; opacity: 1; margin-top: .4rem; }
.wing-cap:nth-child(4) .wing-cap-desc {
  max-height: none; opacity: 1; margin-top: .55rem;
}

/* CTA link — wing-sc-link treatment */
.wing-cap-link {
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: gap .3s, max-height .5s cubic-bezier(.25,1,.5,1), opacity .4s, margin-top .5s;
}
.wing-cap:hover .wing-cap-link { max-height: 30px; opacity: 1; margin-top: .6rem; }
.wing-cap:nth-child(4) .wing-cap-link { max-height: 30px; opacity: 1; margin-top: .9rem; }
.wing-cap-link:hover { gap: .55rem; }
.wing-cap-link svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .wing-svc-caps-grid { grid-template-columns: 1fr 1fr; }
  .wing-cap:nth-child(1), .wing-cap:nth-child(2),
  .wing-cap:nth-child(3), .wing-cap:nth-child(4) { grid-column: auto; grid-row: auto; }
  .wing-cap:nth-child(n) .wing-cap-ratio { padding-bottom: 65%; }
  .wing-cap:nth-child(4) .wing-cap-content { top: auto; width: 100%; flex-direction: column; justify-content: flex-end; padding: 1.6rem 1.8rem 2rem; }
  .wing-cap:nth-child(4) .wing-cap-ov { background: linear-gradient(180deg, rgba(8,8,8,.04) 0%, rgba(8,8,8,.1) 30%, rgba(8,8,8,.78) 70%, rgba(8,8,8,.96) 100%); }
  .wing-cap-desc, .wing-cap-link { max-height: none !important; opacity: 1 !important; margin-top: .4rem !important; }
}
@media (max-width: 768px) {
  .wing-svc-caps-grid { grid-template-columns: 1fr; }
  .wing-cap:nth-child(n) .wing-cap-ratio { padding-bottom: 65%; }
}


/* -- service-aeo.module -- */
/* Wing — Service AEO — stacked, not L/R split */

.wing-svc-aeo { background: transparent; overflow: hidden; }

/* Top: compact 2-col headline + body — intentionally asymmetric */
.wing-aeo-head {
  margin-bottom: 1.8rem;
}
.wing-aeo-body-wrap {
  margin-bottom: 2rem;
  max-width: 720px;
}
.wing-aeo-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900; letter-spacing: -.04em;
  color: #fff; line-height: 1.0;
}
.wing-aeo-h em { font-style: italic; font-weight: 300; }
.wing-aeo-body {
  font-size: .88rem; font-weight: 300;
  color: rgba(255,255,255,.45); line-height: 1.9; margin-bottom: 1.2rem;
}
.wing-aeo-body:last-child { margin-bottom: 0; }
.wing-aeo-body strong { font-weight: 600; color: rgba(255,255,255,.8); }
/* Light mode override — set Theme Mode → Light in module editor */
.wing-svc-aeo.light-mode .wing-aeo-h { color: var(--dk) !important; }
.wing-svc-aeo.light-mode .wing-aeo-body { color: var(--tx2) !important; }
.wing-svc-aeo.light-mode .wing-aeo-body strong { color: var(--tx) !important; }
.wing-svc-aeo.light-mode .wing-faq-q-text { color: var(--tx) !important; }
.wing-svc-aeo.light-mode .wing-faq-a { color: var(--tx2) !important; }
.wing-svc-aeo.light-mode .wing-faq-item { border-top-color: rgba(0,0,0,.08) !important; }
.wing-svc-aeo.light-mode .wing-faq-icon { border-color: rgba(0,0,0,.12) !important; }
.wing-svc-aeo.light-mode .wing-faq-icon svg { stroke: var(--tx2) !important; }
.wing-svc-aeo.light-mode .wing-faq-label { color: var(--dk) !important; }
.wing-svc-aeo.light-mode .wing-aeo-rule { background: rgba(0,0,0,.08) !important; }
/* AEO dark mode — white text is now the default; use light-mode class for light bg */

/* Divider between body and FAQ */
.wing-aeo-rule {
  height: 1px;
  background: rgba(0,0,0,.08);
  margin-bottom: 2.5rem;
}

/* FAQ accordion */
.wing-faq-label {
  font-family: 'Poppins', sans-serif;
  font-size: .84rem; font-weight: 700; color: #fff;
  letter-spacing: -.01em; margin-bottom: 1.8rem;
}

/* 2-col FAQ grid — breaks the L/R split pattern */
.wing-faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}
.wing-faq-item { border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.wing-faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.wing-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 0;
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
.wing-faq-q::-webkit-details-marker { display: none; }
.wing-faq-q-text {
  font-family: 'Poppins', sans-serif;
  font-size: .84rem; font-weight: 700; color: #fff; line-height: 1.3;
}
.wing-faq-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.wing-faq-icon svg {
  width: 8px; height: 8px; fill: none; stroke: rgba(255,255,255,.55);
  stroke-width: 2; stroke-linecap: round; transition: transform .3s;
}
details[open] .wing-faq-icon { background: var(--red); border-color: var(--red); }
details[open] .wing-faq-icon svg { stroke: #fff; transform: rotate(45deg); }
.wing-faq-a {
  font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.45);
  line-height: 1.8; padding-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .wing-faq-cols { grid-template-columns: 1fr; }
}


/* -- featured-work mosaic layout override -- */
/* Wing — Portfolio Mosaic (12-col editorial grid) */
/* Applied when .wing-fw has the mosaic variant class */

.wing-fw.mosaic .wing-fw-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}
.wing-fw.mosaic .wing-fw-card:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 3; }
.wing-fw.mosaic .wing-fw-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.wing-fw.mosaic .wing-fw-card:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.wing-fw.mosaic .wing-fw-card:nth-child(4) { grid-column: 1 / 5;  grid-row: 3; }
.wing-fw.mosaic .wing-fw-card:nth-child(5) { grid-column: 5 / 9;  grid-row: 3; }
.wing-fw.mosaic .wing-fw-card:nth-child(6) { grid-column: 9 / 13; grid-row: 3; }

.wing-fw.mosaic .wing-fw-card-ratio { padding-bottom: 65%; }
.wing-fw.mosaic .wing-fw-card:nth-child(1) .wing-fw-card-ratio { padding-bottom: 95%; }
.wing-fw.mosaic .wing-fw-card:nth-child(2) .wing-fw-card-ratio,
.wing-fw.mosaic .wing-fw-card:nth-child(3) .wing-fw-card-ratio { padding-bottom: 46%; }

/* Always-visible overlay + info on mosaic at tablet */
@media (max-width: 1100px) {
  .wing-fw.mosaic .wing-fw-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wing-fw.mosaic .wing-fw-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .wing-fw.mosaic .wing-fw-card:nth-child(n) .wing-fw-card-ratio { padding-bottom: 62%; }
  .wing-fw.mosaic .wing-fw-card-ov { opacity: .3; }
  .wing-fw.mosaic .wing-fw-card-ov-hover { opacity: 1; }
  .wing-fw.mosaic .wing-fw-card-c { opacity: 1; transform: none; }
  .wing-fw.mosaic .wing-fw-card-title { opacity: 1; }
}
@media (max-width: 768px) {
  .wing-fw.mosaic .wing-fw-grid { grid-template-columns: 1fr; }
  .wing-fw.mosaic .wing-fw-card:nth-child(n) .wing-fw-card-ratio { padding-bottom: 62%; }
}


/* -- service-division.module -- */
/* Wing — Service Division Cards
   Combined "Who We Serve + What We Do" module.
   Each card = one market segment.
   On hover: market name lifts, capability tags + red CTA slide in.
   Grid: flexible bento, span_wide per card.
*/

.wing-svc-division { background: var(--black); overflow: hidden; }
.wing-svc-division-head { margin-bottom: 3rem; }
.wing-svc-division-head .tag { margin-bottom: .7rem; }
.wing-division-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; letter-spacing: -.04em;
  color: #fff; line-height: 1.05; margin-top: .1rem;
}
.wing-division-h em { font-style: italic; font-weight: 300; }
.wing-division-body {
  font-size: .88rem; font-weight: 300; color: rgba(255,255,255,.38);
  line-height: 1.85; max-width: 580px; margin-top: .75rem;
}

/* Grid — 4-col bento, first card spans 2 by default */
.wing-division-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
/* first-child span intentionally removed — use span_wide field */
.wing-division-grid .wing-div-card.wing-div--wide { grid-column: span 2; }
.wing-division-grid .wing-div-card.wing-div--wide .wing-div-ratio { padding-bottom: 54%; }

/* Card */
.wing-div-card {
  position: relative; overflow: hidden;
  border-radius: var(--r); display: block; text-decoration: none;
  background: var(--dk);
}
.wing-div-ratio { padding-bottom: 110%; }
/* first-child ratio override removed */

.wing-div-media { position: absolute; inset: 0; }
.wing-div-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .85s cubic-bezier(.25,1,.5,1);
}
.wing-div-card:hover .wing-div-media img { transform: scale(1.05); }

/* Overlays */
.wing-div-ov {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.05) 0%, rgba(8,8,8,.12) 30%, rgba(8,8,8,.82) 72%, rgba(8,8,8,.97) 100%);
}
.wing-div-ov-hover {
  position: absolute; inset: 0; background: #080808;
  opacity: 0; transition: opacity .4s; z-index: 1;
}
.wing-div-card:hover .wing-div-ov-hover { opacity: .6; }

/* Red top sweep */
.wing-div-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  z-index: 5; transition: width .5s;
}
.wing-div-card:hover::before { width: 100%; }

/* Content block — sits at bottom */
.wing-div-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.6rem 1.6rem 2rem; z-index: 4;
}

/* Market name — always visible */
.wing-div-market {
  font-family: 'Poppins', sans-serif;
  font-size: .98rem; font-weight: 800;
  color: #fff; letter-spacing: -.015em; line-height: 1.2;
  margin-bottom: .35rem;
  transition: transform .35s cubic-bezier(.25,1,.5,1);
}
.wing-div-card:hover .wing-div-market { transform: translateY(-6px); }

/* Sub-line — ALWAYS VISIBLE on desktop */
.wing-div-sub {
  font-size: .72rem; font-weight: 300;
  color: rgba(255,255,255,.45); line-height: 1.5;
  margin-top: .4rem;
  transition: color .3s;
}
.wing-div-card:hover .wing-div-sub { color: rgba(255,255,255,.65); }

/* Capability chips — ALWAYS VISIBLE on desktop */
.wing-div-caps {
  display: flex; flex-wrap: wrap; gap: .3rem;
  margin-top: .7rem;
  transition: opacity .3s;
}
.wing-div-cap-tag {
  font-size: .58rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: .22rem .65rem;
  transition: color .25s, border-color .25s;
}
.wing-div-card:hover .wing-div-cap-tag { color: rgba(255,255,255,.62); border-color: rgba(255,255,255,.25); }

/* CTA link — ONLY shows on hover (wing-sc-link pattern) */
.wing-div-link {
  font-size: .58rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: .3rem;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: gap .3s, max-height .45s cubic-bezier(.25,1,.5,1), opacity .35s .05s, margin-top .45s;
}
.wing-div-card:hover .wing-div-link { max-height: 30px; opacity: 1; margin-top: .65rem; }
.wing-div-link:hover { gap: .55rem; }
.wing-div-link svg { width: 8px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Mobile — hide CTA completely, card stays clickable */
@media (max-width: 768px) {
  .wing-div-link { display: none !important; }
  .wing-div-sub { color: rgba(255,255,255,.5); }
}


/* Division card — hover image / GIF swap (desktop only) */
.wing-div-img-static,
.wing-div-img-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .5s cubic-bezier(.25,1,.5,1);
}
.wing-div-img-hover {
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  /* Only on true pointer devices (desktop) */
  .wing-div--has-hover:hover .wing-div-img-static { opacity: 0; }
  .wing-div--has-hover:hover .wing-div-img-hover  { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .wing-division-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  /* first-child span intentionally removed — use span_wide field */
  .wing-division-grid .wing-div-card.wing-div--wide { grid-column: span 2; }
  .wing-div-card:hover .wing-div-market { transform: none; }
}
@media (max-width: 640px) {
  .wing-division-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .wing-div-ratio { padding-bottom: 95%; }
  /* first-child ratio override removed */
}


/* -- service-list.module -- */
/* Wing — Service List
   Dark 2-col layout: headline+body+CTA left, icon grid right.
   Theme twist on the screenshot reference. */

.wing-svc-list {
  background: var(--black);
  overflow: hidden;
  position: relative;
}
/* Subtle top edge line */
.wing-svc-list::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.06);
}

/* 2-col outer split */
.wing-sl-top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

/* Left: headline block */
.wing-sl-left .tag { margin-bottom: 1rem; }

.wing-sl-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.05em;
  line-height: .95;
  margin-top: .5rem;
  margin-bottom: 1.8rem;
}
/* Accent word gets the red dot / slight tint */
.wing-sl-accent {
  color: rgba(255,255,255,.55);
  font-weight: 300;
  font-style: italic;
}

.wing-sl-body {
  font-size: .88rem;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 100%; /* matches headline width (left col) */
}

.wing-sl-cta { display: inline-flex; }

/* Right: service item grid */
.wing-sl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.wing-sl-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.4rem 1.6rem 0;
  transition: background .3s;
  position: relative;
}
/* Right-column items get left padding */
.wing-sl-item:nth-child(even) {
  padding-left: 1.8rem;
}

/* Red hover rule removed — service items are not clickable */

.wing-sl-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  color: rgba(255,255,255,.55);
  padding-top: .15rem;
}
.wing-sl-icon svg { width: 100%; height: 100%; display: block; }
/* Uploaded icon images — CSS tints them white/dim to match theme */
.wing-sl-icon img {
  width: 100%; height: 100%;
  display: block; object-fit: contain;
  filter: brightness(0) invert(1) opacity(.28);
  transition: filter .3s;
}
.wing-sl-item:hover .wing-sl-icon img { filter: brightness(0) invert(1) opacity(.58); }


.wing-sl-item-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 1100px) {
  .wing-sl-top { grid-template-columns: 1fr; gap: 3rem; }
  .wing-sl-body { max-width: 100%; }
  .wing-sl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wing-sl-grid { grid-template-columns: 1fr; }
  .wing-sl-item:nth-child(even) { padding-left: 0; border-left: none; }
  .wing-sl-item:nth-child(even)::before { left: 0; }
  .wing-sl-item:nth-last-child(1) { border-bottom: none; }
  .wing-sl-item:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* Greyscale background image toggle */
.section-bg img { transition: filter .4s; }
.wing-bg-greyscale .section-bg img { filter: grayscale(100%); }

/* ═══════════════════════════════════════════════════
   ABOUT INTRO — .wing-ai
   ═══════════════════════════════════════════════════ */

.wing-ai{
  position:relative;
  overflow:hidden;
  color:#fff;
}
.wing-ai-in{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,4vw,4rem);
  align-items:center;
}

/* ── Flip: image right ── */
.wing-ai--flipped .wing-ai-in{
  direction:rtl;
}
.wing-ai--flipped .wing-ai-in > *{
  direction:ltr;
}

/* ── Image ── */
.wing-ai-img{
  border-radius:var(--r);
  overflow:hidden;
}
.wing-ai-img img{
  width:100%;
  height:auto;
  display:block;
  border-radius:var(--r);
}

/* ── Text ── */
.wing-ai-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.wing-ai-h{
  font-family:'Poppins',sans-serif;
  font-weight:900;
  font-size:clamp(1.75rem,3.5vw,3rem);
  line-height:1.1;
  margin:0 0 1.25rem;
  color:#fff;
}
.wing-ai-h em{
  font-weight:300;
  font-style:italic;
}
.wing-ai-body{
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:1rem;
  line-height:1.75;
  color:rgba(255,255,255,.6);
  margin-bottom:1.5rem;
}
.wing-ai-body p{
  margin:0 0 1rem;
}
.wing-ai-body p:last-child{
  margin-bottom:0;
}
/* Light-mode overrides */
.light-mode .wing-ai-h,
.wing-ai.light-mode .wing-ai-h{
  color:var(--tx);
}
.light-mode .wing-ai-body,
.wing-ai.light-mode .wing-ai-body{
  color:var(--tx2);
}
.wing-ai.light-mode{
  color:var(--tx);
}
.wing-ai-text .btn-r{
  margin-top:.5rem;
}

/* ── Responsive ── */
@media(max-width:767px){
  .wing-ai-in{
    grid-template-columns:1fr;
    gap:2rem;
  }
  .wing-ai--flipped .wing-ai-in{
    direction:ltr;
  }
  .wing-ai-img{
    order:-1;
  }
}


/* ═══════════════════════════════════════════════════
   TEAM GRID — .wing-team
   ═══════════════════════════════════════════════════ */

.wing-team{
  position:relative;
  overflow:hidden;
}
.wing-team-in{
  position:relative;
  z-index:2;
}

/* ── Header ── */
.wing-team-hd{
  margin-bottom:3rem;
}
.wing-team-h{
  font-family:'Poppins',sans-serif;
  font-weight:900;
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:1.1;
  margin:0 0 .75rem;
  color:#fff;
}
.wing-team-h em{
  font-weight:300;
  font-style:italic;
}
.wing-team-desc{
  font-size:1rem;
  color:rgba(255,255,255,.6);
  max-width:640px;
  line-height:1.7;
}
.light-mode .wing-team-h,
.wing-team.light-mode .wing-team-h{
  color:var(--tx);
}
.light-mode .wing-team-desc,
.wing-team.light-mode .wing-team-desc{
  color:var(--tx2);
}

/* ── Department Filter ── */
.wing-team-filters{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-bottom:2.5rem;
}
.wing-team-filter{
  font-family:'Inter',sans-serif;
  font-weight:700;
  font-size:.56rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  padding:.55rem 1.25rem;
  border-radius:100px;
  border:1px solid rgba(255,255,255,.15);
  background:transparent;
  color:rgba(255,255,255,.5);
  cursor:pointer;
  transition:all .25s ease;
}
.wing-team-filter:hover{
  border-color:var(--red);
  color:#fff;
}
.wing-team-filter.active{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}

/* Light-mode filter overrides */
.light-mode .wing-team-filter,
.wing-team.light-mode .wing-team-filter{
  border-color:rgba(0,0,0,.15);
  color:var(--tx2);
}
.light-mode .wing-team-filter:hover,
.wing-team.light-mode .wing-team-filter:hover{
  border-color:var(--red);
  color:var(--tx);
}
.light-mode .wing-team-filter.active,
.wing-team.light-mode .wing-team-filter.active{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}

/* ── Grid ── */
.wing-team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.75rem;
}

/* ── Card ── */
.wing-team-card{
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  transition:opacity .3s ease, transform .3s ease;
}
.wing-team-card--hidden{
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
}

/* ── Photo ── */
.wing-team-img{
  position:relative;
  aspect-ratio:3/4;
  border-radius:var(--r);
  overflow:hidden;
  background:rgba(255,255,255,.04);
}
.wing-team-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .45s ease, filter .45s ease;
}
.wing-team-img-placeholder{
  width:100%;
  height:100%;
  background:rgba(255,255,255,.06);
}

/* ── Hover — ONLY on linked cards (has LinkedIn) ── */
@media(hover:hover) and (pointer:fine){
  .wing-team-card--linked:hover .wing-team-img img{
    transform:scale(1.04);
    filter:grayscale(100%) brightness(.4) blur(3px);
  }
  .wing-team-card--linked:hover .wing-team-li-icon{
    opacity:1;
    transform:translateX(-50%) translateY(0);
  }
}

/* ── LinkedIn icon overlay — bottom center ── */
.wing-team-li-icon{
  position:absolute;
  bottom:1.25rem;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  opacity:0;
  transition:all .35s ease;
  color:#fff;
  background:var(--red);
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

/* ── Info ── */
.wing-team-info{
  padding:.875rem 0 0;
}
.wing-team-dept{
  margin-bottom:.35rem;
  display:inline-block;
}
.wing-team-name{
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1.25rem;
  line-height:1.2;
  margin:0;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.light-mode .wing-team-name,
.wing-team.light-mode .wing-team-name{
  color:var(--tx);
}
.wing-team-title{
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:.8125rem;
  color:rgba(255,255,255,.5);
  margin:.2rem 0 0;
  line-height:1.4;
}
.light-mode .wing-team-title,
.wing-team.light-mode .wing-team-title{
  color:var(--tx2);
}

/* ── Responsive ── */
@media(max-width:1024px){
  .wing-team-grid{
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
  }
}
@media(max-width:767px){
  .wing-team-grid{
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
  }
  .wing-team-hd{
    margin-bottom:2rem;
  }
  .wing-team-filters{
    gap:.4rem;
    margin-bottom:2rem;
  }
  .wing-team-filter{
    font-size:.5rem;
    padding:.45rem 1rem;
  }
  .wing-team-name{
    font-size:1rem;
  }
  .wing-team-title{
    font-size:.75rem;
  }
}


/* ═══════════════════════════════════════════
   NAV OVERRIDES — desktop parent + child size match
   ═══════════════════════════════════════════ */

/* Parent nav links — 20% larger than original .75rem, then reduced 10% */
@media (min-width: 769px) {
  .wing-nav .wing-nav-item > a,
  .wing-nav .wing-nav-link,
  .wing-nav a.wing-nav-link {
    font-size: .81rem !important;
    font-weight: 500 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  /* Child dropdown links — match parent exactly */
  .wing-nav-panel .wing-nav-panel-link,
  .wing-nav-panel a.wing-nav-panel-link {
    font-size: .81rem !important;
    font-weight: 500 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  /* Child panel glass — match parent nav glass */
  .wing-nav-panel {
    background: rgba(8,8,8,.82) !important;
    backdrop-filter: blur(22px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  }
}


/* ═══════════════════════════════════════════
   PORTFOLIO MODULE — .wing-portfolio
   ═══════════════════════════════════════════ */

.wing-portfolio {
  position: relative;
  overflow: hidden;
}
.wing-portfolio-in {
  position: relative;
  z-index: 2;
}

/* ── Header ── */
.wing-portfolio-hd {
  margin-bottom: 2.5rem;
}
.wing-portfolio-h {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  line-height: 1.08;
  color: #fff;
  margin: .5rem 0 0;
}
.wing-portfolio-h em {
  font-weight: 300;
  font-style: italic;
  opacity: .3;
}
.wing-portfolio-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin-top: .75rem;
}

/* ── Filter Bar ── */
.wing-pf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: center;
}
.wing-pf-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.wing-pf-filter-group + .wing-pf-filter-group {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255,255,255,.1);
}
.wing-pf-fbtn {
  padding: .5rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  color: rgba(255,255,255,.5);
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
  white-space: nowrap;
}
.wing-pf-fbtn:hover {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.8);
}
.wing-pf-fbtn.active {
  border-color: var(--red);
  color: #fff;
  background: rgba(179,8,56,.12);
}

/* ── Grid ── */
.wing-pf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

/* ── Card ── */
.wing-pf-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.wing-pf-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.wing-pf-card-link {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}
.wing-pf-card-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--black);
}
.wing-pf-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.25,1,.5,1);
}

/* ── Card hover overlay ── */
.wing-pf-card-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.92) 0%, rgba(8,8,8,0) 55%);
  opacity: 0;
  transition: opacity .4s;
}
.wing-pf-card-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.25,1,.5,1);
  z-index: 3;
  border-radius: var(--r) var(--r) 0 0;
}

/* ── Card info ── */
.wing-pf-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.25,1,.5,1), opacity .4s;
}
.wing-pf-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  line-height: 1.2;
}
.wing-pf-card-meta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}

/* ── Card hover states ── */
@media (hover: hover) and (pointer: fine) {
  .wing-pf-card-link:hover .wing-pf-card-img {
    transform: scale(1.05);
  }
  .wing-pf-card-link:hover .wing-pf-card-ov {
    opacity: 1;
  }
  .wing-pf-card-link:hover::before {
    transform: scaleX(1);
  }
  .wing-pf-card-link:hover .wing-pf-card-info {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── Load More ── */
.wing-pf-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Lightbox ── */
.wing-pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.wing-pf-lightbox.wing-pf-lb-open {
  opacity: 1;
  visibility: visible;
}
.wing-pf-lb-body {
  position: relative;
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wing-pf-lb-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--r);
}
.wing-pf-lb-meta {
  margin-top: .75rem;
  text-align: center;
}
.wing-pf-lb-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  display: block;
}
.wing-pf-lb-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-top: .2rem;
}
.wing-pf-lb-caption {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-top: .35rem;
}
.wing-pf-lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: .5rem;
  line-height: 1;
  transition: color .25s;
}
.wing-pf-lb-close:hover { color: #fff; }
.wing-pf-lb-prev,
.wing-pf-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .25s, color .25s, border-color .25s;
}
.wing-pf-lb-prev:hover,
.wing-pf-lb-next:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.wing-pf-lb-prev { left: 1.5rem; }
.wing-pf-lb-next { right: 1.5rem; }

/* ── Light mode overrides ── */
.wing-portfolio.light-mode .wing-portfolio-h { color: var(--tx); }
.wing-portfolio.light-mode .wing-portfolio-h em { opacity: .2; }
.wing-portfolio.light-mode .wing-portfolio-desc { color: var(--tx2); }
.wing-portfolio.light-mode .wing-pf-fbtn {
  border-color: rgba(0,0,0,.12);
  color: var(--tx2);
}
.wing-portfolio.light-mode .wing-pf-fbtn:hover {
  border-color: rgba(0,0,0,.25);
  color: var(--tx);
}
.wing-portfolio.light-mode .wing-pf-fbtn.active {
  border-color: var(--red);
  color: var(--tx);
  background: rgba(179,8,56,.06);
}
.wing-portfolio.light-mode .wing-pf-filter-group + .wing-pf-filter-group {
  border-left-color: rgba(0,0,0,.08);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wing-pf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wing-portfolio-h {
    font-size: 2.25rem;
  }
}
@media (max-width: 768px) {
  .wing-pf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .wing-portfolio-h {
    font-size: 1.75rem;
  }
  .wing-pf-filters {
    flex-direction: column;
    gap: .75rem;
    align-items: flex-start;
  }
  .wing-pf-filter-group {
    flex-wrap: wrap;
    width: 100%;
  }
  .wing-pf-filter-group + .wing-pf-filter-group {
    padding-left: 0;
    border-left: none;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .wing-pf-lb-prev { left: .5rem; }
  .wing-pf-lb-next { right: .5rem; }
  .wing-pf-lb-close { top: .75rem; right: .75rem; }

  /* Mobile: show info always */
  .wing-pf-card-ov { opacity: 1; }
  .wing-pf-card-info {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .wing-pf-fbtn {
    font-size: .62rem;
    padding: .4rem .85rem;
  }
}