.site-nav {
  --nav-ink: #111a41;
  --nav-text: #34394f;
  --nav-paper: rgba(255, 255, 255, 0.9);
  --nav-paper-scrolled: rgba(248, 250, 255, 0.68);
  --nav-panel: #ffffff;
  --nav-soft: #f3f5fa;
  --nav-line: rgba(17, 26, 65, 0.11);
  --nav-muted: #73788b;
  --nav-shadow: 0 18px 50px rgba(6, 10, 28, 0.22), 0 0 0 1px rgba(17, 26, 65, 0.06);
  --nav-panel-shadow: 0 28px 70px rgba(17, 26, 65, 0.17);
  --nav-ease: cubic-bezier(.2, .75, .25, 1);
  --nav-bounce: cubic-bezier(.17, .67, .3, 1.18);
  --nav-top: 16px;
  --nav-height: 60px;
  position: fixed;
  z-index: 9998;
  top: var(--nav-top);
  left: 50%;
  width: min(1320px, calc(100% - 64px));
  height: var(--nav-height);
  border-radius: 999px;
  color: var(--nav-ink);
  background: var(--nav-paper);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--nav-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translateX(-50%);
  transition: background-color 260ms var(--nav-ease), border-color 260ms var(--nav-ease), box-shadow 260ms var(--nav-ease), backdrop-filter 260ms var(--nav-ease);
}

.site-nav.is-scrolled {
  background: var(--nav-paper-scrolled);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(6, 10, 28, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 0 0 1px rgba(17, 26, 65, 0.04);
  -webkit-backdrop-filter: saturate(190%) blur(28px);
  backdrop-filter: saturate(190%) blur(28px);
}

.site-nav,
.site-nav * {
  box-sizing: border-box;
}

.site-nav a {
  color: inherit;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.site-nav button,
.site-nav summary {
  color: inherit;
  font: inherit;
}

.site-nav a:focus-visible,
.site-nav button:focus-visible,
.site-nav summary:focus-visible {
  border-radius: 6px;
  outline: 2px solid #1f56d8;
  outline-offset: 3px;
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(170px, auto) 1fr minmax(170px, auto);
  align-items: center;
  gap: 24px;
  height: 100%;
  padding: 0 12px 0 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand img,
.brand-logo {
  display: block;
  width: 143px;
  height: auto;
}

.brand-horizontal-lockup {
  --nav-ink: #000;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--nav-ink);
  line-height: 1;
  white-space: nowrap;
}

.brand-horizontal-collins {
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-horizontal-creative {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.17em;
}

.nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(26px, 3.5vw, 36px);
  height: 100%;
}

.nav-link,
.nav-more > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--nav-text);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 18px;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--nav-ink);
  font-weight: 600;
}

.nav-more {
  display: flex;
  align-items: stretch;
}

.nav-more > summary::-webkit-details-marker {
  display: none;
}

.nav-link::after,
.nav-more > summary::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 1.5px;
  border-radius: 1px;
  background: var(--nav-ink);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms var(--nav-ease);
}

.site-nav .nav-link::before,
.site-nav .nav-more > summary::before {
  content: none !important;
}

.nav-link:focus-visible,
.nav-more > summary:focus-visible,
.nav-more.is-open > summary {
  color: var(--nav-ink);
}

.nav-link:focus-visible::after,
.nav-more > summary:focus-visible::after,
.nav-more.is-open > summary::after {
  transform: scaleX(1);
}

.nav-chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 260ms var(--nav-bounce);
}

.nav-more.is-open .nav-chevron {
  transform: translateY(3px) rotate(225deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 20px;
  border: 1px solid #0071e3;
  border-radius: 999px;
  color: #fff !important;
  background: #0071e3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 16px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--nav-ease);
}



.project-button:active {
  border-color: #0068d1;
  background: #0068d1;
  transform: translateY(0);
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  /* No radius on the button itself: the full 44×44 box stays tappable
     (the round artwork is the ::before disc). */
  background: transparent;
  cursor: pointer;
  /* Tap-first: no hover or focus state gates activation, and no 300ms tap delay. */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* The visible disc is drawn inside the 44px target, so the hit area can be
   larger than the artwork without changing the button's footprint. */
.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--nav-soft);
  transition: background-color 160ms var(--nav-ease), border-color 160ms var(--nav-ease);
}

