/* Header, footer, motion, and type weights that Tailwind's font-size map does not emit. */

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #000099;
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.font-display-hero,
.font-display-hero-mobile,
.font-badge-caps,
.font-headline-lg,
.font-headline-lg-mobile,
.font-headline-md,
.font-headline-sm,
.font-title-lg,
.font-label-mono,
.home-hero-title,
.home-hero-title .home-hero-accent {
  font-family: "Space Grotesk", sans-serif;
}

.font-display-hero:not(.font-bold):not(.font-semibold),
.font-display-hero-mobile:not(.font-bold):not(.font-semibold),
.font-badge-caps:not(.font-bold):not(.font-semibold),
.font-headline-lg:not(.font-bold):not(.font-semibold),
.font-headline-lg-mobile:not(.font-bold):not(.font-semibold),
.font-headline-md:not(.font-bold):not(.font-semibold),
.font-headline-sm:not(.font-bold):not(.font-semibold),
.font-title-lg:not(.font-bold):not(.font-semibold),
.font-label-mono:not(.font-bold):not(.font-semibold),
.home-hero-title,
.home-hero-title .home-hero-accent {
  font-weight: 400;
}

.home-hero-title {
  letter-spacing: -0.03em;
}

.home-hero-title .home-hero-accent {
  font-style: normal;
  color: #000099;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Sticky header ---------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  color: #0b132b;
  background: #ffffff;
  border-bottom: 1px solid #e2e6ed;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.site-header.is-booting,
.site-header.is-booting * {
  transition: none !important;
}

.site-header.is-white {
  color: #ffffff;
  background: #07090e;
  border-bottom-color: #1f2633;
}

.header-bar {
  height: 5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-bar {
    padding: 0 2rem;
    gap: 1.5rem;
  }
}

.logo-switch {
  display: grid;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 0 1 auto;
}

.logo-switch > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
}

