/* Futimis — rebuilt from the live Squarespace site (Oct 2026) */
:root {
  --header-bg: #140800;
  --footer-bg: #201a16;
  --nav: #9c9999;
  --nav-hover: #ffffff;
  --text: #1f1f1f;
  --heading: #1c1c1c;
  --muted: rgba(31, 31, 31, 0.4);
  --accent: #ff4d00;
  --link: rgba(12, 97, 207, 0.81);
  --mission-bg: #efefef;
  --rule: #e2e2e2;
  --font: var(--brand-font, 'Montserrat'), 'Helvetica Neue', Arial, sans-serif;
  --container: 50%;
  --container-max: 1020px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--footer-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { opacity: 0.8; }

.container {
  width: var(--container);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (max-width: 1280px) { :root { --container: 66%; } }
@media (max-width: 1024px) { :root { --container: 82%; } }
@media (max-width: 640px)  { :root { --container: calc(100% - 32px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
}
@media (min-width: 1600px) { .site-header { height: 89px; padding: 0 24px; } }
.site-header .logo img { height: 40px; width: auto; }
@media (min-width: 1600px) { .site-header .logo img { height: 50px; } }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > a,
.main-nav > .nav-item > button {
  display: block; padding: 10px 11px;
  font: 500 11px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: none; border: 0; cursor: pointer;
}
@media (min-width: 1600px) {
  .main-nav > .nav-item > a, .main-nav > .nav-item > button { font-size: 13px; padding: 10px 14px; }
}
.main-nav > .nav-item > a:hover,
.main-nav > .nav-item > button:hover { opacity: 1; color: var(--nav-hover); }
.main-nav > .nav-item.active > a,
.main-nav > .nav-item.active > button { color: var(--nav); }

.main-nav .nav-button > a {
  border: 2px solid #fff; border-radius: 999px;
  padding: 10px 14px !important; margin-left: 10px;
  font-weight: 600 !important;
}
.main-nav .nav-button > a:hover { background: #fff; color: var(--header-bg); }

.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 230px; padding: 10px 0;
  background: var(--header-bg);
  opacity: 0; visibility: hidden; transition: opacity .15s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: block; padding: 7px 20px; text-align: center;
  font: 500 11px/1.4 var(--font); letter-spacing: 2px; text-transform: uppercase;
  color: var(--nav);
}
.dropdown a:hover, .dropdown a.active { color: #fff; opacity: 1; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 62px 0 0 0; background: var(--header-bg);
    flex-direction: column; align-items: stretch; overflow-y: auto; padding: 20px 0 40px;
    transform: translateX(100%); transition: transform .25s;
  }
  body.menu-open .main-nav { transform: none; }
  .main-nav > .nav-item > a, .main-nav > .nav-item > button { font-size: 14px; padding: 14px 24px; text-align: center; width: 100%; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; display: none; background: transparent; }
  .nav-item.open .dropdown { display: block; }
  .main-nav .nav-button > a { margin: 16px auto 0; width: auto; display: inline-block; }
  .main-nav .nav-button { text-align: center; }
}

/* ---------- Page shell ---------- */
main { background: #fff; }
.page { padding: 80px 0 90px; }
.page h1 { font-size: 30px; font-weight: 300; line-height: 1.2; color: var(--heading); margin: 0 0 22px; }
.page h2 { font-size: 22px; font-weight: 300; line-height: 1.2; color: var(--text); margin: 30px 0 14px; }
.page h3 {
  font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); margin: 28px 0 10px;
}
.page p, .page li { font-size: 13px; line-height: 1.65; margin: 0 0 14px; }
.page ul { padding-left: 22px; margin: 0 0 18px; }
.page li { margin-bottom: 6px; }
.page strong { font-weight: 700; }
@media (min-width: 1600px) {
  .page h1 { font-size: 42px; } .page h2 { font-size: 32px; } .page h3 { font-size: 18px; }
  .page p, .page li { font-size: 16px; line-height: 1.6; }
}

/* Folder pages with the left-hand sub navigation */
.with-subnav { display: grid; grid-template-columns: 160px 1fr; gap: 50px; }
.subnav h2 { font-size: 18px !important; margin: 0 0 10px !important; color: var(--text) !important; font-weight: 300 !important; }
.subnav a { display: block; font-size: 11px; line-height: 1.35; margin: 0 0 9px; color: var(--muted); }
.subnav a.active { color: var(--text); }
@media (min-width: 1600px) { .subnav a { font-size: 16px; } .subnav h2 { font-size: 26px !important; } .with-subnav { grid-template-columns: 220px 1fr; } }
@media (max-width: 760px) { .with-subnav { grid-template-columns: 1fr; gap: 24px; } }
.with-subnav .content > :first-child { margin-top: 0; }

.centered-title { text-align: center; }

/* ---------- Home ---------- */
.hero {
  position: relative; height: 40vh; min-height: 300px;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; color: #fff; padding: 0 20px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.hero > * { position: relative; }
.hero h1 { margin: 0 0 18px; font-size: 40px; font-weight: 700; letter-spacing: 0; line-height: 1.1; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero p { margin: 0; max-width: 680px; font-size: 14px; letter-spacing: 3px; line-height: 1.4; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
@media (min-width: 1600px) { .hero h1 { font-size: 56px; } .hero p { font-size: 20px; max-width: 900px; letter-spacing: 4px; } }
@media (max-width: 640px) { .hero h1 { font-size: 30px; } .hero p { font-size: 12px; letter-spacing: 2px; } }

.home-intro { padding: 74px 0 60px; }
.home-intro p { font-size: 11.5px; line-height: 1.6; }
@media (min-width: 1600px) { .home-intro p { font-size: 16px; } }

.thumb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 26px; }
.thumb-grid a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f4; }
.thumb-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb-grid a:hover { opacity: 1; }
.thumb-grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .thumb-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 480px) { .thumb-grid { grid-template-columns: repeat(2, 1fr); } }

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 60px 0 50px; }

.feature { display: grid; grid-template-columns: 38% 1fr; gap: 28px; align-items: start; margin-bottom: 44px; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature h3 { text-align: center; margin: 4px 0 14px !important; }
.feature h3 a { color: var(--accent); }
.feature p { font-size: 11.5px; }
@media (min-width: 1600px) { .feature p { font-size: 16px; } }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; } }

.home-video { margin: 20px 0 30px; aspect-ratio: 16 / 9; background: #000; }
.home-video video { width: 100%; height: 100%; }

/* ---------- Grids (products, stadiums, airports) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; margin-top: 10px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { text-align: center; color: var(--text); }
.card .ph { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.card .ph img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.card.cover .ph img { object-fit: cover; }
.card span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .5px; }
@media (min-width: 1600px) { .card span { font-size: 14px; } }
@media (max-width: 760px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Image galleries + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery figure { margin: 0; }
.gallery a { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover { opacity: 1; } .gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 10px; text-align: center; margin-top: 6px; color: var(--text); }
@media (min-width: 1600px) { .gallery figcaption { font-size: 13px; } }
@media (max-width: 760px) { .gallery, .gallery.cols-5 { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; }
.lightbox .lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 13px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 300 44px/1 var(--font); padding: 16px; opacity: .75;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 14px; font-size: 36px !important; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Detail pages: slideshow ---------- */
.slideshow { margin: 10px 0 46px; }
.slideshow .stage { position: relative; aspect-ratio: 3 / 2; background: #f4f4f4; overflow: hidden; }
.slideshow .stage img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.slideshow .stage button {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.75); border: 0; width: 40px; height: 40px; border-radius: 50%;
  font-size: 22px; cursor: pointer; color: #222;
}
.slideshow .prev { left: 12px; } .slideshow .next { right: 12px; }
.slideshow .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.slideshow .thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; background: #f4f4f4; cursor: pointer; opacity: .6; }
.slideshow .thumbs button.on { border-color: var(--text); opacity: 1; }
.slideshow .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-intro { text-align: center; }
.detail-intro p { font-size: 11px; }
@media (min-width: 1600px) { .detail-intro p { font-size: 14px; } }

/* ---------- Case studies ---------- */
.cs-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: 28px; }
.cs-head h1 { margin: 0 !important; }
.cs-count { margin: 0 !important; font-size: 11px !important; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.cs-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; margin-bottom: 70px; }
.cs-index a { color: var(--text); display: block; }
.cs-index a:hover { opacity: 1; }
.cs-index a:hover .cs-name { color: var(--accent); }
.cs-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f2f2f2; }
.cs-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cs-index a:hover .cs-thumb img { transform: scale(1.05); }
.cs-num { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 3px; color: var(--accent); font-weight: 500; }
.cs-name { display: block; font-size: 12px; line-height: 1.35; margin-top: 2px; }
.cs-study { padding-top: 30px; margin-bottom: 80px; scroll-margin-top: 80px; }
.cs-hero { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f2f2f2; }
.cs-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cs-hero:hover { opacity: 1; } .cs-hero:hover img { transform: scale(1.02); }
.cs-body { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-top: 30px; align-items: start; }
.cs-meta { position: sticky; top: 90px; border-top: 2px solid var(--accent); padding-top: 14px; }
.cs-meta .cs-num { margin-top: 0; font-size: 28px; letter-spacing: 1px; font-weight: 300; }
.cs-meta h2 { margin: 6px 0 16px !important; font-size: 20px !important; line-height: 1.25 !important; }
.cs-meta dl { margin: 0 0 18px; font-size: 12px; }
.cs-meta dt { text-transform: uppercase; letter-spacing: 2px; font-size: 10px; color: var(--muted); margin-top: 10px; }
.cs-meta dd { margin: 2px 0 0; }
.cs-top { font-size: 11px; letter-spacing: 1px; }
.cs-text p:first-child { font-size: 15px !important; line-height: 1.6 !important; color: var(--heading); }
@media (min-width: 1600px) { .cs-name { font-size: 15px; } .cs-text p:first-child { font-size: 19px !important; } .cs-body { grid-template-columns: 280px 1fr; } }
@media (max-width: 900px) { .cs-index { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cs-index { grid-template-columns: repeat(2, 1fr); } .cs-body { grid-template-columns: 1fr; gap: 16px; } .cs-meta { position: static; } }

/* ---------- Lazarus ---------- */
.banner-stack { display: grid; gap: 26px; margin: 10px 0 40px; }
.banner-stack figure { margin: 0; }
.banner-stack img { width: 100%; }
.banner-stack h3 { margin: 14px 0 6px !important; }
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; text-align: center; }
.three-up h2 { font-size: 18px !important; margin: 0 0 12px !important; }
@media (max-width: 760px) { .three-up { grid-template-columns: 1fr; } }
.pull-quote { text-align: center; margin-top: 40px !important; line-height: 1.6 !important; letter-spacing: 2px !important; }