.site-nav .menu-toggle:focus-visible {
  border-radius: 50%;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 200ms var(--nav-ease), background-color 160ms ease;
}

.menu-toggle span {
  position: relative;
  display: block;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-5px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.mega-menu {
  position: fixed;
  z-index: 9997;
  top: calc(var(--nav-top) + var(--nav-height) + 10px);
  left: 50%;
  display: none;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  width: min(1320px, calc(100vw - 64px));
  min-height: 340px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--nav-line);
  border-radius: 22px;
  background: var(--nav-panel);
  box-shadow: var(--nav-panel-shadow);
  opacity: 0;
  transform: translateX(-50%) translateY(-8px) scale(.985);
  transform-origin: 50% 0;
  transition: opacity 160ms ease, transform 260ms var(--nav-bounce);
}

.nav-more[open] > .mega-menu {
  display: grid;
}

.nav-more.is-open > .mega-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 316px;
}

.mega-project {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: var(--nav-ink);
  isolation: isolate;
}

.mega-project::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(6, 10, 28, .88) 100%);
  content: "";
  pointer-events: none;
}

.mega-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 600ms cubic-bezier(.455, .03, .515, .955);
}

.nav-more.is-open .mega-project img {
  transform: scale(1.025);
}

.mega-project:focus-visible img {
  transform: scale(1.075);
}

.mega-project-title {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 15px;
  left: 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.mega-project-arrow {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--nav-ink);
  background: #fff;
  font-size: 15px;
  line-height: 1;
  transition: transform 180ms var(--nav-ease);
}

.mega-project:focus-visible .mega-project-arrow {
  transform: translateX(2px);
}

.mega-directory {
  display: flex;
  min-width: 0;
  padding: 13px 18px 10px 26px;
  flex-direction: column;
  color: var(--nav-ink);
}

.mega-directory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 3px 0 17px;
  border-bottom: 1px solid var(--nav-line);
}

.mega-directory-head p {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.mega-directory-head a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--nav-ink);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.text-arrow {
  display: inline-block;
  transition: transform 180ms var(--nav-ease);
}

.mega-directory-head a:focus-visible .text-arrow {
  transform: translateX(3px);
}

.mega-groups {
  display: grid;
  grid-template-columns: .95fr 1.05fr 1fr;
  gap: 22px;
  padding-top: 21px;
}

.mega-group {
  min-width: 0;
}