.site-header.is-black .logo-for-dark,
.site-header.is-white .logo-for-light {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-lockup {
  display: inline-flex;
  align-items: stretch;
  line-height: 1;
  white-space: nowrap;
}

.brand-name,
.brand-badge {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.15rem 0.2rem 0;
  color: #0b132b;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.32rem 0.45rem 0.26rem;
  background: #000099;
  color: #ffffff;
}

.site-header.is-white .brand-name {
  color: #ffffff;
}

.brand-img {
  height: 2rem;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.primary-nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.header-nav,
.mobile-nav-list,
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.header-nav a,
.mobile-nav-list a {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  color: inherit;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.01em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-header.is-black .header-nav a:hover,
.site-header.is-black .mobile-nav-list a:hover {
  color: #000099;
}

.site-header.is-white .header-nav a:hover,
.site-header.is-white .mobile-nav-list a:hover {
  color: #bfc2ff;
}

.site-header.is-black .header-nav .current-menu-item > a,
.site-header.is-black .header-nav .current_page_item > a,
.site-header.is-black .mobile-nav-list .current-menu-item > a,
.site-header.is-black .mobile-nav-list .current_page_item > a {
  background: #0b132b;
  color: #ffffff;
}

.site-header.is-white .header-nav .current-menu-item > a,
.site-header.is-white .header-nav .current_page_item > a,
.site-header.is-white .mobile-nav-list .current-menu-item > a,
.site-header.is-white .mobile-nav-list .current_page_item > a {
  background: #e2e2ea;
  color: #00006e;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: #000099;
  color: #ffffff;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.header-cta:hover {
  background: #1212b8;
  color: #ffffff;
}

.site-header.is-white .header-cta {
  background: #e2e2ea;
  color: #00006e;
}

.site-header.is-white .header-cta:hover {
  background: #ffffff;
  color: #00006e;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.menu-toggle-icon {
  font-size: 22px;
}

.mobile-panel {
  border-top: 1px solid transparent;
  overflow: hidden;
}

.site-header.is-black .mobile-panel {
  background: #ffffff;
  border-top-color: #e2e6ed;
}

.site-header.is-white .mobile-panel {
  background: #07090e;
  border-top-color: #1f2633;
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-panel nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-list a {
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(127, 127, 127, 0.2);
}

.mobile-cta {
  display: inline-flex;
  margin-top: 0.85rem;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }

  .brand-name,
  .brand-badge {
    font-size: 18px;
  }
}

@media (min-width: 1180px) {
  .primary-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .brand-name,
  .brand-badge {
    font-size: 20px;
  }
}

.site-header.is-menu-open .mobile-panel {
  animation: heevix-menu-in 0.28s ease;
}

@keyframes heevix-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Portfolio hero fills the viewport in white, matching the home headline scale. */

.portfolio-hero {
  min-height: calc(100vh - 5rem);
  background-color: #ffffff;
}

body.page-template-page-our-portfolio {
  background-color: #ffffff;
}

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

.site-footer {
  background-color: #000099;
  color: #e2e2ea;
}

.site-footer .brand-name {
  color: #ffffff;
}

.site-footer .brand-badge {
  background: #ffffff;
  color: #000099;
}

.footer-brand {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  color: #e2e2e2;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 22px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav .current-menu-item > a {
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.footer-social a {
  color: #e0e0ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-social a:hover {
  color: #ffffff;
}

/* Contact form additions that complete the reference controls. */

.heevix-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.budget-pill {
  display: block;
  text-align: center;
  border: 1px solid #232938;
  padding: 0.75rem 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c6c5d6;
  background: #11141e;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

label:hover .budget-pill {
  border-color: #3858e9;
}

.peer:checked + .budget-pill,
.peer:focus-visible + .budget-pill {
  background: #000099;
  border-color: #000099;
  color: #ffffff;
}

#form-feedback.hidden {
  display: none !important;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content a {
  color: #000099;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid #3858e9;
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .text-display-hero {
    font-size: 40px !important;
    line-height: 48px !important;
    letter-spacing: -0.01em !important;
  }

  .text-headline-lg {
    font-size: 32px !important;
    line-height: 40px !important;
  }
}

.heevix-header-off #content {
  padding-top: 0;
}

.heevix-header-static .site-header {
  position: absolute;
}

.heevix-header-still .site-header,
.heevix-header-still .site-header * {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .site-header *,
  .mobile-panel,
  .budget-pill,
  .header-cta,
  .footer-nav a {
    transition: none !important;
    animation: none !important;
  }
}

/* Section colors. These rules apply only after an administrator sets a color. */
.hx-tone-light,
.hx-tone-dark {
  background-color: var(--hx-bg) !important;
  color: var(--hx-text);
}

.hx-tone :is(h1, h2, h3, h4, .font-display-hero, .font-headline-lg, .font-headline-md, .font-headline-sm, .font-title-lg, .home-hero-title) {
  color: var(--hx-heading);
}

.hx-tone :is(p, li, .font-body-lg, .font-body-md) {
  color: var(--hx-text);
}

.hx-tone .font-label-mono {
  color: var(--hx-accent);
}

.hx-tone .material-symbols-outlined,
.hx-tone svg {
  color: var(--hx-icon);
}

.hx-tone-light [class*="bg-white"]:not(a):not(button),
.hx-tone-light [class*="bg-[#F"]:not(a):not(button),
.hx-tone-light [class*="bg-[#f"]:not(a):not(button),
.hx-tone-light [class*="bg-surface"]:not(a):not(button),
.hx-tone-dark [class*="bg-[#0"]:not(a):not(button),
.hx-tone-dark [class*="bg-[#1"]:not(a):not(button),
.hx-tone-dark [class*="bg-surface"]:not(a):not(button),
.hx-tone-dark [class*="bg-white"]:not(a):not(button),
.hx-tone-light [class*="bg-[#0"]:not(a):not(button),
.hx-tone [class*="shadow-sm"]:not(a):not(button) {
  background-color: var(--hx-card) !important;
  color: var(--hx-card-text);
  border-color: var(--hx-border) !important;
}

.hx-tone [class*="border-"] {
  border-color: var(--hx-border);
}

.hx-tone :is(a, button)[class*="bg-primary"],
.hx-tone :is(a, button)[class*="bg-white"],
.hx-tone :is(a, button)[class*="bg-[#000099]"] {
  background-color: var(--hx-button) !important;
  color: var(--hx-button-text) !important;
  border-color: transparent !important;
}

.hx-tone :is(a, button)[class*="bg-"] :is(.font-label-mono, span) {
  color: inherit;
}

.hx-tone :is(span, div)[class*="bg-primary"]:not(a) {
  background-color: var(--hx-accent) !important;
  color: var(--hx-on-accent) !important;
}

.hx-tone .group[class*="hover:bg"]:hover {
  background-color: var(--hx-accent) !important;
}

.hx-tone .group[class*="hover:bg"]:hover :is(h1, h2, h3, h4, p, span, div, .material-symbols-outlined) {
  color: var(--hx-on-accent) !important;
}

.hx-tone-custom :is(h1, h2, h3, h4, .font-display-hero, .font-headline-lg, .font-headline-md, .font-headline-sm, .font-title-lg) {
  color: var(--hx-heading, inherit);
}

.hx-tone-custom :is(p, li, .font-body-lg, .font-body-md) {
  color: var(--hx-text, inherit);
}

.hx-tone-custom .font-label-mono,
.hx-tone-custom .material-symbols-outlined {
  color: var(--hx-accent, inherit);
}

.hx-field-color,
.hx-tone .group[class*="hover:bg"]:hover .hx-field-color,
.hx-tone :is(a, button)[class*="bg-"] .hx-field-color {
  color: var(--hx-field-color) !important;
}

.hx-highlight {
  color: var(--heevix-accent, #000099);
  font-weight: inherit;
  letter-spacing: inherit;
  font-size: inherit;
  line-height: inherit;
}

.font-label-mono > .hx-highlight,
.font-label-mono > .hx-field-color > .hx-highlight {
  color: inherit;
}

h1.text-white .hx-highlight,
h2.text-white .hx-highlight,
h3.text-white .hx-highlight {
  color: #bfc2ff;
}
