/* CICOMER — responsive rebuild of the original Wix design */

:root {
  --blue: #3289c7;
  --navy: #273b7b;
  --deep-blue: #215b85;
  --text: #2f2e2e;
  --pink: #f16876;
  --pink-hover: #f48e98;
  --periwinkle: #8999d0;
  --lavender: #e8ecf8;
  --gray: #f0f0f0;
  --line: #a0a09f;
  --light: avenir-lt-w01_35-light1475496, "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --heavy: avenir-lt-w01_85-heavy1475544, "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --shadow-3d: #c8c8c8 1px 1px 0, #b4b4b4 0 2px 0, #a0a0a0 0 3px 0, rgba(140, 140, 140, .5) 0 4px 0, #787878 0 0 0, rgba(0, 0, 0, .5) 0 5px 10px;
  --site: 980px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 17px/normal var(--light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: normal; }

.container {
  width: 100%;
  max-width: var(--site);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Paragraph spacing: the original separates paragraphs with one blank line */
.prose > * + * { margin-top: 1.18em; }
.justify { text-align: justify; }

/* Type scale */
.h-section {               /* "Areas of Work", "Need more details? …" */
  font: 33px/normal var(--heavy);
  color: var(--text);
}
.h-blue {                  /* "Our Story", "Approach", "Services" … */
  font: bold 33px/normal var(--heavy);
  color: var(--blue);
  letter-spacing: .07em;
}
.h-sub {                   /* project titles */
  font: bold 20px/normal var(--light);
  color: var(--blue);
}
.label-blue { font-weight: bold; color: var(--blue); }
.small { font-size: 14px; }
.small-navy { font-size: 14px; color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  font: 17px/1.4 var(--light);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .4s ease;
}
.btn:hover { background: var(--pink-hover); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.btn-lg { width: 200px; height: 53px; font-size: 20px; }
.btn-md { width: 214px; height: 49px; }
.btn-sm { height: 41px; padding: 0 31px; }

/* ===================== Header ===================== */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { position: relative; height: 107px; }
.logo { position: absolute; left: 19px; top: 10px; }
.logo img { width: 160px; height: 96px; }

.nav { position: absolute; left: 311px; top: 50px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; padding: 0 5px; }
.nav > ul > li:nth-child(1), .nav > ul > li:nth-child(2) { width: 160px; }
.nav > ul > li:nth-child(3), .nav > ul > li:nth-child(4) { width: 170px; }
.nav-link {
  display: block;
  border-top: 1px solid #000;
  padding: 8px 8px 9px;
  font: 14px/27px var(--light);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: color .4s ease;
}
.nav > ul > li:hover > .nav-link,
.nav-link[aria-current="page"],
.nav-link.is-parent {
  border-top: 4px solid var(--blue);
  padding-top: 5px;
  color: var(--pink);
}

/* About dropdown */
.submenu {
  position: absolute;
  top: 34px;
  left: 0;
  width: 170px;
  margin: 0;
  padding: 15px 5px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { visibility: visible; opacity: 1; }
.submenu li { padding: 0 5px; }
.submenu a {
  display: block;
  border-top: 1px solid #000;
  padding: 8px;
  font: 14px/29px var(--light);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
}
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--pink); }
.sub-toggle { display: none; }

.menu-toggle { display: none; }

/* ===================== Hero slider (home) ===================== */
.hero { position: relative; height: 580px; overflow: hidden; background: #111; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  transform: translateX(100%);
  transition: transform 1s ease-in-out;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active { transform: translateX(0); }
.slide.is-leaving { transform: translateX(-100%); }
.slide.no-anim { transition: none; }
.hero .container { position: relative; height: 100%; }
.hero-text {
  position: absolute; left: 19px; top: 42px; width: 392px;
  font: bold 26px/normal var(--light);
  color: #fff;
  text-shadow: var(--shadow-3d);
}
.hero .btn-lg { position: absolute; left: 436px; top: 401px; }
.dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 4px;
}
.dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .45); cursor: pointer;
}
.dots button[aria-current="true"] { background: #fff; }

/* Fixed anchor dots on the right of the home page */
.anchors {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 40; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 40px;
}
.anchors a { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-direction: row-reverse; }
.anchors svg { width: 12px; height: 12px; fill: transparent; stroke: #ccc; stroke-width: 4px; flex: none; }
.anchors a.is-active svg { fill: #ccc; }
.anchors span {
  font: 12px var(--light); color: var(--text); background: #fff; padding: 2px 8px;
  opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.anchors a:hover span { opacity: 1; }

/* ===================== Home sections ===================== */
.areas { padding-top: 51px; }
.areas .h-section { padding-left: 16px; }
.areas-cols {
  display: grid;
  grid-template-columns: 439px 439px;
  column-gap: 45px;
  margin-top: 8px;
  padding-left: 31px;
}
.areas-cols h3 { font: 33px/normal var(--heavy); color: var(--blue); margin-bottom: 42px; }
.areas-cols h3 a { text-decoration: none; }
.areas-cols .col-right { padding-top: 6px; }
.areas-cols a.underline, .prose a { text-decoration: underline; }
.areas-more { text-align: center; padding: 21px 0 25px; }

.cta-strip { padding: 115px 0 117px; }
.cta-strip .container { display: flex; align-items: flex-start; justify-content: space-between; padding-left: 59px; padding-right: 85px; }

.members { background: var(--lavender); }
.members .container { display: flex; justify-content: space-between; min-height: 411px; }
.members-text { padding: 119px 0 0 16px; }
.members-text h2 { font: 33px/1.2 var(--heavy); max-width: 420px; }
.members-text .btn { margin-top: 72px; }
.members-img { align-self: flex-end; margin-right: 35px; width: 379px; height: 372px; display: flex; align-items: center; }
.swap { position: relative; display: block; }
.swap img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.swap:hover img + img { opacity: 1; }

.sponsors { padding: 55px 0 0; height: 425px; overflow: hidden; }
.sponsors h2 { font: 33px/normal var(--heavy); letter-spacing: .2em; padding-left: 0; }
.gallery { width: 1098px; max-width: 100%; margin: 56px auto 0; overflow: hidden; }
.gallery-track { display: flex; gap: 50px; width: max-content; will-change: transform; }
.gallery-track a, .gallery-track > img { flex: none; }
.gallery img { height: 201px; width: calc(var(--w) * 1px); object-fit: cover; }

/* ===================== Inner pages ===================== */
.banner {
  position: relative;
  height: 275px;
  /* the original shows the upper-middle part of each photo */
  background: #555 50% 20% / cover no-repeat;
}
.banner.gap { margin-top: 30px; }
.banner h1 {
  position: absolute; left: 36px; top: 104px;
  font: bold 56px/normal var(--light);
  letter-spacing: .05em;
  color: #fff;
  text-shadow: var(--shadow-3d);
}
.banner .container { position: relative; height: 100%; }
.banner h1.thin { font-weight: normal; }
.banner h1.flat { text-shadow: none; }

.lavender { background: var(--lavender); }
.page-section { padding: 51px 0 52px; }
.page-section .inner { padding-left: 16px; padding-right: 37px; }
.page-section .h-blue { margin-bottom: 56px; }

/* Our Approach */
.approach { display: flex; align-items: flex-start; gap: 0; padding-bottom: 22px; }
.approach-img { width: 684px; flex: none; margin-left: -56px; margin-top: -29px; }
.approach-text { width: 439px; flex: none; margin-left: -57px; padding-top: 69px; }
.approach-text .h-blue { margin-bottom: 41px; }

/* Services */
.services .h-blue { padding-left: 6px; margin-bottom: 28px; }
.services .prose { padding-left: 0; padding-right: 55px; }
.services .prose > .label-blue + p { margin-top: 1.18em; }

/* Team */
.team .h-blue { font-weight: normal; padding-left: 0; margin-bottom: 21px; }
.team .prose { padding-left: 20px; }
.team ul { list-style: none; margin: 0; padding: 0; }
.team .label-blue + ul, .team p + ul { margin-top: 1.18em; }
.team li { line-height: 1.25; }

/* Projects */
.projects-econ { padding: 19px 0 36px; }
.projects-econ .h-blue { letter-spacing: 0; padding-left: 8px; }
.projects-econ .intro { padding-left: 13px; margin-top: 23px; }
.two-cols { display: grid; grid-template-columns: 428px 428px; column-gap: 59px; }
.projects-econ .two-cols { margin-top: 36px; padding-left: 8px; }
.projects-econ .h-sub { padding-left: 16px; margin-bottom: 35px; }
.projects-econ .col:last-child .h-sub { padding-left: 0; }
.projects-res { border-top: 1px solid var(--line); background: var(--lavender); padding: 15px 0 45px; }
.projects-res .h-res { font: 33px/normal var(--heavy); color: var(--deep-blue); text-align: right; padding-right: 22px; }
.projects-res .intro { padding: 9px 22px 0 11px; text-align: justify; }
.projects-res .two-cols { padding-left: 24px; margin-top: 44px; row-gap: 103px; column-gap: 40px; }
.projects-res .h-sub { margin-bottom: 27px; }
.projects-res .tagline { margin-bottom: 20px; }
.projects-res .prose > * + * { margin-top: 17px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 417px 355px; column-gap: 50px; padding: 60px 0 60px 44px; }
.contact-info h2 { font: bold 20px/normal var(--light); color: var(--blue); letter-spacing: .02em; margin: 6px 0 22px; }
.contact-info a { text-decoration: none; }
.form .field { margin-bottom: 5px; }
.form input, .form textarea {
  display: block; width: 100%;
  font: 14px/19.6px var(--light);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 3px 3px 3px 5px;
  height: 31px;
  -webkit-appearance: none;
  appearance: none;
}
.form textarea { height: 130px; padding-top: 10.5px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #bdbdbd; opacity: 1; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #e2001a; }
.form .actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 8px; }
.form button {
  height: 33px; padding: 0 5px; border: 0;
  background: var(--periwinkle); color: #fff;
  font: 17px/1 var(--light); cursor: pointer;
  transition: background-color .3s;
}
.form button:hover { background: var(--navy); }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: 14px; color: var(--navy); margin-top: 8px; text-align: right; min-height: 20px; }
.form-status.error { color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===================== Footer ===================== */
.site-footer { border-top: 1px solid var(--line); }
.footer-band { background: var(--gray); height: 32px; }
.footer-bottom { background: var(--gray); height: 65px; }
.footer-bottom .container { position: relative; height: 100%; }
.copyright { position: absolute; left: 15px; top: 30px; font-size: 14px; }
.social { position: absolute; left: 407px; top: 26px; display: flex; gap: 13px; margin: 0; padding: 0; list-style: none; }
.social img { width: 30px; height: 30px; }

/* ===================== Tablet (< 1000px) ===================== */
@media (max-width: 999px) {
  .nav { left: auto; right: var(--gutter); }
  .nav > ul > li:nth-child(n) { width: auto; min-width: 120px; }
  .hero .btn-lg { left: 50%; transform: translateX(-50%); }
  .areas-cols, .two-cols { grid-template-columns: 1fr 1fr; padding-left: 0; }
  .projects-res .two-cols { padding-left: 0; }
  .cta-strip .container { padding-left: var(--gutter); padding-right: var(--gutter); gap: 24px; }
  .members-img { margin-right: 0; width: 320px; }
  .approach-img { margin-left: 0; width: 50%; }
  .approach-text { margin-left: 24px; flex: 1; width: auto; }
  .contact-wrap { grid-template-columns: 1fr 1fr; padding-left: var(--gutter); }
  .social { left: 50%; transform: translateX(-50%); }
}

/* ===================== Mobile (< 760px) ===================== */
@media (max-width: 759px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }

  .anchors { display: none; }

  /* header + hamburger menu */
  .header-inner { height: 76px; }
  .logo { left: var(--gutter); top: 8px; }
  .logo img { width: 100px; height: 60px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    position: absolute; right: 12px; top: 16px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 480px; }
  .nav > ul { flex-direction: column; padding: 0 var(--gutter) 12px; }
  .nav > ul > li:nth-child(n) { width: auto; padding: 0; }
  .nav-link { text-align: left; font-size: 16px; padding: 10px 0 11px; }
  .nav > ul > li:hover > .nav-link { border-top-width: 1px; padding-top: 10px; color: var(--navy); }
  .nav-link[aria-current="page"], .nav-link.is-parent { border-top: 1px solid #000; padding-top: 10px; color: var(--pink); }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > .nav-link { flex: 1; }
  .sub-toggle {
    display: block; width: 46px; border: 0; border-top: 1px solid #000; background: none; cursor: pointer;
    color: var(--navy); font-size: 14px;
  }
  .sub-toggle[aria-expanded="true"] { transform: none; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    position: static; width: 100%; box-shadow: none; padding: 0 0 0 16px;
    visibility: visible; opacity: 1; display: none;
  }
  .has-sub:hover .submenu { visibility: visible; }
  .submenu.is-open { display: block; }
  .submenu li { padding: 0; }
  .submenu a { text-align: left; font-size: 15px; padding: 6px 0; border-top-color: #ddd; }

  /* hero */
  .hero { height: 72vh; min-height: 420px; max-height: 600px; }
  .hero-text { left: var(--gutter); right: var(--gutter); top: 32px; width: auto; font-size: 24px; }
  .hero .btn-lg { top: auto; bottom: 64px; }

  /* sections */
  .h-section, .areas-cols h3, .members-text h2, .projects-res .h-res { font-size: 26px; }
  .h-blue { font-size: 27px; }
  .areas { padding-top: 36px; }
  .areas .h-section { padding-left: 0; }
  .areas-cols, .two-cols { grid-template-columns: 1fr; row-gap: 40px; padding-left: 0; }
  .areas-cols h3 { margin-bottom: 20px; }
  .areas-cols .col-right { padding-top: 0; }
  .justify { text-align: left; }

  .cta-strip { padding: 56px 0; }
  .cta-strip .container { flex-direction: column; align-items: flex-start; gap: 22px; }

  .members .container { flex-direction: column; min-height: 0; }
  .members-text { padding: 48px 0 0; }
  .members-text .btn { margin-top: 28px; }
  .members-img { align-self: center; width: 100%; max-width: 340px; height: auto; margin: 24px auto 32px; }

  .sponsors { padding-top: 44px; height: auto; padding-bottom: 48px; }
  .sponsors h2 { font-size: 20px; letter-spacing: .18em; }
  .gallery { margin-top: 28px; }
  .gallery img { height: 120px; width: calc(var(--w) * .597px); }
  .gallery-track { gap: 28px; }

  .banner { height: 180px; }
  .banner.gap { margin-top: 0; }
  .banner h1 { left: var(--gutter); right: var(--gutter); top: auto; bottom: 36px; font-size: 34px; }

  .page-section { padding: 36px 0 40px; }
  .page-section .inner { padding: 0; }
  .page-section .h-blue { margin-bottom: 28px; }

  .approach { flex-direction: column; }
  .approach-img { width: 100%; margin: 16px 0 0; }
  .approach-text { width: 100%; margin: 0; padding-top: 16px; }
  .approach-text .h-blue { margin-bottom: 24px; }

  .services .h-blue, .services .prose { padding: 0; }
  .team .prose { padding-left: 0; }

  .projects-econ { padding-top: 32px; }
  .projects-econ .h-blue, .projects-econ .intro, .projects-econ .two-cols { padding-left: 0; }
  .projects-econ .h-sub, .projects-econ .col:last-child .h-sub { padding-left: 0; margin-bottom: 16px; }
  .projects-res .h-res { text-align: left; padding: 0; }
  .projects-res .intro { padding: 12px 0 0; }
  .projects-res .two-cols { padding-left: 0; margin-top: 32px; row-gap: 40px; }
  .projects-res .h-sub { margin-bottom: 14px; }

  .contact-wrap { grid-template-columns: 1fr; row-gap: 40px; padding: 36px var(--gutter) 48px; }
  .contact-info { order: -1; }
  .contact-info h2 { margin-top: 0; }
  .form input { height: 44px; font-size: 16px; }
  .form textarea { font-size: 16px; }
  .form button { height: 44px; padding: 0 22px; }

  .footer-band { height: 20px; }
  .footer-bottom { height: auto; padding: 18px 0; }
  .footer-bottom .container { display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; }
  .copyright, .social { position: static; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .nav, .submenu { transition: none; }
}