.cta { display: inline-block; margin-top: 10px; padding: 14px 28px; border: 2px solid var(--text); border-radius: 999px; color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.cta:hover { background: var(--text); color: #fff; opacity: 1; }

.airport-list { columns: 4; column-gap: 20px; margin: 10px 0 30px; padding: 0; list-style: none; }
.airport-list li { font-weight: 700; margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 640px) { .airport-list { columns: 3; } }

/* Contact page: two columns (Maggie + address left, department emails right) */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 640px) { .contact-cols { grid-template-columns: 1fr; gap: 0; } }

/* Contact page map */
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 30px 0 8px; background: #eee; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 3; } }
.page p.map-link { font-size: 12px; }

.figure-caption { font-size: 12px; text-align: center; margin-top: 10px; color: #555; }

/* ---------- Mission strip + footer ---------- */
.mission { background: var(--mission-bg); padding: 22px 16px; text-align: center; }
.mission p { margin: 0; font-style: italic; font-size: 11.5px; color: #333; letter-spacing: .5px; }
@media (min-width: 1600px) { .mission p { font-size: 16px; } }

.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.4); text-align: center; padding: 56px 16px 60px; font-size: 11px; }
.site-footer .footer-link { color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; }
.footer-logos { display: flex; justify-content: center; gap: 22%; align-items: center; margin: 40px 0 46px; }
.footer-logos img { height: 34px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .85; }
.site-footer .copyright { margin: 0; letter-spacing: .5px; }
.site-footer .copyright a { color: rgba(255,255,255,.6); }
@media (min-width: 1600px) { .site-footer, .site-footer .footer-link { font-size: 14px; } .footer-logos img { height: 50px; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 200; background: #fff; padding: 8px; }

/* ---------- Rounded corners on in-page images ---------- */
:root { --radius: 6px; }
.thumb-grid a, .gallery a, .card .ph, .feature img, .slideshow .stage, .slideshow .thumbs button,
.cs-thumb, .cs-hero, .banner-stack img, .three-up img, .page figure img, .map-embed,
.with-subnav .content > img, .study img { border-radius: var(--radius); overflow: hidden; }
.slideshow .thumbs button { border-radius: 4px; }