.mega-group-title {
  margin: 0 0 10px;
  color: var(--nav-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .095em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mega-group a {
  display: block;
  padding: 6px 0;
  color: var(--nav-text);
  font-size: 13px;
  font-weight: 530;
  letter-spacing: -0.018em;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.mega-group a:focus-visible {
  color: var(--nav-ink);
  transform: translateX(3px);
}

.is-stagger {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 320ms var(--nav-ease), translate 320ms var(--nav-ease);
}

.nav-more.is-open .is-stagger {
  opacity: 1;
  translate: 0 0;
  transition-delay: calc(var(--index, 0) * 28ms);
}

.mobile-only {
  display: none;
}

@media (max-width: 920px) and (min-width: 761px) {
  .nav-inner {
    gap: 16px;
    padding-left: 22px;
  }

  .nav-links {
    gap: 22px;
  }

  .brand img {
    width: 113px;
  }

  .site-nav .brand-horizontal-collins {
    font-size: 19px;
  }

  .site-nav .brand-horizontal-creative {
    font-size: 9.5px;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }

  .mega-projects {
    min-height: 170px;
  }

  .mega-directory {
    padding: 18px 22px 20px;
  }
}

@media (max-width: 760px) {
  html {
    /* Reserve the scrollbar gutter so locking scroll on open cannot change layout width. */
    scrollbar-gutter: stable;
  }

  html.mobile-nav-open,
  html.mobile-nav-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  /* Header geometry is identical whether the menu is open or closed:
     only paint (background, border, shadow, ink) changes on open. */
  .site-nav,
  .site-nav.mobile-menu-open {
    --nav-top: calc(12px + env(safe-area-inset-top));
    --nav-height: 56px;
    top: var(--nav-top);
    left: 12px;
    right: 12px;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: var(--nav-height);
    border-radius: 999px;
    /* No transform: it would make the header a containing block for the fixed menu sheet. */
    transform: none;
    /* backdrop-filter is never transitioned on mobile: an in-flight filter
       value also creates a containing block for the fixed menu sheet. */
    transition: background-color 260ms var(--nav-ease), border-color 260ms var(--nav-ease), box-shadow 260ms var(--nav-ease);
  }

  .site-nav.mobile-menu-open {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-inner,
  .mobile-menu-open .nav-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 8px 0 18px;
  }

  .mobile-menu-open .brand,
  .mobile-menu-open .nav-actions {
    z-index: 2;
  }

  .brand img {
    width: clamp(81px, 25.5vw, 99px);
  }

  .site-nav .brand-horizontal-lockup {
  --nav-ink: #000;
    gap: 6px;
  }

  .site-nav .brand-horizontal-collins {
    font-size: 17px;
  }

  .site-nav .brand-horizontal-creative {
    font-size: 8.5px;
  }

  .menu-toggle {
    display: inline-flex !important;
    z-index: 2;
    flex: none;
  }

  .menu-toggle::before {
    border: 1px solid rgba(17, 26, 65, .11);
    background: rgba(255, 248, 235, .82);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
  }

  .nav-actions {
    position: static;
    inset: auto;
    width: auto;
    transform: none;
  }

  .project-button {
    display: none;
  }

  .nav-links {
    position: fixed;
    z-index: 1;
    inset: 0 auto auto 0;
    display: flex;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    padding: calc(112px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0;
    color: #111a41;
    pointer-events: none;
    background:
      radial-gradient(circle at 106% 10%, rgba(255, 100, 30, .24) 0 20%, transparent 44%),
      linear-gradient(180deg, #fff9ed 0%, #f7f2e7 100%);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(-100%);
    transform-origin: 50% 0%;
    transition: opacity 280ms ease, visibility 0s linear 520ms, transform 520ms cubic-bezier(.16, 1, .3, 1);
  }

  .nav-links[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-link,
  .nav-more > summary {
    justify-content: space-between;
    width: 100%;
    min-height: 68px;
    height: auto;
    padding: 7px 0 9px;
    border-bottom: 1px solid rgba(17, 26, 65, .14);
    color: #111a41;
    font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(38px, 12vw, 56px);
    font-weight: 680;
    letter-spacing: -.065em;
    line-height: .95;
  }

  .nav-links > .nav-link,
  .nav-links > .nav-more,
  .nav-links > .mobile-only {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 280ms ease, transform 420ms cubic-bezier(.16, 1, .3, 1);
  }

  .nav-links[data-open="true"] > .nav-link,
  .nav-links[data-open="true"] > .nav-more,
  .nav-links[data-open="true"] > .mobile-only {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links[data-open="true"] > :nth-child(1) { transition-delay: 170ms; }
  .nav-links[data-open="true"] > :nth-child(2) { transition-delay: 220ms; }
  .nav-links[data-open="true"] > :nth-child(3) { transition-delay: 270ms; }
  .nav-links[data-open="true"] > :nth-child(4) { transition-delay: 320ms; }
  .nav-links[data-open="true"] > :nth-child(5) { transition-delay: 370ms; }

  .nav-link::after,
  .nav-more > summary::after {
    display: none;
  }

  .nav-more {
    display: block;
  }

  .nav-more .nav-chevron {
    width: 13px;
    height: 13px;
    margin: -8px 7px 0 0;
    border-width: 0 2px 2px 0;
  }

  .nav-more[open] .nav-chevron {
    transform: translateY(3px) rotate(225deg);
  }

  .mega-menu,
  .nav-more[open] > .mega-menu,
  .nav-more.is-open > .mega-menu {
    position: static;
    display: block;
    width: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mega-projects {
    display: none;
  }

  .mega-directory {
    padding: 4px 0 20px;
  }

  .mega-directory-head {
    padding: 14px 0 10px;
    border-bottom: 0;
  }

  .mega-directory-head p {
    display: none;
  }

  .mega-directory-head a {
    color: #006bd6;
    font-size: 14px;
  }

  .mega-groups {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    padding: 10px 0 18px;
    border-bottom: 1px solid rgba(17, 26, 65, .14);
  }

  .mega-group-title {
    color: #72778b;
  }

  .mega-group:last-child {
    grid-column: 1 / -1;
  }

  .mega-group a {
    padding: 7px 0;
    color: #29304f;
    font-size: 14.5px;
  }

  .is-stagger,
  .nav-more.is-open .is-stagger {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }

  .mobile-only {
    display: flex;
    margin-top: auto;
    padding-top: 28px;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 999px;
    color: #fff !important;
    background: #006bd6;
    font-size: 16px;
    font-weight: 680;
    letter-spacing: -.02em;
    box-shadow: 0 16px 32px rgba(0, 107, 214, .2);
  }

  .mobile-cta::after {
    margin-left: 10px;
    content: "→";
    transition: transform 180ms var(--nav-ease);
  }

  .mobile-cta:active {
    transform: scale(.985);
  }

  .mobile-cta:active::after {
    transform: translateX(3px);
  }

  .mobile-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 26, 65, .14);
    color: #626a80;
    font-size: 13px;
    line-height: 1.3;
  }

  .mobile-contact a:last-child {
    color: #111a41;
    font-size: 15px;
    font-weight: 620;
  }
}

@media (max-width: 420px) {
  .mega-groups {
    grid-template-columns: 1fr;
  }

  .mega-group:last-child {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .site-nav {
    width: calc(100% - 16px);
  }

  .brand img {
    width: 78px;
  }

  .project-button {
    padding-inline: 11px;
    font-size: 11.5px;
  }
}

/* Dark palettes only apply on pages that opt in with html.theme-adaptive; the Halos case study is single-theme. */
@media (prefers-color-scheme: dark) {
  html.theme-adaptive .site-nav {
    --nav-ink: #f6f7fb;
    --nav-text: #d5d8e4;
    --nav-paper: rgba(23, 28, 56, 0.9);
    --nav-paper-scrolled: rgba(23, 28, 56, 0.7);
    --nav-panel: #171c38;
    --nav-soft: #262d4d;
    --nav-line: rgba(255, 255, 255, 0.13);
    --nav-muted: #9ba1b5;
    --nav-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --nav-panel-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  }
  html.theme-adaptive .site-nav.is-scrolled {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  html.theme-adaptive .project-button {
    border-color: #2997ff;
    color: #fff !important;
    background: #0071e3;
  }
  @media (hover:hover) and (pointer:fine) { html.theme-adaptive .project-button:hover {
    border-color: #2997ff;
    color: #fff !important;
    background: #147ce5;
  } }
  html.theme-adaptive .mega-project-arrow {
    color: #111a41;
    background: #fff;
  }
  html.theme-adaptive .mobile-cta {
    color: #111a41 !important;
    background: #f6f7fb;
  }
}

@media (max-width: 760px) and (prefers-color-scheme: dark) {
  html.theme-adaptive .site-nav {
    --nav-ink: #111a41;
    --nav-text: #34394f;
    --nav-soft: #f3f5fa;
    --nav-line: rgba(17, 26, 65, .11);
  }
  html.theme-adaptive .nav-links {
    color: #111a41;
    background:
      radial-gradient(circle at 106% 10%, rgba(255, 100, 30, .24) 0 20%, transparent 44%),
      linear-gradient(180deg, #fff9ed 0%, #f7f2e7 100%);
  }
  html.theme-adaptive .mobile-cta {
    color: #fff !important;
    background: #006bd6;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav.is-scrolled {
    background: #fff;
  }
}

@media (prefers-color-scheme: dark) and (prefers-reduced-transparency: reduce) {
  html.theme-adaptive .site-nav {
    background: #171c38;
  }
  html.theme-adaptive .site-nav.is-scrolled {
    background: #171c38;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav *,
  .site-nav *::before,
  .site-nav *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .nav-more[open] > .mega-menu,
  .is-stagger,
  .nav-more .mega-project img {
    opacity: 1 !important;
    translate: 0 0 !important;
    transform: none !important;
  }

  .nav-more[open] > .mega-menu {
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .nav-more[open] > .mega-menu {
    transform: none !important;
  }
}


/* ===== Mobile menu: homepage treatment (black sheet, COLLINS-only wordmark, round close in the toggle spot) ===== */
@media (max-width: 760px) {
  .site-nav { padding: 0; }
  .nav-inner,
  .mobile-menu-open .nav-inner { padding: 0 6px 0 18px; }
  .site-nav .brand-horizontal-creative { display: none; }
  .site-nav .brand-horizontal-collins { font-size: 21px; letter-spacing: -.035em; }
  .nav-actions { position: static; width: auto; transform: none; gap: 8px; }
  .project-button { display: inline-flex; min-height: 38px; padding: 0 14px; font-size: 13px; }
  .menu-toggle,
  .mobile-menu-open .menu-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: none; }
  .menu-toggle::before { border: 1px solid rgba(17,26,65,.12); background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-toggle:active::before { background: #f1f1f4; }
  .mobile-menu-open .brand-horizontal-lockup { --nav-ink: #f5f5f7; }
  .mobile-menu-open .brand-horizontal-collins { color: #f5f5f7; }
  .mobile-menu-open .project-button { display: none; }
  .mobile-menu-open .menu-toggle { color: #fff; }
  .mobile-menu-open .menu-toggle::before { border-color: transparent; background: rgba(255,255,255,.12); }
  .mobile-menu-open .menu-toggle:active::before { background: rgba(255,255,255,.22); }
  .nav-links {
    padding: calc(88px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
    color: #f5f5f7;
    background: #000;
    transform: none;
    transition: opacity 300ms cubic-bezier(.2,.75,.25,1), visibility 0s linear 300ms;
  }
  .nav-links[data-open="true"] { transition-delay: 0s; }
  .nav-link, .nav-more > summary {
    min-height: 0; padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #f5f5f7 !important;
    font-size: clamp(34px, 9vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  }
  .nav-link[aria-current="page"], .nav-link.is-active { color: #fff !important; }
  .nav-more .nav-chevron { border-color: #f5f5f7; }
  .mega-directory-head a { color: #2997ff; }
  .mega-groups { border-bottom: 1px solid rgba(255,255,255,.14); }
  .mega-group-title { color: #86868b; }
  .mega-group a { color: #d5d8e4; }
  .mobile-only { gap: 28px; padding-top: 28px; }
  .mobile-cta { background: #0071e3; box-shadow: none; font-size: 17px; font-weight: 600; }
  .mobile-cta::after { content: none; }
  .mobile-contact { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; border-top: 0; }
  .mobile-contact a { display: grid; gap: 6px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.08); color: #f5f5f7 !important; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
  .mobile-contact a span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #86868b; }
  .mobile-contact a strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-note { margin: 0; font-size: 12px; color: #6e6e73; text-align: center; letter-spacing: .02em; }
}

/* Nav text: black; active page bold */
.site-nav { --nav-ink: #000; --nav-text: #000; }
.nav-link, .nav-more > summary { color: #000; font-weight: 500; }
.nav-link[aria-current="page"], .nav-link.is-active, .nav-more > summary[aria-current="page"] { color: #000; font-weight: 700; }
.nav-more.is-open > summary { color: #000; }

@media (hover:hover) and (pointer:fine){
.nav-link:hover,
.nav-more > summary:hover {
  color: var(--nav-ink);
}
.nav-link:hover::after,
.nav-more > summary:hover::after {
  transform: scaleX(1);
}
.project-button:hover {
  color: #fff !important;
  border-color: #0077ed;
  background: #0077ed;
  transform: translateY(-1px);
}
.mega-project:hover img {
  transform: scale(1.075);
}
.mega-project:hover .mega-project-arrow {
  transform: translateX(2px);
}
.mega-directory-head a:hover .text-arrow {
  transform: translateX(3px);
}
.mega-group a:hover {
  color: var(--nav-ink);
  transform: translateX(3px);
}
.nav-link:hover,
.nav-more > summary:hover { color: #000; }
}

/* Footer wordmark tracks the nav lockup's sizes at every breakpoint. */
.cc-foot-mark { font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif; font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.cc-foot-mark-sub { font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 10.5px; font-weight: 650; letter-spacing: .17em; }
@media (max-width: 920px) and (min-width: 761px) {
  .cc-foot-mark { font-size: 19px; }
  .cc-foot-mark-sub { font-size: 9.5px; }
}



/* Mobile footer: full-width, 44px minimum tap targets (a 31px-tall, 35px-wide
   link needs two taps because the first one lands outside it). */
@media (max-width: 760px) {
  .cc-foot-group a {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 44px;
    padding: 0 !important;
  }
  .cc-foot-bottom a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
    padding: 0 !important;
    margin: 0 !important;
  }
  .cc-foot-bottom > div {
    gap: 28px !important;
  }
  .collins-footer-group a {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 44px;
  }
  .collins-footer-legal a {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
  }
  .collins-footer-legal {
    gap: 28px !important;
  }
}

/* Very narrow phones: the header CTA cannot fit beside the wordmark without
   pushing the toggle out of the pill, so it lives in the menu only. */
@media (max-width: 360px) {
  .project-button {
    display: none !important;
  }
}
