:root { --showcase-header: clamp(72px, 5.9vw, 94px); }
.showcase-nav {
  background: rgb(255 255 255 / 97%);
  border-bottom: 0;
}
.showcase-nav::after {
  content: ""; position: absolute; inset: auto 0 0; height: 4px; pointer-events: none;
  background: linear-gradient(90deg, #00b4f2, #1754fa 38%, #6747f7 72%, #ba68ec);
}
.showcase-nav .nav-shell {
  width: 100%; max-width: none; height: var(--showcase-header);
  padding: 0 clamp(22px, 3.6vw, 82px); gap: clamp(26px, 4vw, 80px);
}
.showcase-nav .wordmark { flex: none; }
.showcase-nav #navigation {
  align-self: stretch; margin-left: 0; gap: clamp(17px, 1.8vw, 37px);
}
.showcase-nav #navigation > a, .nav-disclosure summary {
  color: #263045; font-size: .94rem; font-weight: 530; line-height: 1.35;
}
.showcase-nav #navigation > a, .nav-disclosure summary, .nav-services a { min-height: 42px; display: flex; align-items: center; }
.showcase-nav #navigation a:hover, .showcase-nav #navigation a.active,
.nav-disclosure summary:hover, .nav-disclosure[open] summary, .nav-disclosure:has(a.active) summary { color: #2454dc; }
.nav-disclosure { position: relative; }
.nav-disclosure summary { list-style: none; cursor: pointer; gap: 7px; white-space: nowrap; }
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-caret { width: 6px; height: 6px; border-right: 1.3px solid; border-bottom: 1.3px solid; transform: translateY(-1px) rotate(45deg); }
.nav-disclosure[open] .nav-caret { transform: translateY(2px) rotate(225deg); }
.nav-services {
  position: absolute; top: calc(100% + 9px); left: -18px; width: 218px; padding: 8px;
  color: var(--ink); background: white; border: 1px solid #dfe3ea; border-radius: 17px;
  box-shadow: 0 14px 40px #13213b24;
}
.nav-services a { padding: 8px 13px; color: var(--ink); border-radius: 9px; font-size: .92rem; }
.nav-services a:first-child { color: #2454ce; }
.nav-services a:hover, .nav-services a:focus-visible { background: #eff4fc; }
.nav-utilities { margin-left: auto; display: flex; align-items: center; gap: clamp(9px, 1vw, 19px); }
.showcase-nav .nav-consult {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 19px; color: white;
  font-size: .9rem; line-height: 1.15; background: #151b26;
}
.nav-icon-button {
  display: grid; place-items: center; min-width: 42px; min-height: 42px;
  border-radius: 50%; color: #1c273a;
}
.nav-icon-button:hover, .nav-icon-button:focus-visible { background: #eff2f7; }
.nav-icon-button .icon, .search-field .icon { width: 21px; height: 21px; stroke-width: 1.6; }
#site-search {
  width: min(580px, calc(100% - 28px)); border: 1px solid #e1e5eb; padding: clamp(22px, 4vw, 34px);
  max-height: min(78dvh, 700px); overflow: auto; overscroll-behavior: contain; color: var(--ink);
  border-radius: 24px; background-color: #fff; box-shadow: 0 24px 110px #17254840;
}
#site-search::backdrop { background: #101a3073; backdrop-filter: blur(6px); }
.search-top, .search-field { display: flex; align-items: center; }
.search-top { justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.search-top h2 { font-size: clamp(24px, 3vw, 30px); }
.search-field { gap: 12px; border: 1px solid #b6c0d2; background: #f6f8fb; padding: 0 13px; border-radius: 12px; }
.search-field:focus-within { outline: 2px solid #4a67df; outline-offset: 2px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; outline: 0; height: 47px; color: var(--ink); font: inherit; }
#search-summary { min-height: 23px; margin: 18px 0 7px; color: #536078; font-size: .9rem; }
#search-results { list-style: none; padding: 0; margin: 0; }
#search-results a {
  padding: 12px 6px; border-bottom: 1px solid #e7ebf1; display: flex; justify-content: space-between;
  align-items: center; gap: 14px; line-height: 1.4; font-size: 1rem;
}
#search-results a:hover { color: #204dc4; }
#search-results small { flex: none; color: #606a7a; font-size: .8rem; }

.showcase-hero {
  min-height: max(500px, calc(100vh - var(--showcase-header)));
  min-height: max(500px, calc(100svh - var(--showcase-header)));
}
.showcase-hero::before {
  background: linear-gradient(90deg, #10182d3c 0%, #17243c86 37%, #122137aa 53%, #1d2c3e27 78%),
              linear-gradient(0deg, #0d182e73, transparent 37%);
}
.showcase-hero .hero-composition {
  width: min(1680px, 92%); padding: 70px 0 86px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
}
.showcase-hero .hero-copy h1 {
  font-size: clamp(54px, 5.3vw, 104px); font-weight: 410; line-height: 1.13; letter-spacing: -.06em;
  text-shadow: 0 2px 20px #10203945;
}
.showcase-hero .hero-copy p { font-size: clamp(16px, 1.23vw, 22px); margin-top: 22px; }
.showcase-hero .hero-deck { justify-self: center; width: clamp(185px, 16.3vw, 282px); }
.showcase-hero .showcase-actions {
  position: absolute; inset: auto 0 clamp(26px, 5.2vh, 66px); margin: 0 auto; width: fit-content;
}
.showcase-actions .hero-primary {
  min-width: 156px; min-height: 43px; padding: 9px 26px; color: white; background: #192a3b52; border: 1px solid #ffffffbe;
  backdrop-filter: blur(10px); transition: background .2s ease;
}
.showcase-actions .hero-primary:hover { background: #1b2d47b5; }
@media (min-width: 961px) and (max-width: 1100px) {
  .showcase-nav .nav-shell { padding-inline: 24px; gap: 24px; }
  .showcase-nav #navigation { gap: 15px; }
}
@media (max-width: 960px) {
  :root { --showcase-header: 64px; }
  .showcase-nav .nav-shell { position: relative; padding-inline: clamp(15px, 3.8vw, 32px); gap: 12px; }
  .showcase-nav .nav-utilities { gap: 3px; }
  .showcase-nav .nav-consult { min-height: 34px; padding: 6px 12px; font-size: .85rem; }
  .showcase-nav #navigation {
    position: absolute; inset: 100% 0 auto; display: flex; align-items: stretch; padding: 10px clamp(18px, 4vw, 32px) 18px;
    gap: 2px; background: white; flex-direction: column; max-height: calc(100dvh - var(--showcase-header)); overflow-y: auto;
    border-bottom: 1px solid #d9deea; box-shadow: 0 12px 20px #15274712;
  }
  .showcase-nav.is-enhanced #navigation:not(.is-open) { display: none; }
  .showcase-nav .menu-button { display: flex; align-items: center; justify-content: center; width: 40px; min-height: 42px; flex-direction: column; gap: 5px; }
  .showcase-nav .menu-button span { display: block; width: 18px; height: 1.5px; background: currentColor; }
  .showcase-nav #navigation > a, .nav-disclosure summary { padding: 9px 6px; min-height: 42px; }
  .nav-services { position: static; width: auto; border-radius: 12px; border: 0; background: #f4f6fa; box-shadow: none; }
  .nav-services a { padding: 8px 14px; }
  .showcase-nav:not(.is-enhanced) .menu-button { display: none; }
  .showcase-nav:not(.is-enhanced) .nav-shell { height: auto; min-height: var(--showcase-header); flex-wrap: wrap; padding-block: 9px; }
  .showcase-nav:not(.is-enhanced) #navigation { position: static; order: 3; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 5px 12px; padding: 0; border: 0; box-shadow: none; overflow: visible; }
  .showcase-nav:not(.is-enhanced) .nav-disclosure[open] .nav-services { position: absolute; }
}
@media (max-width: 760px) {
  .showcase-hero { min-height: max(540px, calc(100svh - var(--showcase-header))); }
  .showcase-hero .hero-composition { width: min(560px, 91%); padding: clamp(45px, 8svh, 82px) 0 clamp(78px, 12svh, 125px); min-height: inherit; }
  .showcase-hero::before { background: linear-gradient(180deg, #17283be8 3%, #192c40bc 30%, #21334946 56%, #21334914 73%, #152a4094); }
  .showcase-hero .hero-copy h1 { font-size: clamp(36px, 8vw, 58px); font-weight: 460; }
  .showcase-hero .hero-copy p { margin-top: 12px; }
  .showcase-hero .hero-deck { width: clamp(144px, 37vw, 195px); }
  .showcase-hero .showcase-actions { bottom: 18px; }
  .showcase-actions .hero-primary { min-width: 132px; }
}
@media (max-width: 400px) {
  .showcase-hero .hero-motion-toggle { left: 12px; padding-inline: 9px; }
  .showcase-nav .nav-utilities { gap: 0; }
  .showcase-nav .nav-shell { gap: 4px; }
  .showcase-nav .nav-icon-button, .showcase-nav .menu-button { min-width: 36px; width: 36px; }
}
