:root {
  --black: #061322;
  --white: #ffffff;
  --off-white: #f3f7fb;
  --yellow: #ffda1a;
  --blue: #055295;
  --blue-deep: #023b70;
  --blue-soft: #dfeefa;
  --line: #cbd8e5;
  --text: #061322;
  --muted: #425267;
  --max: 1240px;
  --shadow: 0 6px 18px rgba(2, 59, 112, 0.16);
}

* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.nav-links > a, .nav-trigger { position: relative; }
.nav-links > a::after, .nav-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-links > a:hover::after, .nav-trigger:hover::after { transform: scaleX(1); }
.featured-panel a { color: var(--white); }
.story-detail span { color: var(--yellow); font-weight: 900; }
.footer a:hover { color: var(--yellow); }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; color: var(--text); background: var(--white); font-stretch: condensed; }
a { color: inherit; }
img { display: block; width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-140%); background: var(--yellow); padding: 10px 14px; z-index: 999; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-shell.narrow { max-width: 1060px; }

.brand-strip { min-height: 78px; padding: 0 48px; display: flex; align-items: center; justify-content: flex-start; background: var(--white); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; object-fit: contain; }
.brand-logo-primary { height: 48px; max-width: 300px; }
.brand-logo-nav { height: 24px; max-width: 150px; }
.brand-logo-footer { height: 78px; max-width: 300px; }
.socials { display: flex; gap: 22px; align-items: center; font-family: Arial, sans-serif; font-weight: 800; font-size: 20px; }
.socials a, .footer-socials a { text-decoration: none; }
.main-nav { position: relative; min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 48px; background: var(--blue-deep); color: var(--white); z-index: 80; }
.site-header.is-sticky .brand-strip { display: none; }
.site-header.is-sticky .main-nav { position: fixed; top: 0; left: 0; right: 0; }
.site-header.is-sticky + main { padding-top: 48px; }
.brand-mobile { display: none; color: var(--white); }
.site-header.is-sticky .brand-mobile { display: inline-flex; }
.nav-links { grid-column: 2; display: flex; align-items: stretch; gap: 70px; min-height: 48px; }
.nav-links > a, .nav-trigger { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: transparent; color: var(--white); text-decoration: none; font-weight: 900; font-size: 17px; letter-spacing: .1px; }
.nav-trigger span { color: var(--yellow); font-size: 21px; line-height: 1; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.socials-nav { justify-self: end; font-size: 18px; gap: 20px; }
.menu-toggle { display: none; background: transparent; color: var(--white); border: 1px solid #444; padding: 8px 12px; }
.mega-menu { position: fixed; top: 126px; left: 50%; width: min(770px, calc(100vw - 60px)); transform: translate(-50%, -10px); display: grid; grid-template-columns: repeat(3, 1fr); background: #f6f6f6; color: var(--black); box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease; }
.site-header.is-sticky .mega-menu { top: 48px; }
.nav-item.open .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.mega-menu::before { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #f6f6f6; }
.mega-menu > a { padding: 25px 20px; min-height: 192px; border-right: 1px solid #ddd; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.mega-menu > a:last-child { border-right: 0; }
.mega-menu strong { font-size: 17px; }
.mega-menu span { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.45; color: #333; }
.mega-menu b { color: var(--blue); margin-top: auto; }
.mega-wide { grid-template-columns: 240px 1fr; padding: 25px; }
.mega-intro { font-family: Arial, sans-serif; line-height: 1.5; padding-right: 20px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.mega-list a { text-decoration: none; font-weight: 800; border-bottom: 1px solid #d0d0d0; padding: 11px 2px; }

.announcement { background: var(--yellow); text-align: center; padding: 11px 20px; font-family: Georgia, serif; font-size: 15px; }
.hero { overflow: hidden; }
.shell-full { width: 100%; }
.story-carousel { position: relative; padding: 18px 0 0; overflow: hidden; }
.story-track { display: flex; gap: 28px; width: max-content; transform: translateX(-120px); transition: transform .45s ease; }
.story-card { position: relative; flex: 0 0 204px; height: 320px; overflow: visible; background: #ddd; }
.story-card img { height: 100%; object-fit: cover; object-position: center; filter: brightness(.78) saturate(.92); }
.story-overlay { position: absolute; left: 16px; right: 12px; bottom: 17px; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,.7); display: flex; flex-direction: column; font-size: 14px; }
.story-overlay span { color: var(--yellow); font-weight: 900; }
.story-detail { display: none; position: absolute; inset: 45px -12px -8px 12px; padding: 24px 20px; background: var(--blue); color: var(--white); z-index: 3; transform: rotate(-1deg); font-family: Arial, sans-serif; font-size: 14px; line-height: 1.25; }
.story-detail > * { transform: rotate(1deg); display: block; }
.story-detail strong { font-weight: 800; }
.story-detail p { margin: 16px 0 22px; }
.story-detail a { font-weight: 800; text-decoration: none; }
.story-card.active .story-detail { display: block; }
.story-card.active .story-overlay { display: none; }
.carousel-arrow { position: absolute; top: 130px; z-index: 8; width: 52px; height: 48px; border: 0; background: var(--blue); color: var(--white); font-size: 31px; }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }
.hero-title-wrap { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 65px 20px 80px; }
.hero h1 { margin: 0; text-align: center; font-size: clamp(42px, 4vw, 58px); line-height: 1.15; letter-spacing: .5px; }
.scroll-cue { margin-top: 38px; text-decoration: none; color: #9d9d9d; font-size: 46px; line-height: 1; }

.slanted { position: relative; background: linear-gradient(135deg, var(--off-white), #ffffff); clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }
.mission { padding: 125px 0; }
.eyebrow { margin: 0 0 36px; color: var(--blue); font-weight: 800; font-size: 22px; letter-spacing: 6px; }
.mission h2 { max-width: 980px; margin: 0 auto; font-size: clamp(28px, 3vw, 42px); line-height: 1.28; font-weight: 700; }
mark { background: var(--yellow); color: inherit; padding: 0 5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 70px 0 52px; }
.stats strong { display: block; color: var(--blue); font-size: 34px; }
.stats span { display: block; margin-top: 7px; font-family: Arial, sans-serif; font-size: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; padding: 14px 24px; text-decoration: none; font-weight: 900; font-size: 19px; border: 0; }
.button-dark { background: var(--blue-deep); color: var(--white); }
.button:hover { transform: translateY(-1px); }

.what-we-do, .news, .partners { padding: 85px 0 110px; }
.section-title { text-align: center; margin: 0; font-size: clamp(42px, 4vw, 58px); line-height: 1.1; }
.gold-rule { height: 2px; background: var(--blue); margin: 35px 0 68px; }
.section-intro { max-width: 1130px; margin: 0 auto 62px; text-align: center; font-family: Arial, sans-serif; font-size: 20px; line-height: 1.45; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; background: var(--blue); box-shadow: 0 20px 45px rgba(2, 59, 112, .12); }
.work-card { margin-top: -1px; color: var(--white); text-align: center; }
.work-card img { width: calc(100% - 54px); height: 328px; margin: -1px auto 0; object-fit: cover; }
.work-card > div { padding: 38px 34px 42px; min-height: 310px; }
.work-card h3 { margin: 0 0 22px; font-size: 22px; }
.work-card p { font-family: Arial, sans-serif; font-size: 19px; line-height: 1.45; margin: 0 0 25px; }
.work-card a { color: var(--white); text-decoration: none; font-weight: 900; font-size: 19px; }

.news .gold-rule { margin-bottom: 70px; }
.featured-story { position: relative; width: calc(100% - 110px); margin: 0 0 55px; }
.featured-story > img { width: 72%; height: 470px; object-fit: cover; }
.featured-panel { position: absolute; right: -110px; top: 60px; width: 46%; background: var(--blue); color: var(--white); padding: 55px 40px; }
.featured-panel h3 { margin: 0 0 18px; font-size: 28px; line-height: 1.3; }
.featured-panel p { margin: 0 0 22px; font-family: Arial, sans-serif; font-size: 20px; line-height: 1.45; }
.featured-panel a, .news-card a { text-decoration: none; font-weight: 900; font-size: 20px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-bottom: 45px; }
.news-card img { height: 310px; object-fit: cover; }
.news-card > div { position: relative; width: calc(100% - 42px); margin: -55px auto 0; padding: 22px 22px 25px; background: var(--white); }
.news-card h3 { margin: 0 0 25px; font-size: 29px; line-height: 1.22; }
.news-card a { color: var(--blue); }

.experience { padding: 120px 0 145px; overflow: hidden; }
.experience .section-title { margin-bottom: 76px; }
.experience-window { position: relative; overflow: hidden; }
.experience-track { display: flex; gap: 48px; transition: transform .4s ease; }
.experience-card { flex: 0 0 min(1080px, calc(100vw - 140px)); display: grid; grid-template-columns: 60% 40%; min-height: 360px; background: var(--white); }
.experience-media { position: relative; overflow: hidden; }
.experience-media img { height: 100%; object-fit: cover; }
.experience-media button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; border: 0; background: rgba(255,218,26,.82); color: var(--white); font-size: 36px; padding-left: 10px; }
.experience-copy { padding: 42px; font-family: Arial, sans-serif; }
.experience-copy h3 { margin: 0 0 24px; font-size: 24px; line-height: 1.35; }
.experience-copy p { font-size: 18px; }
.experience-copy a { color: var(--blue); text-decoration: none; }
.experience-controls { display: flex; gap: 16px; justify-content: flex-end; margin-top: 16px; }
.experience-controls button { border: 0; background: transparent; color: var(--blue); font-size: 45px; }

.partners { padding-top: 95px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 65px; align-items: center; margin: 90px 0 80px; }
.partner-logo { min-height: 85px; display: grid; place-content: center; font-family: Georgia, serif; font-weight: 800; font-size: 24px; line-height: 1.05; color: #222; }
.partner-logo small { font-family: Arial, sans-serif; font-size: 12px; font-weight: 500; }
.partner-logo.word { font-family: Arial, sans-serif; font-size: 25px; }

.newsletter { padding: 125px 0 110px; }
.newsletter-topics { margin: 48px 0 30px; display: flex; justify-content: center; gap: 60px; font-family: Arial, sans-serif; font-size: 18px; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1.9fr 1fr; gap: 18px; align-items: stretch; }
.newsletter-form input { width: 100%; height: 55px; border: 3px solid var(--blue); padding: 0 13px; font-family: Arial, sans-serif; font-size: 16px; background: transparent; }
.newsletter-form button { border: 0; background: var(--blue); color: var(--white); font-weight: 900; font-size: 21px; }
.form-status { min-height: 20px; font-family: Arial, sans-serif; }

.footer { background: var(--blue-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1.15fr; gap: 70px; padding: 68px 0 52px; }
.footer-brand { margin-bottom: 28px; }
.footer p { max-width: 320px; font-family: Arial, sans-serif; line-height: 1.45; font-size: 16px; }
.footer h3 { margin: 0 0 22px; font-size: 17px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 14px; }
.footer-grid a { text-decoration: none; font-family: Arial, sans-serif; font-size: 16px; }
.footer-socials { display: flex; gap: 45px; margin-top: 30px; font-family: Arial, sans-serif; font-size: 34px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.35); padding: 15px max(24px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; font-family: Arial, sans-serif; font-size: 14px; }
.footer-bottom span:last-child { display: flex; gap: 55px; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 1050px) {
  .brand-strip { display: none; }
  .main-nav { min-height: 64px; grid-template-columns: auto 1fr auto; padding: 0 22px; }
  .brand-mobile, .menu-toggle { display: inline-flex; }
  .brand-logo-nav { height: 22px; }
  .menu-toggle { justify-self: end; }
  .socials-nav { display: none; }
  .nav-links { position: absolute; display: none; top: 64px; left: 0; right: 0; grid-column: auto; background: var(--blue-deep); flex-direction: column; gap: 0; padding: 10px 22px 20px; }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { width: 100%; min-height: 50px; justify-content: space-between; }
  .nav-item { display: block; width: 100%; }
  .mega-menu, .site-header.is-sticky .mega-menu { position: static; width: 100%; transform: none; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; }
  .nav-item.open .mega-menu { display: grid; transform: none; }
  .mega-menu::before { display: none; }
  .mega-menu > a { min-height: 0; border-right: 0; border-bottom: 1px solid #ddd; padding: 17px; }
  .mega-wide { grid-template-columns: 1fr; }
  .site-header.is-sticky .main-nav { position: fixed; }
  .stats { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; gap: 0; }
  .work-card img { height: 360px; }
  .featured-story { width: 100%; }
  .featured-story > img { width: 100%; }
  .featured-panel { position: relative; right: auto; top: auto; width: 84%; margin: -80px 0 0 auto; }
  .experience-card { grid-template-columns: 1fr; flex-basis: calc(100vw - 80px); }
  .experience-media { min-height: 330px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, var(--max)); }
  .announcement { font-size: 13px; }
  .story-track { transform: translateX(-28px); gap: 14px; }
  .story-card { flex-basis: 178px; height: 290px; }
  .story-card.active .story-detail { display: none; }
  .story-card.active .story-overlay { display: flex; }
  .hero-title-wrap { min-height: 280px; padding: 55px 15px; }
  .hero h1 { font-size: 34px; }
  .mission, .experience, .newsletter { clip-path: none; }
  .mission { padding: 80px 0; }
  .eyebrow { font-size: 16px; letter-spacing: 4px; }
  .mission h2 { font-size: 26px; }
  .stats { grid-template-columns: 1fr; gap: 34px; margin: 50px 0; }
  .section-title { font-size: 38px; }
  .gold-rule { margin: 26px 0 42px; }
  .section-intro { font-size: 17px; }
  .what-we-do, .news, .partners { padding: 65px 0 80px; }
  .work-card img { width: calc(100% - 28px); height: 290px; }
  .work-card > div { min-height: 0; padding: 32px 22px 38px; }
  .featured-story > img { height: 320px; }
  .featured-panel { width: 92%; padding: 30px 24px; margin-top: -45px; }
  .featured-panel h3, .news-card h3 { font-size: 24px; }
  .featured-panel p { font-size: 17px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card img { height: 260px; }
  .experience { padding: 80px 0; }
  .experience .section-title { margin-bottom: 45px; }
  .experience-card { flex-basis: calc(100vw - 40px); }
  .experience-copy { padding: 26px; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; margin: 55px 0; }
  .partner-logo, .partner-logo.word { font-size: 18px; }
  .newsletter { padding: 80px 0; }
  .newsletter-topics { flex-direction: column; gap: 14px; align-items: center; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form button { min-height: 55px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 55px 0; }
  .brand-logo-footer { height: 66px; max-width: 255px; }
  .footer-bottom { flex-direction: column; gap: 18px; }
  .footer-bottom span:last-child { gap: 20px; flex-wrap: wrap; }
}


/* Real Innoest photo archive */
.gallery { padding: 95px 0 120px; background: var(--white); }
.gallery .section-intro { max-width: 900px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 205px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue-soft);
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(6),
.gallery-item:nth-child(12),
.gallery-item:nth-child(17) { grid-column: span 2; }
.gallery-item:nth-child(2),
.gallery-item:nth-child(5),
.gallery-item:nth-child(9),
.gallery-item:nth-child(14) { grid-row: span 2; }
.gallery-item:nth-child(10) { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 16px 14px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(transparent, rgba(2, 20, 38, .88));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.9); }
.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .gallery-item:nth-child(10) { grid-column: span 2; }
}

@media (max-width: 680px) {
  .gallery { padding: 65px 0 80px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(12),
  .gallery-item:nth-child(17) { grid-column: span 2; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(9),
  .gallery-item:nth-child(14) { grid-row: span 1; }
  .gallery-item figcaption { opacity: 1; transform: none; font-size: 13px; padding: 34px 11px 10px; }
}

/* Navigation and slider refinement — v4 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid rgba(2, 59, 112, .12);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-sticky {
  border-bottom-color: transparent;
  box-shadow: 0 10px 35px rgba(6, 19, 34, .12);
}
.site-header.is-sticky + main { padding-top: 0; }
.nav-shell {
  width: min(1320px, calc(100% - 64px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand-logo-primary { height: 46px; max-width: 250px; }
.main-nav,
.site-header.is-sticky .main-nav {
  position: static;
  min-height: 0;
  height: 100%;
  margin-left: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
  background: transparent;
  color: var(--blue-deep);
  z-index: auto;
}
.main-nav > .nav-link,
.main-nav .nav-trigger {
  position: relative;
  min-height: 84px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .055em;
  white-space: nowrap;
}
.main-nav > .nav-link::after,
.main-nav .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav > .nav-link:hover::after,
.main-nav .nav-trigger:hover::after,
.nav-item.open .nav-trigger::after { transform: scaleX(1); }
.nav-trigger span { color: var(--blue); font-size: 18px; transition: transform .2s ease; }
.nav-item.open .nav-trigger span { transform: rotate(180deg); }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-cta {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .045em;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(6, 19, 34, .14); }
.menu-toggle { display: none; }

.mega-menu,
.site-header.is-sticky .mega-menu {
  position: fixed;
  top: 84px;
  left: 50%;
  width: min(820px, calc(100vw - 48px));
  transform: translate(-50%, -10px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  border-top: 4px solid var(--yellow);
  box-shadow: 0 24px 60px rgba(6, 19, 34, .2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-item.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.mega-menu::before { display: none; }
.mega-menu > a {
  min-height: 220px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: background .2s ease;
}
.mega-menu > a:hover { background: var(--off-white); }
.mega-menu strong { font-size: 20px; line-height: 1.15; color: var(--blue-deep); }
.mega-menu span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.mega-menu b { margin-top: auto; color: var(--blue); font-size: 15px; }
.mega-wide { grid-template-columns: 260px 1fr; width: min(900px, calc(100vw - 48px)); padding: 30px; }
.mega-intro { padding: 4px 28px 4px 2px; font-size: 17px; line-height: 1.55; color: var(--muted); border-right: 1px solid var(--line); }
.mega-list { padding-left: 28px; }
.mega-list a { color: var(--blue-deep); }

.announcement {
  padding: 10px 20px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
}
.announcement a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero { overflow: hidden; background: var(--blue-deep); }
.story-carousel {
  position: relative;
  height: clamp(540px, 66vw, 690px);
  padding: 0;
  overflow: hidden;
  background: var(--blue-deep);
  touch-action: pan-y;
}
.story-track {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 0;
  transform: translate3d(0, 0, 0);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.story-card {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--blue-deep);
}
.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 24, 45, .88) 0%, rgba(2, 34, 62, .64) 42%, rgba(2, 34, 62, .14) 78%),
    linear-gradient(0deg, rgba(2, 24, 45, .65) 0%, transparent 45%);
}
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.01);
  transition: transform 6.8s ease;
}
.story-card.active img { transform: scale(1.07); }
.story-content {
  position: absolute;
  left: 50%;
  bottom: 112px;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--white);
}
.slide-kicker {
  margin: 0 0 18px;
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.story-content h1,
.story-content h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-align: left;
}
.slide-copy {
  max-width: 640px;
  margin: 24px 0 30px;
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}
.button-yellow { background: var(--yellow); color: var(--blue-deep); }
.slider-ui {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.story-dots,
.carousel-controls { display: flex; align-items: center; pointer-events: auto; }
.story-dots { gap: 10px; }
.story-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .45);
  transition: width .25s ease, background .25s ease;
}
.story-dot.active { width: 58px; background: var(--yellow); }
.carousel-controls { gap: 14px; }
.carousel-arrow {
  position: static;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(2, 59, 112, .48);
  color: var(--white);
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.carousel-arrow:hover { background: var(--yellow); color: var(--blue-deep); border-color: var(--yellow); }
.slide-counter { min-width: 58px; color: var(--white); font-family: Arial, sans-serif; font-size: 13px; font-weight: 800; text-align: center; }
.story-overlay, .story-detail, .hero-title-wrap { display: none !important; }

.experience-window { max-width: 1120px; margin: 0 auto; overflow: hidden; }
.experience-track { gap: 24px; }
.experience-card {
  flex: 0 0 100%;
  min-width: 100%;
  grid-template-columns: 58% 42%;
  border: 1px solid rgba(2,59,112,.12);
  box-shadow: 0 18px 45px rgba(2,59,112,.1);
}
.experience-copy { display: flex; flex-direction: column; justify-content: center; }
.experience-controls { margin-top: 22px; }
.experience-controls button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  font-size: 24px;
  transition: background .2s ease, color .2s ease;
}
.experience-controls button:hover { background: var(--blue); color: var(--white); }

@media (max-width: 1080px) {
  body.nav-open { overflow: hidden; }
  .nav-shell { width: min(100% - 36px, 1320px); height: 72px; }
  .brand-logo-primary { height: 40px; max-width: 220px; }
  .menu-toggle {
    margin-left: auto;
    padding: 8px 0 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--blue-deep);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .menu-icon { width: 24px; display: grid; gap: 5px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav,
  .site-header.is-sticky .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 72px);
    margin: 0;
    padding: 12px 18px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: var(--white);
    color: var(--blue-deep);
    border-top: 1px solid var(--line);
    box-shadow: 0 25px 45px rgba(6, 19, 34, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-item { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--line); }
  .main-nav > .nav-link,
  .main-nav .nav-trigger {
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
    color: var(--blue-deep);
    font-size: 15px;
  }
  .main-nav > .nav-link { border-bottom: 1px solid var(--line); }
  .main-nav > .nav-link::after,
  .main-nav .nav-trigger::after { display: none; }
  .nav-cta { width: 100%; min-height: 52px; margin-top: 18px; }
  .mega-menu,
  .site-header.is-sticky .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 14px;
    background: var(--off-white);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-item.open .mega-menu { display: grid; transform: none; }
  .mega-menu > a { min-height: 0; padding: 18px; border: 0; border-bottom: 1px solid var(--line); }
  .mega-menu > a:last-child { border-bottom: 0; }
  .mega-menu strong { font-size: 17px; }
  .mega-wide { grid-template-columns: 1fr; }
  .mega-intro { padding: 18px; border: 0; border-bottom: 1px solid var(--line); }
  .mega-list { padding: 0 18px; display: grid; grid-template-columns: 1fr; }
  .story-carousel { height: clamp(560px, 78vw, 660px); }
  .story-content h1, .story-content h2 { max-width: 760px; font-size: clamp(44px, 7vw, 68px); }
}

@media (max-width: 680px) {
  .nav-shell { width: calc(100% - 28px); height: 68px; }
  .brand-logo-primary { height: 34px; max-width: 185px; }
  .menu-label { display: none; }
  .main-nav, .site-header.is-sticky .main-nav { max-height: calc(100vh - 68px); }
  .announcement { padding: 9px 16px; font-size: 12px; line-height: 1.4; }
  .story-carousel { height: 590px; }
  .story-card::after {
    background:
      linear-gradient(0deg, rgba(2, 24, 45, .94) 0%, rgba(2, 34, 62, .64) 55%, rgba(2, 34, 62, .12) 100%);
  }
  .story-card img { object-position: center; }
  .story-content { bottom: 96px; }
  .slide-kicker { margin-bottom: 13px; font-size: 11px; line-height: 1.4; }
  .story-content h1, .story-content h2 { font-size: clamp(36px, 11vw, 49px); line-height: 1; }
  .slide-copy { margin: 18px 0 24px; font-size: 16px; line-height: 1.45; }
  .story-content .button { min-width: 0; padding: 12px 18px; font-size: 16px; }
  .slider-ui { bottom: 20px; }
  .story-dots { gap: 6px; }
  .story-dot { width: 15px; height: 3px; }
  .story-dot.active { width: 30px; }
  .carousel-controls { gap: 8px; }
  .carousel-arrow { width: 40px; height: 40px; font-size: 20px; }
  .slide-counter { display: none; }
  .experience-card { grid-template-columns: 1fr; }
  .experience-media { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-track, .story-card img, .main-nav, .mega-menu { transition: none !important; }
}

/* Full lower-page imagery — v7
   Keep every photo visible, but remove the visible grey fill behind image
   containers so the cards sit cleanly on the page background. */
.work-card img,
.featured-story > img,
.news-card img,
.experience-media img {
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
}

/* Keep the experience photo fully visible inside its media panel without the
   previous grey placeholder background. */
.experience-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.experience-media img {
  width: 100%;
  height: 100%;
  transform: none !important;
}

/* Natural-height masonry gallery: no fixed crop, no forced aspect ratio. */
.gallery-grid {
  display: block;
  column-count: 4;
  column-gap: 14px;
}
.gallery-item,
.gallery-item:nth-child(n) {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  grid-column: auto;
  grid-row: auto;
  vertical-align: top;
  background: transparent;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: none !important;
  filter: none;
}
.gallery-item:hover img {
  transform: none;
  filter: brightness(.94);
}

@media (max-width: 1050px) {
  .gallery-grid { column-count: 3; }
}

@media (max-width: 680px) {
  .gallery-grid {
    display: block;
    column-count: 2;
    column-gap: 8px;
  }
  .gallery-item,
  .gallery-item:nth-child(n) { margin-bottom: 8px; }
}

@media (max-width: 430px) {
  .gallery-grid { column-count: 1; }
}

/* CMS support: no design changes, only safe visibility and loading states. */
.is-cms-hidden { display: none !important; }
.partner-logo-image { padding: 14px; }
.partner-logo-image img { width: 100%; max-width: 165px; max-height: 68px; margin: auto; object-fit: contain; }

/* Multipage structure — v8 */
.main-nav > .nav-link.current::after,
.nav-item.current .nav-trigger::after {
  transform: scaleX(1);
}
.nav-cta.current {
  box-shadow: inset 0 -4px 0 var(--blue-deep);
}
.mega-menu a[aria-current="page"] {
  background: var(--off-white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--blue-deep);
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -220px;
  border: 68px solid rgba(255, 218, 26, .12);
  border-radius: 50%;
}
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.page-hero-copy { max-width: 720px; }
.page-hero .eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(45px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.page-hero-copy > p:last-child {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .84);
  font-family: Arial, sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.page-hero-media {
  position: relative;
  min-height: 380px;
  background: var(--white);
  box-shadow: 24px 24px 0 var(--yellow);
}
.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

.involvement {
  padding: 105px 0 120px;
  background: var(--white);
}
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.involvement-card {
  position: relative;
  min-height: 260px;
  padding: 34px 34px 30px;
  overflow: hidden;
  background: var(--off-white);
  border-top: 6px solid var(--blue);
}
.involvement-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -48px;
  bottom: -48px;
  background: var(--yellow);
  transform: rotate(18deg);
}
.involvement-number {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
}
.involvement-card h3 {
  max-width: 430px;
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.05;
}
.involvement-card p {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.involvement-card a {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

body[data-page="work"] .what-we-do,
body[data-page="stories"] .news,
body[data-page="about"] .gallery,
body[data-page="involved"] .involvement {
  padding-top: 105px;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { min-height: 300px; box-shadow: 14px 14px 0 var(--yellow); }
  .page-hero-media img { min-height: 300px; }
}

@media (max-width: 680px) {
  .page-hero { padding: 56px 0 72px; }
  .page-hero-grid { gap: 38px; }
  .page-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .page-hero-copy > p:last-child { font-size: 17px; }
  .page-hero-media, .page-hero-media img { min-height: 230px; }
  .involvement { padding: 70px 0 85px; }
  .involvement-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .involvement-card { min-height: 0; padding: 28px 24px 26px; }
}


/* Production polish — v9 */
[id] { scroll-margin-top: 104px; }
.newsletter-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.newsletter-form button {
  min-height: 55px;
  transition: opacity .2s ease, transform .2s ease;
}
.newsletter-form button:disabled {
  cursor: wait;
  opacity: .65;
}
.form-status {
  margin: 18px 0 0;
  font-weight: 700;
}
.form-note {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
.page-hero-media,
.work-card img,
.featured-story > img,
.news-card img,
.experience-media,
.experience-media img,
.gallery-item,
.gallery-item img {
  background-color: transparent;
}
@media (max-width: 680px) {
  html { scroll-padding-top: 78px; }
  [id] { scroll-margin-top: 78px; }
  .newsletter-topics { gap: 14px 24px; flex-wrap: wrap; }
  .form-note { font-size: 12px; }
}

/* Branded 404 page */
.error-page { min-height: 100vh; background: var(--off-white); }
.error-main {
  min-height: 100vh;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0;
}
.error-brand img { width: auto; height: 54px; max-width: 240px; object-fit: contain; }
.error-code { margin-top: 70px; color: var(--yellow); font-size: clamp(88px, 18vw, 190px); font-weight: 900; line-height: .72; letter-spacing: -.08em; }
.error-main h1 { margin: 35px 0 14px; font-size: clamp(38px, 7vw, 68px); line-height: 1; }
.error-main p { max-width: 560px; margin: 0 0 32px; color: var(--muted); font-family: Arial, sans-serif; font-size: 19px; line-height: 1.55; }
